Specifications
12-212
Cisco SN 5428-2 Storage Router Software Configuration Guide
78-15471-01
Chapter 12 Command Line Interface Reference
ip route
Note A route is not added to the routing table until the associated IP gateway address is configured. The CLI
displays an informational message if a route is added for an IP address that is not yet configured.
Examples The following command adds a unique route for IP address 10.1.30.0, specifying the subnet mask in
dotted quad notation:
[SN5428-2A]# ip route 10.1.30.0/255.255.255.0 10.1.10.10
The following command adds a unique route for IP address 10.1.40.0, using gateway 10.1.10.10, which
is not yet on a locally connected network. The message indicates that the route has been configured but
has not yet been made operational in the storage router.
[SN5428-2A]# ip route 10.1.40.0/24 10.1.10.10
Oct 25 19:25:17: %UI-4-NMREEO1: Gateway 10.1.10.10 used by route 10.1.40.0/24 is currently
unreachable
The following command adds a unique route for IP address 10.1.20.0 with an administrative distance of
130, in the routing table. If RIP is enabled for the storage router, the route can be overridden by a
dynamically learned route.
[SN5428-2A]# ip route 10.1.20.0/24 10.1.10.10 130
Related Commands Command Description
ip default-gateway Configure a gateway for the default route.
ip domain-name Assign a domain name to the SN 5428-2 Storage Router.
ip name-server Specify the IP addresses of a primary (and optional secondary) DNS.
show ip Display entries from the SN 5428-2 Storage Router routing table, and
statistics about the protocols used in the storage router network.
show route Display the default routes.