<｜begin▁of▁sentence｜>
### Instruction:
How can you enable CDP on an interface in Cisco IOS XR?
### Response:
To enable CDP on an interface in Cisco IOS XR, use the 'cdp' command in interface configuration mode. You can also configure CDP timers and other parameters using the 'cdp' command.
<|EOT|>
