beautypg.com

Brocade TurboIron 24X Series Configuration Guide User Manual

Page 536

background image

502

Brocade TurboIron 24X Series Configuration Guide

53-1003053-01

Displaying IP configuration information and statistics

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 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.

Example

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.

TurboIron#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.144.33.11 255.255.255.0

10.157.22.12 1 2 S

TurboIron#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

52 10.159.38.0 255.255.255.0 10.95.6.101 1 1 S

53 10.159.39.0 255.255.255.0 10.95.6.101 1 1 S

54 10.159.40.0 255.255.255.0 10.95.6.101 1 1 S

55 10.159.41.0 255.255.255.0 10.95.6.101 1 1 S

56 10.159.42.0 255.255.255.0 10.95.6.101 1 1 S

57 10.159.43.0 255.255.255.0 10.95.6.101 1 1 S

58 10.159.44.0 255.255.255.0 10.95.6.101 1 1 S

59 10.159.45.0 255.255.255.0 10.95.6.101 1 1 S

60 10.159.46.0 255.255.255.0 10.95.6.101 1 1 S

TurboIron#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