MES53xx, MES33xx, MES23xx Ethernet Switch Series
97
LLDP operation is independent from the STP state on the port; LLDP packets are sent and
received via ports blocked by STP.
If the port is controlled via 802.1X, LLDP works only with authorized ports.
Privileged EXEC mode commands
All commands are available for privileged users only.
Command line prompt in the Privileged EXEC mode is as follows:
console#
Table 5.85. Privileged EXEC mode commands
Command
Value/Default value
Action
clear lldp table
[gigabitethernet
gi_port
|
tengigabitethernet
te_port
|
fortygigabitethernet
fo_port
|oob]
gi_port: (1..8/0/1..48);
te_port: (1..8/0/1..24);
fo_port: (1..8/0/1..4)
Clear the address table of discovered neighbour
devices and start a new packet exchange cycle via LLDP
MED.
show lldp configuration
[gigabitethernet
gi_port
|
tengigabitethernet
te_port
|
fortygigabitethernet
fo_port
| oob |
detailed]
gi_port: (1..8/0/1..48);
te_port: (1..8/0/1..24);
fo_port: (1..8/0/1..4)
Show LLDP configuration of all physical interfaces of
the device or on specific interfaces only.
show lldp med configuration
[gigabitethernet
gi_port
|
tengigabitethernet
te_port
|
fortygigabitethernet
fo_port
| oob |
detailed]
gi_port: (1..8/0/1..48);
te_port: (1..8/0/1..24);
fo_port: (1..8/0/1..4)
Show LLDP MED protocol extension configuration for
all physical interfaces or specific interfaces only.
show lldp local
{gigabitethernet
gi_port
|
tengigabitethernet
te_port
|
fortygigabitethernet
fo_port
| oob}
gi_port: (1..8/0/1..48);
te_port: (1..8/0/1..24);
fo_port: (1..8/0/1..4)
Show LLDP information announced by this port.
show lldp local tlvs-overloading
[gigabitethernet
gi_port
|
tengigabitethernet
te_port
|
fortygigabitethernet
fo_port
| oob]
gi_port: (1..8/0/1..48);
te_port: (1..8/0/1..24);
fo_port: (1..8/0/1..4)
Show TLVs LLDP restart state.
show lldp neighbors
[gigabitethernet
gi_port
|
tengigabitethernet
te_port
|
fortygigabitethernet
fo_port
| oob]
gi_port: (1..8/0/1..48);
te_port: (1..8/0/1..24);
fo_port: (1..8/0/1..4)
Show information on the neighbour devices on which
LLDP is enabled.
show lldp statistics
[gigabitethernet
gi_port
|
tengigabitethernet
te_port
|
fortygigabitethernet
fo_port
| oob |
detailed]
gi_port: (1..8/0/1..48);
te_port: (1..8/0/1..24);
fo_port: (1..8/0/1..4)
Show LLDP statistics.
Examples of command usage
Set the following TLV fields for the te1/0/10 port: port-description, system-name, system-
description. Add the control address 10.10.10.70 for this interface.
console(config)#
configure
console(config)#
interface tengigabitethernet 1/0/10
console(config-if)#
lldp optional-tlvport-desc sys-name sys-desc
console(config-if)#
lldp management-address 10.10.10.70
View LLDP configuration:
console#
show lldp configuration