How to Implement CDP on Cisco IOS XR Software
Enabling CDP
To enable CDP, you must first enable CDP globally on the router and then enable CDP on a per-interface
basis. This task explains how to enable CDP globally on the router and then enable CDP on an interface.
SUMMARY STEPS
1.
configure
2.
cdp
3.
interface type interface-path-id
4.
cdp
5.
commit
DETAILED STEPS
Purpose
Command or Action
configure
Step 1
Enables CDP globally.
cdp
Example:
RP/0/RP0/CPU0:router# cdp
Step 2
Enters interface configuration mode.
interface type interface-path-id
Example:
RP/0/RP0/CPU0:router# int TenGigE 0/5/0/11/1
Step 3
Enables CDP on an interface.
cdp
Example:
RP/0/RP0/CPU0:router(config-if)# int TenGigE 0/5/0/11/1
Step 4
commit
Step 5
Modifying CDP Default Settings
This task explains how to modify the default version, hold-time setting, and timer settings.
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
59
Implementing CDP
How to Implement CDP on Cisco IOS XR Software