clear lldp neighbors
Clears cached Link Layer Discovery Protocol (LLDP) neighbor information.
Syntax
clear lldp neighbors
[ ports {
all | ethernet stack-id/slot/port [ to stack-id/slot/port | [ ethernet stack-id/slot/port to stack-id/slot/port
| ethernet stack-id/slot/port
]...
]
}
]Parameters
Modes
Privileged EXEC mode
Usage Guidelines
The device clears cached LLDP neighbor information after a port becomes disabled and the LLDP neighbor information ages out. However, if a port is disabled and then re-enabled before the neighbor information ages out, the device clears the cached LLDP neighbor information when the port is re-enabled.