Command Reference LLDP Commands
During configuration of basic management TLVs, IEEE 802.1 TLVs, and IEEE 802.3 TLVs, if the all
parameter is specified, all optional TLVs of the types are advertised.
During configuration of LLDP-MED TLVs, if the all parameter is specified, all LLDP-MED TLVs except
Location Identification TLVs are advertised.
When configuring LLDP-MED Capability TLVs, configure LLDP-MED MAC/PHY TLVs first. When
canceling LLDP-MED MAC/PHY TLVs, cancel LLDP-MED Capability TLVs first.
When configuring LLDP-MED TLVs, configure LLDP-MED Capability TLVs first so that LLDP-MED
TLVs of other types can be configured.
To cancel LLDP-MED TLVs, cancel LLDP-MED TLVs of other types first so that LLDP-MED
Capability TLVs can be canceled.
The following example configures all IEEE 802.1 TLVs to be advertised.
Ruijie# configure terminal
Ruijie(config)#interface gigabitethernet 0/1
Ruijie(config-if-GigabitEthernet 0/1)#lldp tlv-enable dot1-tlv all
The following example applies LLDP network policy 1 on the 0/1 interface.
Ruijie#config
Ruijie(config)#interface gigabitethernet 0/1
Ruijie(config-if-GigabitEthernet 0/1)#lldp tlv-enable med-tlv network-policy
profile 1
The following example applies the LLDP Civic Address (ID: 1) configuration on the 0/1 interface.
Ruijie#config
Ruijie(config)#interface gigabitethernet 0/1
Ruijie(config-if-GigabitEthernet 0/1)#lldp tlv-enable med-tlv location
civic-location identifier 1
The following example applies the emergency number (ID: 1) on the 0/1 interface.
Ruijie#config
Ruijie(config)#interface gigabitethernet 0/1
Ruijie(config-if-GigabitEthernet 0/1)#lldp location elin identifier 1
show lldp tlv-config interface
Displays the attributes of advertisable TLVs
11.23 show lldp local-information
Use this command to display the LLDP information of local device. The information will be