Displaying the arp cache – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 104

Advertising
background image

90

Brocade Virtual ADX Switch and Router Guide

53-1003246-01

Displaying IP configuration information and statistics

4

Displaying the ARP cache
To display the contents of the ARP cache, enter the following command at any CLI level.

Syntax: show arp [ethernet portnum | mac-address xxxx.xxxx.xxxx [mask] | ip-addr [ip-mask]]

[num]

The ethernet portnum parameter lets you restrict the display to entries for a specific port.

The mac-address xxxx.xxxx.xxxx parameter lets you restrict the display to entries for a specific MAC
address.

The mask parameter lets you specify a mask for the mac-address xxxx.xxxx.xxxx parameter, to
display entries for multiple MAC addresses. Specify the MAC address mask as “f”s and “0”s, where
“f”s are significant bits.

The ip-addr and ip-mask parameters let you restrict the display to entries for a specific IP address
and network mask. Specify the IP address masks in standard decimal mask format (for example,
255.255.0.0).

NOTE

The ip-mask parameter and mask parameter perform different operations. The ip-mask parameter
specifies the network mask for a specific IP address, whereas the mask parameter provides a filter
for displaying multiple MAC addresses that have specific values in common.

The num parameter lets you display the table beginning with a specific entry number.

NOTE

The entry numbers in the ARP cache are not related to the entry numbers for static ARP table entries.

This display shows the following information. The number in the left column of the CLI display is the
row number of the entry in the ARP cache. This number is not related to the number you assign to
static MAC entries in the static ARP table.

TABLE 9

CLI display of ARP cache

This field...

Displays...

(route number)

ID of the entry. If multiple outgoing ports for a static route are configured, there
will be more than one entry for that route as in route #6 above.

IP Address

The IP address of the device.

MAC Address

The MAC address of the device.

Virtual ADX# show arp

Total number of ARP entries: 57 IP Address MAC Address Type

Age Port

1

10.95.6.102 0800.5afc.ea21 Dynamic 0 3

2

10.95.6.18 00a0.24d2.04ed Dynamic 3 2

3

10.95.6.54 00a0.24ab.cd2b Dynamic 0 1

4

10.95.6.101 0800.207c.a7fa Dynamic 0 1

5

10.95.6.211 00c0.2638.ac9c Dynamic 0 3

6

10.1.21.2

0004.809e.2e15 Static None 3

6

10.1.21.2

0004.809e.2e15 Static None 2

Advertising