Cisco Systems N5KC5596TFA Manual De Usuario

Descargar
Página de 122
Procedure
Purpose
Command or Action
Enters configuration mode.
switch# configure terminal
Step 1
(Optional)
Configures the version to use to send CDP advertisements.
Version-2 is the default state.
switch(config)# [nocdp
advertise 
{v1 v2 }
Step 2
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.
switch(config)# [nocdp format
device-id 
{mac-address |
serial-number system-name}
Step 3
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.
switch(config)# [nocdp
holdtime 
seconds
Step 4
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.
switch(config)# [nocdp timer
seconds
Step 5
Use the no form of the command to return to its default
setting.
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.
Cisco Nexus 5000 Series NX-OS Interfaces Configuration Guide, Release 5.2(1)N1(1)    
   78-26881-OL
15
Configuring Layer 2 Interfaces
Enabling or Disabling CDP