Clearing Cdp Counters And Tables; Displaying Cdp Information - Cisco AP776A - Nexus Converged Network Switch 5020 Configuration Manual

Cisco mds 9000 family cli configuration guide - release 4.x (ol-18084-01, february 2009)
Hide thumbs Also See for AP776A - Nexus Converged Network Switch 5020:
Table of Contents

Advertisement

Configuring CDP
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
To globally configure the refresh time interval for the CDP protocol, follow these steps:
Command
Step 1
switch# config terminal
switch(config)#
Step 2
switch(config)# cdp timer 100
switch(config)#
switch(config)# no cdp timer 100
switch(config)#
To globally configure the hold time advertised in CDP packets, follow these steps:
Command
Step 1
switch# config terminal
switch(config)#
Step 2
switch(config)# cdp holdtime 200
switch(config)# no cdp holdtime 200
To globally configure the CDP version, follow these steps:
Command
Step 1
switch# config terminal
switch(config)#
Step 2
switch(config)# cdp advertise v1
switch(config)# no advertise v1

Clearing CDP Counters and Tables

Use the clear cdp counters command to clear CDP traffic counters for all interfaces. You can issue this
command for a specified interface or for all interfaces (management and Gigabit Ethernet interfaces).
switch# clear cdp counters
Use the clear cdp table command to clear neighboring CDP entries for all interfaces. You can issue this
command for a specified interface or for all interfaces (management and Gigabit Ethernet interfaces).
switch# clear cdp table interface gigabitethernet 4/1

Displaying CDP Information

Use the show cdp command to display CDP entries. See Examples
Cisco MDS 9000 Family CLI Configuration Guide
5-38
Chapter 5
Command
Enters configuration mode.
Sets the refresh time interval in seconds. The default
is 60 seconds and the valid range is from 5 to 255
seconds.
Reverts the refresh time interval to the factory
default of 60 seconds.
Command
Enters configuration mode.
Sets the hold time advertised in CDP packets in
seconds. The default is 180 seconds and the valid
range is from 10 to 255 seconds.
Reverts the hold time to the factory default of 180
seconds.
Command
Enters configuration mode.
Sets the CDP version to be used. The default is
version 2 (v2). The valid options are v1 and v2.
Reverts the version to the factory default of v2.
5-1
to 5-11.
OL-18084-01, Cisco MDS NX-OS Release 4.x
Initial Configuration

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents