Configuring the advertisable TLVs

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter Layer 2/Layer 3 Ethernet interface view, management Ethernet interface view, Layer 2/Layer 3 aggregate interface view, synchronous/asynchronous serial interface view, standard POS interface view, or POS channel interface view.

interface interface-type interface-number

N/A

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

  • lldp tlv-enable { basic-tlv { all | port-description | system-capability | system-description | system-name | management-address-tlv [ ipv6 ] [ ip-address ] } | dot1-tlv { all | port-vlan-id | link-aggregation | protocol-vlan-id [ vlan-id ] | vlan-name [ vlan-id ] | management-vid [ mvlan-id ] } | dot3-tlv { all | mac-physic | max-frame-size | power } | med-tlv { all | capability | inventory | network-policy [ vlan-id ] | 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 tlv-enable { basic-tlv { all | port-description | system-capability | system-description | system-name | management-address-tlv [ ipv6 ] [ ip-address ] } | dot1-tlv { all | port-vlan-id | link-aggregation } }

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

By default:

  • Nearest bridge agents can advertise all LLDP TLVs except the DCBX, location identification, port and protocol VLAN ID, VLAN name, and management VLAN ID TLVs.

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

  • Nearest customer bridge agents can advertise basic TLVs and the following IEEE 802.1 organizationally specific TLVs:

    • Port VLAN ID TLVs.

    • Link Aggregation TLVs.

4. 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 | link-aggregation | mac-physic | max-frame-size | power } | 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 and location identification 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).

5. Configure the advertisable TLVs (in management Ethernet interface view).

  • lldp tlv-enable { basic-tlv { all | port-description | system-capability | system-description | system-name | management-address-tlv [ ipv6 ] [ ip-address ] } | dot1-tlv { all | link-aggregation } | dot3-tlv { all | mac-physic | max-frame-size | power } | 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 and Location Identification 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).

6. Configure the advertisable TLVs (in Layer 2 aggregate interface view).

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

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

  • lldp tlv-enable dot1-tlv { protocol-vlan-id [ vlan-id ] | vlan-name [ vlan-id ] | management-vid [ mvlan-id ] }

By default:

  • 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 the port VLAN ID TLVs are supported).

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

7. 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.

8. Configure the advertisable TLVs (in synchronous/asynchronous serial interface view, standard POS interface view, or POS channel interface view).

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

By default, nearest bridge agents can advertise all types of LLDP TLVs.

Nearest customer bridge agents and nearest non-TPMR bridge agents are not supported.