2-13
Cisco SFS 7000 Series Product Family Command Reference Guide
OL-9163-02
Chapter2 Administrative Commands
cdp advertise-v2
cdp advertise-v2
To enable Cisco Discovery Protocol Version 2 (CDPv2) advertising functionality on a device, use the
cdp advertise-v2 command in global configuration mode. To disable advertising CDPv2 functionality,
use the no form of the command.
cdp advertise-v2
no cdp advertise-v2
Syntax Description This command has no arguments or keywords
Defaults Enabled. CDP is running on chassis boot.
Command Modes Global Configuration (config) mode.
Usage Guidelines Platform Availability:
Cisco SFS 3001, Cisco SFS 7000, Cisco SFS 7008, Cisco SFS 3012, Cisco 4x InfiniBand Switch Module
for IBM BladeCenter
Privilege Level:
Unrestricted and general read-write user.
Each device configured for CDP sends periodic messages, known as advertisements, to a multicast
address. Each device advertises at least one address at which it can receive SNMP messages. The
advertisements also contain time-to-live, or holdtime, information, which indicates the length of time a
receiving device should hold CDP information before discarding it. Each device al so l ist ens to the
periodic CDP messages sent by others in order to learn about neighboring devices and determine when
their interfaces to the media go up or down.
CDP Version 2 is the most recent release of the protocol. With CDP Version-2, detailed information is
provided on the VLAN Trunking Protocol (VTP) management domain and dup l ex modes of n eigh bor
devices, CDP-related counters, and VLAN IDs of connecting ports. This can help the Ether ne t gateway
configuration. CDP is run on server switches over management-Ethernet interfaces. CDP Version 2 has
three additional type-length values (TLVs): VTP Management Domain Name, Native VLAN, and
full/half-Duplex.
Note CDP runs by default when a chassis boots up, but CDP is only learning in this mode . If any ne ighb ors
are advertising, CDP will identify them.
Examples The following example sets the CDP advertisement for CDP Version 2:
SFS-7000P(config)# cdp advertise-v2