Setting The Cdp Enable And Disable States On A Port - Cisco WS-X6066-SLB-APC - Content Switching Module Software Manual

Catalyst 6000 series software configuration guide
Hide thumbs Also See for WS-X6066-SLB-APC - Content Switching Module:
Table of Contents

Advertisement

Chapter 29
Configuring CDP

Setting the CDP Enable and Disable States on a Port

You can enable or disable CDP on a per-port basis. You must enable CDP globally before the switch
will transmit CDP messages on any ports.
To set the CDP enable state on a per-port basis, perform this task in privileged mode:
Task
Step 1
Set the CDP enable state on individual ports.
Step 2
Verify the CDP configuration.
This example shows how to enable CDP on ports 3/1-2 and verify the configuration:
Console> (enable) set cdp enable 3/1-2
CDP enabled on ports 3/1-2.
Console> (enable) show cdp port 3
CDP
Message Interval
Hold Time
Port
--------
3/1
3/2
3/3
3/4
3/5
3/6
3/7
3/8
3/9
3/10
3/11
3/12
Console> (enable)
This example shows how to disable CDP on ports 3/1-6 and verify the configuration:
Console> (enable) set cdp disable 3/1-6
CDP disabled on ports 3/1-6.
Console> (enable) show cdp port 3
CDP
Message Interval
Hold Time
Port
--------
3/1
3/2
3/3
3/4
3/5
3/6
3/7
3/8
3/9
3/10
3/11
3/12
Console> (enable)
78-13315-02
: enabled
: 60
: 180
CDP Status
----------
enabled
enabled
disabled
disabled
disabled
disabled
enabled
enabled
enabled
enabled
enabled
enabled
: enabled
: 60
: 180
CDP Status
----------
disabled
disabled
disabled
disabled
disabled
disabled
enabled
enabled
enabled
enabled
enabled
enabled
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
Command
set cdp {enable | disable} [mod/port]
show cdp port [mod[/port]]
Configuring CDP
29-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents