![Cisco ASR 14000 Series Скачать руководство пользователя страница 56](http://html.mh-extra.com/html/cisco/asr-14000-series/asr-14000-series_management-command-reference_66667056.webp)
C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
CDP Commands on Cisco IOS XR Software
cdp log adjacency changes
SMR-54
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
cdp log adjacency changes
To log changes to the Cisco Discovery Protocol (CDP) adjacency table, use the
cdp log adjacency
changes
command in global configuration mode. To disable the logging, use the
no
form of this
command.
cdp log adjacency changes
no cdp log adjacency changes
Syntax Description
This command has no arguments or keywords.
Defaults
CDP adjacency table logging is disabled.
Command Modes
Global configuration
Command History
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
When CDP adjacency table logging is enabled, a syslog is generated each time a CDP neighbor is added
or removed.
Task ID
Examples
The following example shows how to enable CDP adjacency table logging:
RP/0/RP0/CPU0:router#
configure
RP/0/RP0/CPU0:router(config)#
cdp log adjacency changes
When CDP adjacency table logging is enabled, a syslog is generated each time a CDP neighbor is added
or removed. The following is an example of the log entry:
LC/0/5/CPU0:Jun 5 10:51:18.081 : cdp[109]: %L2-CDP-6-DELETED_NEIGHBOR :
CDP Neighbour TBA04110127 on interface GigabitEthernet0/5/0/0 has been deleted, remote
interface 3/2
LC/0/5/CPU0:Jun 5 10:51:33.120 : cdp[109]: %L2-CDP-6-NEW_NEIGHBOR : New CDP neighbor
TBA04110127 detected on interface GigabitEthernet0/5/0/0, remote interface 3/2
Release
Modification
Release 3.7.1
This command was introduced on the Cisco ASR 14000 Series Router.
Task ID
Operations
cdp
read, write