User Guide
366
Configuring LLDP
LLDP Configurations
Switch(config)#lldp timer tx-delay
2
Switch(config)#lldp timer reinit-delay
3
Switch(config)#lldp timer notify-interval
5
Switch(config)#lldp timer fast-count
3
Switch(config)#show lldp
LLDP Status: Enabled
LLDP Forward Message: Disabled
Tx Interval: 30 seconds
TTL Multiplier: 4
Tx Delay: 2 seconds
Initialization Delay: 2 seconds
Trap Notification Interval: 5 seconds
Fast-packet Count: 3
LLDP-MED Fast Start Repeat Count: 4
Switch(config)#end
Switch#copy running-config startup-config
2.2.2 Port Config
Select the desired port and set its Admin Status, Notification Mode and the TLVs included
in the LLDP packets.
Step 1
configure
Enter global configuration mode.
Step 2
interface {fastEthernet
port
| range fastEthernet
port-list
| gigabitEthernet
port
| range
gigabitEthernet
port-list
| ten-gigabitEthernet
port
| range ten-gigabitEthernet
port-list
]
Enter interface configuration mode.
Step 3
lldp receive
(Optional) Set the mode for the port to receive LLDP packets. It is enabled by default.
Step 4
lldp transmit
(Optional) Set the mode for the port to send LLDP packets. It is enabled by default.
Step 5
lldp snmp-trap
(Optional) Enable the Notification Mode feature on the port. If it is enabled, the local device
will send trap messages to the NMS when neighbor information changed. It is disabled by
default.
Downloaded from