beautypg.com

Displaying interface name in syslog, Displaying arp entries, Displaying the arp cache – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual

Page 867

background image

Multi-Service IronWare Switching Configuration Guide

837

53-1003036-02

Displaying IP information

19

The port-number variable specifies the slot and port number that you want to clear the interface
counters for.

Displaying interface name in Syslog

By default an interface’s slot number (if applicable) and port number are displayed when you
display Syslog messages. You can display the name of the interface instead of its number by
entering a command such as the following.

Brocade(config)# ip show-portname

This command is applied globally to all interfaces on the Brocade device.

Syntax: [no] Ip show-portname

When you display the messages in the Syslog, you see the interface name under the Dynamic Log
Buffer section. The actual interface number is appended to the interface name. For example, if the
interface name is “lab” and its port number is “2”, you see “lab2” displayed as in the example
below.

Displaying ARP entries

You can display the ARP cache and the static ARP table. The ARP cache contains entries for devices
attached to the Brocade device. The static ARP table contains the user-configured ARP entries. An
entry in the static ARP table enters the ARP cache when the entry’s interface comes up.

The tables require separate display commands.

Displaying the ARP cache

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

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

[num] [| begin expression | exclude expression | include expression]

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

Brocade# show logging

Syslog logging: enabled (0 messages dropped, 0 flushes, 0 overruns)

Buffer logging: level ACDMEINW, 3 messages logged

level code: A=alert C=critical D=debugging M=emergency E=error

I=informational N=notification W=warning

Static Log Buffer:

Dec 15 19:04:14:A:Fan 1, fan on right connector, failed

Dynamic Log Buffer (50 entries):

Dec 15 18:46:17:I:Interface ethernet Lab2, state up

Dec 15 18:45:15:I:Warm start

Brocade# show arp

Total number of ARP entries: 5

IP Address MAC Address Type Age Port

1 10.95.6.102 0800.5afc.ea21 Dynamic 0 6

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

3 10.95.6.54 00a0.24ab.cd2b Dynamic 0 6

4 10.95.6.101 0800.207c.a7fa Dynamic 0 6

5 10.95.6.211 00c0.2638.ac9c Dynamic 0 6

6 10.30.30.15 none Pending 0 v1