Link Layer Discovery Protocol (LLDP) Commands
78-21075-01 Command Line Interface Reference Guide
Parameters
•
tlv—Specifies the TLVs to be included. Available optional TLVs are: 802.1,
port-desc, sys-name, sys-desc, sys-cap, 802.1, 802.3-mac-phy, 802.3-lag,
802.3-max-frame-size.
•
none—Clear all optional TLVs from the interface
If the 802.1 protocol is selected, see the command below.
Default Configuration
No optional TLV is transmitted.
Command Mode
Interface Configuration (Ethernet) mode
Example
The following example specifies that the port description TLV is transmitted on
gi2.
switchxxxxxx(config)#
switchxxxxxx(config-if)#
37.9
lldp optional-tlv 802.1
Use the lldp optional-tlv Interface Configuration mode command to specify which
optional TLVs to transmit. Use the no form of this command to revert to the default
setting.
Syntax
lldp optional-tlv 802.1 pvid - The PVID is advertised.
no lldp optional-tlv 802.1 pvid - The PVID is not advertised
lldp optional-tlv 802.1 ppvid
advertised. The PPVID is the PVID that is used depending on the packet's protocol.
lldp optional-tlv 802.1 ppvid
lldp optional-tlv 802.1 vlan
lldp optional-tlv 802.1 vlan
interface gi2
lldp optional-tlv port-desc
add ppvid
- The Protocol Port VLAN ID (PPVID) is
remove ppvid
- The PPVID is not advertised.
add vlan-id
- This
remove vlan-id
- This
vlan-id
is advertised.
vlan-id
is not advertised.
37
607