Brocade Communications Systems FastIron SX 800 Configuration Manual page 133

Hide thumbs Also See for FastIron SX 800:
Table of Contents

Advertisement

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.
device# show ip route direct
Start index: 1
B:BGP D:Connected
Destination
10.157.22.0
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.
device# show ip route static
Start index: 1
B:BGP D:Connected
Destination
10.144.33.11
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.
device# show ip route 10.159.0.0/16 longer
Starting index: 1 B:BGP D:Directly-Connected R:RIP S:Static O:OSPF
Destination
52 10.159.38.0
53 10.159.39.0
54 10.159.40.0
55 10.159.41.0
56 10.159.42.0
57 10.159.43.0
58 10.159.44.0
59 10.159.45.0
60 10.159.46.0
This example shows all the routes for networks beginning with 10.159. The mask value 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.
device# show ip route summary
IP Routing Table - 35 entries:
6 connected, 28 static, 0 RIP, 1 OSPF, 0 BGP, 0 ISIS, 0 MPLS
Number of prefixes:
/0: 1 /16: 27 /22: 1 /24: 5 /32: 1
Syntax: show ip route summary
In this example, the IP route table contains 35 entries. Of these entries, 6 are directly connected devices, 28 are static routes, and 1 route
was calculated through OSPF. One of the routes has a zero-bit mask (this is the default route), 27 have a 22-bit mask, 5 have a 24-bit
mask, and 1 has a 32-bit mask.
The following table lists the information displayed by the show ip route command.
TABLE 24 CLI display of IP route table
Field
Destination
NetMask
Gateway
Port
FastIron Ethernet Switch Layer 3 Routing
53-1003627-04
R:RIP
NetMask
Gateway
255.255.255.0
0.0.0.0
R:RIP
NetMask
Gateway
255.255.255.0
10.157.22.12
NetMask
Gateway
255.255.255.0
10.95.6.101
255.255.255.0
10.95.6.101
255.255.255.0
10.95.6.101
255.255.255.0
10.95.6.101
255.255.255.0
10.95.6.101
255.255.255.0
10.95.6.101
255.255.255.0
10.95.6.101
255.255.255.0
10.95.6.101
255.255.255.0
10.95.6.101
S:Static
O:OSPF *:Candidate default
Port
Cost
1/4/11
S:Static
O:OSPF *:Candidate default
Port
Cost
1/1/1
2
Port
Cost
1/1/1
1
1/1/1
1
1/1/1
1
1/1/1
1
1/1/1
1
1/1/1
1
1/1/1
1
1/1/1
1
1/1/1
1
Description
The destination network of the route.
The network mask of the destination address.
The next-hop router.
The port through which this router sends packets to reach the route's
destination.
Displaying IP configuration information and statistics
Type
1
D
Type
S
Type
S
S
S
S
S
S
S
S
S
133

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents