TABLE 23 CLI display of IP forwarding cache - Layer 3 switch (continued)
Field Description
• C - Complex Filter
• W - Wait ARP
• I - ICMP Deny
• K - Drop
• R - Fragment
• S - Snap Encap
Port The port through which this device reaches the destination. For
destinations that are located on this device, the port number is shown as
"n/a".
VLAN Indicates the VLANs the listed port is in.
Pri The QoS priority of the port or VLAN.
Displaying the IP route table
To display the IP route table, enter the show ip route command at any CLI level.
device# show ip route
Total number of IP routes: 514
Start index: 1 B:BGP D:Connected R:RIP S:Static O:OSPF *:Candidate default
Destination NetMask Gateway Port Cost Type
10.1.0.0 255.255.0.0 10.1.1.2 1/1/1 2 R
10.2.0.0 255.255.0.0 10.1.1.2 1/1/1 2 R
10.3.0.0 255.255.0.0 10.1.1.2 1/1/1 2 R
10.4.0.0 255.255.0.0 10.1.1.2 1/1/1 2 R
10.5.0.0 255.255.0.0 10.1.1.2 1/1/1 2 R
10.6.0.0 255.255.0.0 10.1.1.2 1/1/1 2 R
10.7.0.0 255.255.0.0 10.1.1.2 1/1/1 2 R
10.8.0.0 255.255.0.0 10.1.1.2 1/1/1 2 R
10.9.0.0 255.255.0.0 10.1.1.2 1/1/1 2 R
10.10.0.0 255.255.0.0 10.1.1.2 1/1/1 2 S
Syntax: show ip route [ ip-addr [ip-mask ] [longer ] [none-bgp ] ] {num | bgp | direct | ospf | rip | static }
The ip-addr parameter displays the route to the
specied IP address.
The ip-mask parameter lets you specify a network mask or, if you prefer CIDR format, the number of bits in the network mask. If you use
CIDR format, enter a forward slash immediately after the IP address, then enter the number of mask bits (for example: 10.157.22.0/24
for 10.157.22.0 255.255.255.0).
The longer parameter applies only when you specify an IP address and mask. This option displays only the routes for the specied IP
address and mask. Refer to the following example.
The none-bgp parameter displays only the routes that did not come from BGP4.
The num option display the route table entry whose row number corresponds to the number you specify. For example, if you want to
display the tenth row in the table, enter "10".
The bgp option displays the BGP4 routes.
The direct option displays only the IP routes that are directly attached to the Layer 3 switch.
The ospf option displays the OSPF routes.
The rip option displays the RIP routes.
The static option displays only the static IP routes.
The default routes are displayed rst.
Displaying IP conguration information and statistics
FastIron Ethernet Switch Layer 3 Routing
132 53-1003627-04