You can use the TCP/IP ROUTE command to
-
Configure networks reachable through known routers
-
Configure multiple routes to a destination
-
Configure multiple assigned default routes
-
Configure variable-length subnet masking (VLSM) and classless interdomain routing (CIDR) routes
IPv4 Networks
In IPv4 networks, the TCP/IP ROUTE command provides an optional MASK attribute or / <network-prefix length> attribute that allows the configuration of VLSM and CIDR addressed routes. The presence of a mask identifies the subnet, network, or supernet to which the destination belongs. If the mask is absent, the destination address is considered to be classless and therefore identified as a network or subnet.
The PREFERENCE option enables you to designate primary or alternate routes to a destination based on the <preference> value specified.
IPv6 Networks
In IPv6 networks, the TCP/IP ROUTE command uses the / <network-prefix length> attribute to enable the configuration of VLSM and CIDR addressed routes. The network-prefix length can range from 0 to 128; the MASK attribute is not supported. IPv6 is designed for fully classless routing.
The PREFERENCE option is supported and, as with IPv4, enables you to designate primary or alternate routes to a destination based on the <preference> value specified.
Route States
Part of the route information returned with each route is the current <route state>, which can be used in conjunction with other tools to assist in the diagnoses of network problems. There are four different route states as follows:
-
ACTIVE
-
IDLE
-
INACTIVE
-
OFF-LINE
See MCP Route States for a description of each route state.