Brocade ICX 6650 Layer 3 Routing Configuration Guide 123
53-1002603-01
Displaying IP configuration information and statistics
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 first.
Here is an example of how to use the direct option. To display only the IP routes that go to devices
directly attached to the Layer 3 Switch, enter the following command.
Notice that the route displayed in this example has “D” in the Type field, indicating the route is to a
directly connected device.
Here is an example of how to use the static option. To display only the static IP routes, enter the
following command.
Notice that the route displayed in this example has “S” in the Type field, indicating the route is
static.
Here is an example of how to use the longer option. To display only the routes for a specified IP
address and mask, enter a command such as the following.
This example shows al l the routes for netwo rks beginning wi th 10.159. The mask valu e and longer
parameter specify the range of network addresses to be displayed. In this example, all routes
within the range 10.159.0.0 – 10.159.255.255 are listed.
The summary option displays a summary of the information in the IP route table. The following is
an example of the output from this command.
Brocade# show ip route direct
Start index: 1 B:BGP D:Connected R:RIP S:Static O:OSPF *:Candidate default
Destination NetMask Gateway Port Cost Type
10.157.22.0 255.255.255.0 0.0.0.0 1/1/4 1 D
Brocade# show ip route static
Start index: 1 B:BGP D:Connected R:RIP S:Static O:OSPF *:Candidate default
Destination NetMask Gateway Port Cost Type
192.168.33.11 255.255.255.0 10.157.22.12 1/1/3 2 S
Brocade# show ip route 10.159.0.0/16 longer
Starting index: 1 B:BGP D:Directly-Connected R:RIP S:Static O:OSPF
Destination NetMask Gateway Port Cost Type
10.159.38.0 255.255.255.0 10.95.6.101 1/1/1 1 S
10.159.39.0 255.255.255.0 10.95.6.101 1/1/1 1 S
10.159.40.0 255.255.255.0 10.95.6.101 1/1/1 1 S
10.159.41.0 255.255.255.0 10.95.6.101 1/1/1 1 S
10.159.42.0 255.255.255.0 10.95.6.101 1/1/1 1 S
10.159.43.0 255.255.255.0 10.95.6.101 1/1/1 1 S
10.159.44.0 255.255.255.0 10.95.6.101 1/1/1 1 S
10.159.45.0 255.255.255.0 10.95.6.101 1/1/1 1 S
10.159.46.0 255.255.255.0 10.95.6.101 1/1/1 1 S