R3102-R3103-HP 6600/HSR6600 Routers Layer 2 - LAN Switching Command Reference
184
device-type: Sets a device type value in the range of 0 to 2. Value 0 specifies a DHCP server. Value 1
specifies a switch. Value 2 specifies an LLDP-MED endpoint.
country-code: Sets a country code, corresponding to ISO 3166.
{ ca-type ca-value }&<1-10>: Configures address information, where ca-type represents the address
information type in the range of 0 to 255, ca-value represents address information, a string of 1 to 250
characters, and &<1-10> indicates that you can enter up to 10 parameters.
elin-address: Inserts telephone numbers for emergencies in location identification TLVs.
tel-number: Sets the telephone number for emergencies, a string of 10 to 25 characters.
network-policy: Advertises network policy TLVs.
power-over-ethernet: Advertises extended power-via-MDI TLVs.
Usage guidelines
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.
You can configure multiple types of TLVs by using the lldp tlv-enable command without the all keyword
specified.
The following matrix shows the command and router compatibility in Layer 2 Ethernet interface view:
Command 6602
HSR6602
6604/6608/6616
lldp tlv-enable No No
Yes on SAP modules
operating in bridge mode
The following matrix shows the command and router compatibility in port group view:
Command 6602
HSR6602
6604/6608/6616
lldp tlv-enable No No
Yes on routers installed
with the MPU RPE-X1 or
RSE-X1
Examples
# Enable the device to advertise link aggregation TLVs of the IEEE 802.3 organizationally specific TLVs
on GigabitEthernet 4/0/1.
<Sysname> system-view
[Sysname] interface GigabitEthernet 4/0/1
[Sysname-GigabitEthernet4/0/1] lldp tlv-enable dot3-tlv link-aggregation










