Configuration Guide Vol. 1


34.2.6 Configuring Default Routes

Points to note

Sets the default route.

Use ip route commandto set the default route. The default route is set by specifying 0.0.0.0 for the destination address and 0.0.0.0 for the subnet mask.

Command examples

  1. (config)# ip route 0.0.0.0 0.0.0.0 10.1.1.50

    Specifies 10.1.1.50, IP of the neighboring switch, as the next hop for the default route.