7.1.5. lldp tlv-select

Syntax

lldp tlv-select TLV [TLV] [TLV] [TLV] [TLV] [TLV] [TLV] [TLV]

no lldp tlv-select

Parameter


TLV Specify the selected optional TLV. Available optional TLVs are : sys-name (system name), sys-desc (system description), sys-cap (system capability), mac-phy (802.3 MAC-PHY), lag (802.3 link aggregation), max- frame-size (802.3 max frame size), and management-addr (management address).


Default

Default is no selected optional TLV.

Mode

Port Configuration

Usage

Use “lldp tlv-select” command to attach selected TLV in PDU.

Example

This example selects system name, system description, system capability, 802.3 MAC-PHY, 802.3 link aggregation, 802.3 max frame size, and management address TLVs for interface gi1 and gi3.

Switch(config)# interface range gi 1,3
Switch(config-if-range)# lldp tlv-select port-desc sys-name sys-desc
sys-cap mac-phy lag max-frame-size management-addr**
Switch(config-if-range)# end
Switch# show lldp interfaces gi1,3
State: Disabled Timer: 10 Seconds
Hold multiplier: 3 Reinit delay: 2 Seconds Tx delay: 2 Seconds
LLDP packet handling: Flooding
Port | State | Optional TLVs | Address
-------- + ------ + -------------- +
--------
gi1 | RX,TX | PD, SN, SD, SC |192.168.1.254
gi3 | RX,TX | PD, SN, SD, SC |192.168.1.254
Port ID: gi1
802.3 optional TLVs: 802.3-mac-phy, 802.3-lag, 802.3-max- frame-size, management-addr
802.1 optional TLVs
PVID: Enabled
Port ID: gi3
802.3 optional TLVs: 802.3-mac-phy, 802.3-lag, 802.3-max- frame-size, management-addr
802.1 optional TLVs
PVID: Enabled