122 Brocade ICX 6650 Layer 3 Routing Configuration Guide
53-1002603-01
Displaying IP configuration information and statistics
Displaying the IP route table
To display the IP route table, enter the show ip route command at any CLI level.
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 specified 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 specified 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”.
Type The type of host entry, which can be one or more of the following:
D – Dynamic
P – Permanent
F – Forward
U – Us
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.
TABLE 20 CLI display of IP forwarding cache – Layer 3 Switch (Continued)
Field Description
Brocade# 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
Destination NetMask Gateway Port Cost Type
10.1.0.0 255.255.0.0 192.168.1.2 1/1/1 2 R
10.2.0.0 255.255.0.0 192.168.1.2 1/1/2 2 R
10.3.0.0 255.255.0.0 192.168.1.2 1/1/3 2 R
10.4.0.0 255.255.0.0 192.168.1.2 1/1/4 2 R
10.5.0.0 255.255.0.0 192.168.1.2 1/1/5 2 R
10.6.0.0 255.255.0.0 192.168.1.2 1/1/6 2 R
10.7.0.0 255.255.0.0 192.168.1.2 1/1/7 2 R
10.8.0.0 255.255.0.0 192.168.1.2 1/1/8 2 R
10.9.0.0 255.255.0.0 192.168.1.2 1/1/9 2 R
10.10.0.0 255.255.0.0 192.168.1.2 1/1/10 2 S