Table Of Contents
CDP Debug Commands on Cisco IOS XR Software
CDP Debug Commands on Cisco IOS XR Software
This chapter describes the Cisco Discovery Protocol Adjacency (CDP) command used to debug Cisco IOS XR software.
debug cdp adjacency
To enable debugging output for neighbor entry updates that are processed by Cisco Discovery Protocol (CDP), use the debug cdp adjacency command in EXEC mode. To turn off the debugging output, use the no form of this command.
debug cdp adjacency [location node-id | interface type instance]
no debug cdp adjacency [location node-id | interface type instance]
Syntax Description
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release ModificationRelease 2.0
This command was introduced on the Cisco CRS-1.
Release 3.0
No modification.
Release 3.2
This command was supported on the Cisco XR 12000 Series Router.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
This command shows when an entry is added to or removed from the neighbor cache. When an interface is specified in the command syntax, debugging is turned on for the specified interface. Not specifying the interface turns on debugging for all interfaces.
Examples
The following example shows how to enable debugging output for neighbor entry updates that are processed by CDP:
RP/0/RP0/CPU0:router# debug cdp adjacency