Holdtime : 145 sec
Version :
Cisco IOS XR Software, Version 0.48.0[Default]
Copyright (c) 2004 by cisco Systems, Inc.
advertisement version: 2
The following is sample output for the
show cdp interface
command. In this example, CDP information
related to Packet over SONET/SDH (POS) interface 0/4/0/0 is displayed.
RP/0/RP0/CPU0:router#
show cdp interface pos 0/4/0/0
POS0/4/0/0 is Up
Encapsulation HDLC
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
The following is sample output for the
show cdp traffic
command:
RP/0/RP0/CPU0:router#
show cdp traffic
CDP counters :
Packets output: 194, Input: 99
Hdr syntax: 0, Chksum error: 0, Encaps failed: 0
No memory: 0, Invalid packet: 0, Truncated: 0
CDP version 1 advertisements output: 0, Input: 0
CDP version 2 advertisements output: 194, Input: 99
Unrecognize Hdr version: 0, File open failed: 0
The following is sample output for the
show cdp traffic
command. In this example, the optional
location
keyword and
node-id
argument are used to display information about the traffic gathered between devices
using CDP from the specified node.
RP/0/RP0/CPU0:router#
show cdp traffic location 0/4/cpu0
CDP counters :
Packets output: 16, Input: 13
Hdr syntax: 0, Chksum error: 0, Encaps failed: 0
No memory: 0, Invalid packet: 0, Truncated: 0
CDP version 1 advertisements output: 0, Input: 0
CDP version 2 advertisements output: 16, Input: 13
Unrecognize Hdr version: 0, File open failed: 0
Configuration Examples for Implementing CDP
Enabling CDP: Example
The following example shows how to configure CDP globally and then enable CDP on Packet over
SONET/SDH (POS) interface 0/3/0/0:
cdp
interface POS0/3/0/0
cdp
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
63
Implementing CDP
Configuration Examples for Implementing CDP