111
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
OL-27880-02
Chapter C Commands
cdp
cdp
To enable the Cisco Discovery Protocol (CDP) and configure CDP attributes, use the
cdp
command. To
disable CDP or reset CDP attributes, use the
no
form of this command.
cdp
{
advertise
{
v1
|
v2
} |
enable
|
format device-id
{
mac-address
|
serial-number
|
system-name
} |
holdtime
seconds
|
timer
seconds
}
no cdp
{
advertise
|
enable
|
format device-id
{
mac-address
|
serial-number
|
system-name
} |
holdtime
seconds
|
timer
seconds
}
Syntax Description
Command Default
None
Command Modes
Global configuration mode
Command History
Examples
This example shows how to enable CDP on all Ethernet interfaces:
switch#
configure terminal
switch(config)#
cdp enable
This example shows how to configure the MAC address as the CDP device ID:
switch#
configure terminal
switch(config)#
cdp format device-id mac-address
This example shows how to disable CDP on all Ethernet interfaces:
switch#
configure terminal
switch(config)#
no cdp enable
advertise
{
v1
|
v2
}
Configures the version to use to send CDP advertisements. Version-2 is the
default state.
enable
Enables CDP for all Ethernet interfaces.
format device-id
Configures the format of the CDP device ID.
mac-address
Uses the MAC address as the CDP device ID.
serial-number
Uses the serial number as the CDP device ID.
system-name
Uses the system name, which can be expressed as a fully qualified domain
name, as the CDP device ID. This is the default.
holdtime
seconds
Specifies the amount of time a receiver should hold CDP information before
discarding it. The range is from 10 to 255 seconds; the default is 180
seconds.
timer
seconds
Sets the transmission frequency of CDP updates in seconds. The range is
from 5 to 254; the default is 60 seconds.
Release
Modification
5.2(1)N1(1)
This command we introduced.
Содержание Nexus 5500 Series
Страница 4: ...4 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter ...
Страница 6: ...18 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter ...
Страница 36: ...130 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter C Commands connect ...
Страница 50: ...144 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter D Commands dvs name ...
Страница 124: ...1118 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter M Commands mvr type ...
Страница 126: ...1120 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter M Commands mvr vlan ...
Страница 131: ...1125 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter N Commands no switchport ...
Страница 132: ...1126 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter N Commands no switchport ...
Страница 158: ...1152 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter R Commands revision ...
Страница 438: ...1432 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter U Commands udld Ethernet ...