Configuring the advertisable TLVs

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter Layer 3 Ethernet interface view or Layer 3 aggregate interface view.

interface interface-type interface-number

N/A

3. Configure the advertisable TLVs (in Layer 3 Ethernet interface view).

  • lldp tlv-enable { basic-tlv { all | port-description | system-capability | system-description | system-name | management-address-tlv [ ipv6 ] [ ip-address | interface loopback interface-number ] } | dot1-tlv { all | link-aggregation } | dot3-tlv { all | mac-physic | max-frame-size | power | link-aggregation } | med-tlv { all | capability | inventory | power-over-ethernet | location-id { civic-address device-type country-code { ca-type ca-value }&<1-10> | elin-address tel-number } } }

  • lldp agent { nearest-nontpmr | nearest-customer } tlv-enable { basic-tlv { all | port-description | system-capability | system-description | system-name | management-address-tlv [ ipv6 ] [ ip-address ] } | dot1-tlv { all | link-aggregation } }

By default:

  • Nearest bridge agents can advertise all types of LLDP TLVs (only link aggregation TLV is supported in 802.1 organizationally specific TLVs) except network policy TLVs.

  • Nearest non-TPMR bridge agents do not advertise TLVs.

  • Nearest customer bridge agents can advertise basic TLVs and IEEE 802.1 organizationally specific TLVs (only link aggregation TLV is supported).

4. Configure the advertisable TLVs (in Layer 3 aggregate interface view).

lldp agent { nearest-nontpmr | nearest-customer } tlv-enable basic-tlv { all | management-address-tlv [ ipv6 ] [ ip-address ] | port-description | system-capability | system-description | system-name }

By default:

  • Nearest non-TPMR bridge agents do not advertise TLVs.

  • Nearest customer bridge agents can advertise only basic TLVs.

Nearest bridge agents are not supported on Layer 3 aggregate interfaces.