Examples - Cisco ASR 9000 Series User Configuration Manual

Aggregation services router
Hide thumbs Also See for ASR 9000 Series:
Table of Contents

Advertisement

Monitoring CDP
DETAILED STEPS
Command or Action
Step 1
show cdp entry {* | entry-name} [protocol | version]
Example:
RP/0/RSP0/CPU0:router# show cdp entry *
Step 2
show cdp interface [type interface-path-id | location node-id]
Example:
RP/0/RSP0/CPU0:router# show cdp interface pos
0/0/0/1
Step 3
show cdp neighbors [type interface-path-id | location
node-id] [detail]
Example:
RP/0/RSP0/CPU0:router# show cdp neighbors
Step 4
show cdp traffic [location node-id]
Example:
RP/0/RSP0/CPU0:router# show cdp traffic

Examples

The following is sample output for the show cdp neighbors command:
RP/0/RSP0/CPU0:router# show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
Device ID
router1
router2
The following is sample output for the show cdp neighbors command. In this example, the optional type
instance arguments are used in conjunction with the detail optional keyword to display detailed information
about a CDP neighbor. The output includes information on both IPv4 and IPv6 addresses.
RP/0/RSP0/CPU0:router# show cdp neighbors POS 0/4/0/0 detail
-------------------------
Device ID: uut-user
SysName : uut-user
Entry address(es):
IPv4 address: 1.1.1.1
IPv6 address: 1::1
IPv6 address: 2::2
Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x
400
S - Switch, H - Host, I - IGMP, r - Repeater
Local Intrfce
Holdtme
Mg0/0/CPU0/0
177
PO0/4/0/0
157
Purpose
Displays information about a specific neighboring
device or all neighboring devices discovered using
CDP.
Displays information about the interfaces on which
CDP is enabled.
Displays detailed information about neighboring
devices discovered using CDP.
Displays information about the traffic gathered between
devices using CDP.
Capability
Platform
Port ID
T S
WS-C2924M Fa0/12
R
12008/GRP PO0/4/0/1
Implementing CDP

Advertisement

Table of Contents
loading

Table of Contents