Specifications

12-211
Cisco SN 5428-2 Storage Router Software Configuration Guide
78-15471-01
Chapter 12 Command Line Interface Reference
ip route
ip route
To add a static route to the SN 5428-2 Storage Router routing table, use the ip route command. The
specified IP address is accessed via the gateway specified in the command. To remove a static route from
the routing table, use the no form of this command.
ip route {A.B.C.D/bits | A.B.C.D/1.2.3.4} E.F.G.H [administrative-distance]
no ip route {A.B.C.D/bits | A.B.C.D/1.2.3.4} [E.F.G.H]
Syntax Description
Defaults None.
Command Modes Administrator.
Command History
Usage Guidelines All IP interfaces in the storage router use the routing table to reach services and networks outside their
local network. Other facilities, such as SNMP and connections to an NTP server or DNS servers, may
also use the routing table. Use the ip route command to specify routes for servers or networks outside
the local networks associated with the storage router IP interfaces.
Use the show ip route command to display the SN 5428-2 Storage Router routing table. Use the
show route command to display all the default routes, included the routes that have been configured but
not added to the routing table.
The administrative distance is used to determine which route to install in the routing table when there
are multiple routes to the same destination. The default administrative distance for static routes is 1; the
administrative distance for dynamic routes created by RIP is 120. The route with the lower
administrative distance is installed in the routing table (as long as the interface used by the route is up).
By default, a static route will always override a dynamic route learned by RIP. To modify this behavior,
change the administrative distance of a static route to a value greater than 120.
A.B.C.D/bits The IP address of the static route. A.B.C.D is the dotted quad notation of the
IP address. The /bits specifies the subnet mask in CIDR style.
A.B.C.D/1.2.3.4 The IP address of the static route. A.B.C.D is the dotted quad notation of the
IP address. 1.2.3.4 is the dotted quad notation of the subnet mask.
E.F.G.H The gateway IP address through which the static route (A.B.C.D/bits or
A.B.C.D/1.2.3.4) is accessed.
administrative-distance (Optional) The administrative distance for the route. Valid values are 0 to
255 inclusive. The default administrative distance is 1.
Release Modification
3.2.1 This command was introduced.