Verifying The Cdp Configuration; Configuration Example For Cdp - Cisco Nexus 7000 Series Configuration Manual

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring CDP

Verifying the CDP Configuration

To display the CDP configuration, perform one of the following tasks:
Command
show cdp all
show cdp entry {all | name entry-name}
show cdp global
show cdp interface interface slot/port
show cdp neighbors {device-id | interface interface
slot/port} [detail]
show cdp interface interface slot/port
Use the clear cdp counters command to clear CDP statistics on an interface.
Use the clear cdp table command to clear the CDP cache for one or all interfaces.

Configuration Example for CDP

This example shows how to enable the CDP feature and configure the refresh and hold timers:
config t
cdp enable
cdp timer 50
cdp holdtime 100
This example shows how to display the CDP global parameters:
switch# show cdp neighbors
Capability Codes: R - Router, T - Trans-Bridge, B - Source-Route-Bridge
Device-ID
Mgmt-switch
switch88(FOX1518GRE6)
switch89(FOX1518GQJ2)
S - Switch, H - Host, I - IGMP, r - Repeater,
V - VoIP-Phone, D - Remotely-Managed-Device,
s - Supports-STP-Dispute
Local Intrfce
Hldtme Capability
mgmt0
148
Eth1/25
164
Eth1/26
163
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
Verifying the CDP Configuration
Purpose
Displays all interfaces that have CDP enabled.
Displays the CDP database entries.
Displays the CDP global parameters.
Displays the CDP interface status.
Displays the CDP neighbor status.
Displays the CDP traffic statistics on an interface.
Platform
R S I
WS-C4948-10GE Gig1/37
R S I s
N5K-C5596UP
R S I s
N5K-C5596UP
Port ID
Eth1/25
Eth1/25
89

Advertisement

Table of Contents
loading

Table of Contents