IP Routing and ARP Commands
208967-B 1-5
show ip route info Command
The
show ip route info command displays the existing IP route table for the
switch or for a specific net or subnet.
This command uses the syntax:
show ip route info [<ip address>][-s <value>]
where:
[<ip address>] is the specific net (1.2. = 1.2.0.0) {a.b.c.d}.
[-s <value>] is the specific subnet {a.b.c.d/x | a.b.c.d/x.x.x.x | default}.
Figure 1-5
is an example.
Passport-8610# show ip route info
================================================================================
Ip Route
================================================================================
DST MASK NEXT COST VLAN PORT OWNER
--------------------------------------------------------------------------------
31.0.0.0 255.0.0.0 31.1.1.1 1 2194 -/- LOCAL
50.0.0.0 255.0.0.0 130.1.1.2 220 2221 3/30 OSPF
120.0.0.0 255.0.0.0 130.1.1.2 210 2221 3/30 OSPF
130.1.0.0 255.255.0.0 130.1.1.1 1 2221 -/- LOCAL
200.1.1.0 255.255.255.0 130.1.1.2 210 2221 3/30 OSPF
Total 5
Figure 1-5.
show ip route info
Command Output
show ip static-route info Command
The
show ip static-route info command displays the existing IP static routes
for the switch or for a specific net or subnet.
This command uses the syntax:
show ip static-route info [<ip address>][-s <value>]
where:
[<ip address>]
is the specific net (1.2. = 1.2.0.0) {a.b.c.d}.
[-s <value>] is the specific subnet {a.b.c.d/x | a.b.c.d/x.x.x.x | default}.
cli.book Page5 Wednesday,April19, 2000 3:14PM