Configuring LLDP
LLDP Configurations
User Guide
367
Step 6
lldp tlv-select
(Optional) Configure the TLVs included in the outgoing LLDP packets. By default, the
outgoing LLDP packets include all TLVs.
Step 7
show lldp interface { fastEthernet
port
| gigabitEtherne
t
port
| ten-gigabitEthernet
port
}
Display LLDP configuration of the corresponding port.
Step 8
end
Return to Privileged EXEC Mode.
Step 9
copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to configure the port 1/0/1. The port can receive and
transmit LLDP packets, its notification mode is enabled and the outgoing LLDP packets
include all TLVs.
Switch#configure
Switch(config)#lldp
Switch(config)#interface gigabitEthernet
1/0/1
Switch(config-if)#lldp receive
Switch(config-if)#lldp transmit
Switch(config-if)#lldp snmp-trap
Switch(config-if)#lldp tlv-select
all
Switch(config-if)#show lldp interface gigabitEthernet
1/0/1
LLDP interface config:
gigabitEthernet 1/0/1:
Admin Status: TxRx
SNMP Trap: Enabled
TLV Status
--- ------
Port-Description Yes
System-Capability Yes
System-Description Yes
System-Name Yes
Management-Address Yes
Downloaded from