Clearing Cdp Counters And Tables - Cisco DS-X9530-SF1-K9 - Supervisor-1 Module - Control Processor Configuration Manual

Mds 9000 family
Table of Contents

Advertisement

Chapter 4
Initial Configuration
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)#
switch(config)# no cdp holdtime 200
switch(config)#
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)#
switch(config)# no advertise v1
switch(config)#

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
switch#
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
switch#
OL-6973-03, Cisco MDS SAN-OS Release 2.x
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.
Cisco MDS 9000 Family Configuration Guide
Configuring CDP
4-33

Advertisement

Table of Contents
loading

Table of Contents