/sys$common/syshlp/TCPIP$UCP_HELP.HLB  —  route  EXAMPLES
    1. To add gateway 128.32.0.130 as a default gateway, enter the
       following command:

       TCPIP>  route add default 128.32.0.130

    2. To add a route to host milan via gateway 128.32.0.130, enter
       the following command:

       TCPIP> route add -host milan 128.32.0.130

    3. To delete an existing route via gateway 128.32.0.130 to host
       milan, enter the following command:

       TCPIP> route delete -host milan 128.32.0.130

    4. To add a route with a precedence value of 1 to host milan via
       gateway 128.32.0.130, enter the following command:

       TCPIP> route add -precedence 1 -host  milan 128.32.0.130

    5. To change an existing route for host milan via gateway
       128.32.0.130 to use a new gateway 128.32.10.101, enter the
       following command:

       TCPIP>  route change -oldgateway 128.32.0.130 -oldinterface le0 \
        -host milan 128.32.10.101

    6. To add a route to network 212.232.32 via gateway 128.32.0.130,
       enter the following command:

       TCPIP> route add -net 212.232.32/22 128.32.0.130

    7. To add an IPv6 route to network feco:10:50::/48 through the
       configured tunnel interface ipt0, enter the following command:

       TCPIP> route add -inet6 fec0:10:50::48 -inet6 fe80::a0a:2805 -dev ipt0

    8. To add a route to network 212.232.32/22 via gateway
       128.32.0.130 and lock the MTU size at 1500, enter the
       following command:

       TCPIP> route add -net 197.45.63/24 214.89.32.235 -lock -mtu 1500

    9. To add a route to network 212.232.32/22 via gateway
       128.32.0.130 and lock the MTU size and hop count, enter the
       following command:

       TCPIP> route add -net 197.45.63/24 214.89.32.235 -lockrest -mtu 1500 \
       -hopcount 2

   10. To change existing network route 206.98.17 via gateway
       206.98.17.45 from using interface device tu0 to tu1, enter
       the following command:

       TCPIP> route change -net 206.98.17 206.98.17.45 -olddev tu0 -dev tu1

       This assumes that interface device tu1 is configured with an
       IP address in the same subnet as tu0.

   11. To change existing network route 206.98.17 from using gateway
       206.98.17.45 to 206.98.17.162, enter the following command:

       TCPIP> route change -net 206.98.17 206.98.17.162 -oldgateway 206.98.17.45

   12. To change existing network route 206.98.17 using interface
       device tu0 and gateway 206.98.17.45 to use device tu1 and
       gateway 206.98.17.162, enter the following command:

       TCPIP> route change -net 206.98.17 206.98.17.162 -olddev tu0 -dev tu1 \
       -oldgateway 206.98.17.45

   13. To add a route to host 219.67.129.16 via gateway 219.67.122.41
       using interface device tu1, enter the following command:

       TCPIP> route add -host 219.67.129.16  219.67.122.41 -dev tu1

   14. To delete a route to network 219.84.6 via gateway 219.84.6.79
       using interface device fta0, enter the following command:

       TCPIP> route delete -net 219.84.6  219.84.6.79 -olddev fta0

   15. To add a route to host 202.54.164.79 via gateway 202.54.163.11
       using all interfaces connected to the 202.54.163/24 subnet,
       enter the following command:

       TCPIP> route add -host 202.54.164.79 202.54.163.11 -all
Close Help