beautypg.com

Resetting lldp statistics, Clearing cached lldp neighbor information – Brocade FastIron Ethernet Switch Administration Guide User Manual

Page 205

background image

CA Value : "John Doe"

+ MED Location ID

Data Format: ECS ELIN

Value : "1234567890"

+ MED Extended Power via MDI

Power Type : PSE device

Power Source : Unknown Power Source

Power Priority : Low (3)

Power Value : 6.5 watts (PSE equivalent: 7005 mWatts) + Port VLAN ID: 99

+ Management address (IPv4): 10.1.1.121

+ VLAN name (VLAN 99): "Voice-VLAN-99"

NOTE
The contents of the show output will vary depending on which TLVs are configured to be advertised.

A backslash (\) at the end of a line indicates that the text continues on the next line.

The fields in the above output are described in the individual TLV advertisement sections in this
chapter.

Syntax: show lldp local-info [ ports ethernet port-list | all ]

If you do not specify any ports or use the keyword all , by default, the report will show the local
information advertisements for all ports.

Resetting LLDP statistics

To reset LLDP statistics, enter the clear lldp statistics command at the Global CONFIG level of the
CLI. The Brocade device will clear the global and per-port LLDP neighbor statistics on the device (refer
to

Displaying LLDP statistics

on page 200).

device#clear lldp statistics

Syntax: clear lldp statistics [ ports ethernet port-list | all ]

If you do not specify any ports or use the keyword all , by default, the system will clear lldp statistics on
all ports.

Clearing cached LLDP neighbor information

The Brocade device clears cached LLDP neighbor information after a port becomes disabled and the
LLDP neighbor information ages out. However, if a port is disabled then re-enabled before the neighbor
information ages out, the device will clear the cached LLDP neighbor information when the port is re-
enabled.

If desired, you can manually clear the cache. For example, to clear the cached LLDP neighbor
information for port e 20, enter the following command at the Global CONFIG level of the CLI.

device#clear lldp neighbors ports e 20

Syntax: clear lldp neighbors [ ports ethernet port-list | all ]

If you do not specify any ports or use the keyword all , by default, the system will clear the cached
LLDP neighbor information for all ports.

Resetting LLDP statistics

FastIron Ethernet Switch Administration Guide

205

53-1003075-02