Using the connected option, Using the static option, Using the longer option – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual
Page 873: Using the summary option
![background image](/manuals/361635/873/background.png)
Multi-Service IronWare Switching Configuration Guide
843
53-1003036-02
Displaying IP information
19
•
exclude lets you exclude matching lines from the display.
•
include lets you include matching lines in the display.
The default routes are displayed first.
Using the connected option
Here is an example of how to use the connected option. To display only the IP routes that go to
devices directly attached to the Brocade device.
Notice that the route displayed in this example has “D” in the Type field, indicating the route is for a
directly connected device.
Using the static option
Here is an example of how to use the static option. To display only the static IP routes.
Notice that the route displayed in this example has “S” in the Type field, indicating the route is
static.
Using the longer option
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 all the routes for networks beginning with 209.159. The mask value and
longer parameter specify the range of network addresses to be displayed. In this example, all
routes within the range 209.159.0.0 – 209.159.255.255 are listed.
Using the summary option
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(config)# show ip route connected
Type Codes - B:BGP D:Connected I:ISIS S:Static R:RIP O:OSPF; Cost - Dist/Metric
Destination Gateway Port Cost Type Uptime
1 10.157.22.0/24 0.0.0.0 4/11 1 D 1h0m
Brocade(config)# show ip route static
Type Codes - B:BGP D:Connected I:ISIS S:Static R:RIP O:OSPF; Cost - Dist/Metric
Destination Gateway Port Cost Type Uptime
1 10.144.33.11/32 10.157.22.12 1/1 2 S 1h0m
Brocade(config)# show ip route 10.159.0.0/16 longer
Type Codes - B:BGP D:Connected I:ISIS S:Static R:RIP O:OSPF; Cost - Dist/Metric
Destination Gateway Port Cost Type Uptime
52 10.159.38.0/24 10.95.6.101 1/1 1 S 45m18s
53 10.159.39.0/24 10.95.6.101 1/1 1 S 1h0m
54 10.159.40.0/24 10.95.6.101 1/1 1 S 45m18s
55 10.159.41.0/24 10.95.6.101 1/1 1 S 1h0m
56 10.159.42.0/24 10.95.6.101 1/1 1 S 13m18s