H3C S5120-EI Series Command Reference Manual page 239

Lan switching
Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

Description
Use the lldp tlv-enable command to configure the types of advertisable TLVs for a port or all the ports in
a port group.
Use the undo lldp tlv-enable command to disable the advertising of specific types of TLVs.
By default, all types of LLDP TLVs, except location identification TLVs, are advertisable on a Layer 2
Ethernet port.
To enable the device to advertise LLDP-MED TLVs, you must first enable it to advertise LLDP-MED
capabilities TLVs.
To disable the device from advertising LLDP-MED capabilities TLVs, you must first disable it from
advertising other LLDP-MED TLVs.
To disable the device from advertising MAC/PHY configuration/status TLVs, you must first disable it from
advertising LLDP-MED capabilities TLVs.
If you enable the device to advertise LLDP-MED capabilities TLVs, you also enable it to advertise
MAC/PHY configuration/status TLVs.
To enable the device to advertise multiple types of TLVs, you can execute the lldp tlv-enable command
repeatedly without the all keyword specified.
Examples
# Enable the advertising of link aggregation TLVs of the IEEE 802.3 organizationally specific TLVs on
GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1]
lldp
tlv-enable
227
dot3-tlv
link-aggregation

Advertisement

Table of Contents
loading

Table of Contents