Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 107

Advertising
background image

Brocade Virtual ADX Switch and Router Guide

93

53-1003246-01

Displaying IP configuration information and statistics

4

Here is an example of how to use the static option. To display only the static IP routes, enter the
following commands.

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 commands 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 10.159.0.0 – 10.159.255.255 are listed.

The following table lists the information displayed by the show ip route command.

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 VLAN(s) the listed port is in.

TABLE 11

CLI display of IP forwarding cache (Continued)

This field...

Displays...

Virtual ADX(config)# show ip route static

Start index: 1 B:BGP D:Connected S:Static O:OSPF *:Candidate default

Destination NetMask Gateway Port Cost Type

1 10.144.33.11 255.255.255.0

10.157.22.12 1/1 2 S

Virtual ADX(config)# show ip route 10.159.0.0/16 longer

Starting index: 1 B:BGP D:Directly-Connected 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 1 S

53 10.159.39.0 255.255.255.0 10.95.6.101 1/1 1 S

54 10.159.40.0 255.255.255.0 10.95.6.101 1/1 1 S

55 10.159.41.0 255.255.255.0 10.95.6.101 1/1 1 S

56 10.159.42.0 255.255.255.0 10.95.6.101 1/1 1 S

57 10.159.43.0 255.255.255.0 10.95.6.101 1/1 1 S

58 10.159.44.0 255.255.255.0 10.95.6.101 1/1 1 S

59 10.159.45.0 255.255.255.0 10.95.6.101 1/1 1 S

60 10.159.46.0 255.255.255.0 10.95.6.101 1/1 1 S

Advertising