Enabling Or Disabling Cdp - Cisco nexus 5000 series Configuration Manual

Nx-os layer 2
Hide thumbs Also See for nexus 5000 series:
Table of Contents

Advertisement

Configuring Ethernet Interfaces
SUMMARY STEPS
1. switch# configure terminal
2. (Optional) switch(config)# [no] cdp advertise {v1 | v2 }
3. (Optional) switch(config)# [no] cdp format device-id {mac-address | serial-number | system-name}
4. (Optional) switch(config)# [no] cdp holdtime seconds
5. (Optional) switch(config)# [no] cdp timer seconds
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# [no] cdp advertise {v1 |
v2 }
Step 3
switch(config)# [no] cdp format
device-id {mac-address | serial-number
| system-name}
Step 4
switch(config)# [no] cdp holdtime
seconds
Step 5
switch(config)# [no] cdp timer seconds
This example shows how to configure CDP characteristics:
switch# configure terminal
switch(config)# cdp timer 50
switch(config)# cdp holdtime 120
switch(config)# cdp advertise v2

Enabling or Disabling CDP

You can enable or disable CDP for Ethernet interfaces. This protocol works only when you have it enabled
on both interfaces on the same link.
OL-25842-01
Purpose
Enters global configuration mode.
(Optional)
Configures the version to use to send CDP advertisements. Version-2 is the
default state.
Use the no form of the command to return to its default setting.
(Optional)
Configures the format of the CDP device ID. The default is the system
name, which can be expressed as a fully qualified domain name.
Use the no form of the command to return to its default setting.
(Optional)
Specifies the amount of time a receiving device should hold the information
sent by your device before discarding it. The range is 10 to 255 seconds;
the default is 180 seconds.
Use the no form of the command to return to its default setting.
(Optional)
Sets the transmission frequency of CDP updates in seconds. The range is
5 to 254; the default is 60 seconds.
Use the no form of the command to return to its default setting.
Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.1(3)N1(1)
Enabling or Disabling CDP
19

Advertisement

Table of Contents
loading

Table of Contents