Cisco Systems N3KC3064TFAL3 Manual De Usuario

Descargar
Página de 164
Purpose
Command or Action
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.
To enable or disable CDP for an interface, perform this task:
Procedure
Purpose
Command or Action
Enters configuration mode.
switch# configure terminal
Step 1
Enters interface configuration mode for the specified
interface.
switch(config)# interface type slot/port
Step 2
Enables CDP for the interface.
switch(config-if)# cdp enable
Step 3
To work correctly, this parameter must be enabled
for both interfaces on the same link.
Disables CDP for the interface.
switch(config-if)# no cdp enable
Step 4
The following example shows how to enable CDP for an Ethernet port:
switch#
configure terminal
switch(config)#
interface ethernet 1/4
switch(config-if)#
cdp enable
This command can only be applied to a physical Ethernet interface.
Cisco Nexus 3000 NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U3(1)    
   OL-26590-01
17
Configuring Ethernet Interfaces
Enabling or Disabling CDP