lldp neighbor-protection aging
Use lldp neighbor-protection aging to enable LLDP neighbor aging and configure the protection action on an interface.
Use undo lldp neighbor-protection aging to restore the default.
Syntax
lldp neighbor-protection aging { block | shutdown }
undo lldp neighbor-protection aging
Default
LLDP neighbor aging is disabled on an interface
Views
Layer 2 Ethernet interface view
Layer 3 Ethernet interface view
Predefined user roles
network-admin
Parameters
block: Blocks the interface. The block action places the data link layer protocol of the interface in DOWN state. In this state, the interface cannot transfer data packets. The data transfer capability is automatically recovered when the interface receives an LLDP packet.
shutdown: Shuts down the interface. The shutdown action places the interface in LLDP DOWN state. In this state, the interface can neither transfer data packets nor LLDP packets. You must manually execute the undo lldp neighbor-protection aging or undo shutdown command to bring up the interface.
Examples
# Enable LLDP neighbor aging on Ten-GigabitEthernet1/0/1 and set the protection action to block.
<Sysname> system-view [Sysname] interface ten-gigabitethernet 1/0/1 [Sysname-Ten-GigabitEthernet1/0/1] lldp neighbor-protection aging block
Related commands
lldp hold-multiplier
lldp timer tx-interval