294
civic-address: Inserts the typical address information about the network device in location
identification TLVs .
device-type: Sets a device type value in the range of 0 to 2:
• Value 0 specifies a DHCP server.
• Value 1 specifies a network device.
• Value 2 specifies an LLDP-MED endpoint.
country-code: Sets a country code defined in ISO 3166.
{ ca-type ca-value }&<1-10>: Configures address information. 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.
&<1-10> indicates that you can specify up to 10 ca-type ca-value
pairs.
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 [ vlan-id ]: Advertises network policy TLVs. The vlan-id argument
specifies the voice VLAN ID to be advertised, in the range of 1 to 4094.
power-over-ethernet: Advertises extended power-via-MDI TLVs.
Usage guidelines
Nearest bridge agents are not supported on aggregate interfaces.
You can enable the device to advertise multiple types of TLVs by using this command without the
all keyword specified.
If the MAC/PHY configuration/status TLV is not advertisable, none of the LLDP-MED TLVs will be
advertised whether or not they are advertisable. If the LLDP-MED capabilities TLV is not advertisable,
the other LLDP-MED TLVs will not be advertised regardless of whether or not they are advertisable.
The port and protocol VLAN ID, VLAN name, and management VLAN ID TLVs in IEEE 802.1
organizationally specific LLDP TLVs can be configured only for nearest bridge agents. The
configuration can be inherited by nearest customer bridge agents and nearest non-TPMR bridge
agents.
Examples
# Enable the nearest customer bridge agents on GigabitEthernet 1/0/1 to advertise link aggregation
TLVs of the IEEE 802.1 organizationally specific TLVs.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] lldp agent nearest-customer tlv-enable dot1-tlv
link-aggregation