Configuring Optional Cdp Parameters; Verifying The Cdp Configuration - Cisco MDS 9000 Series Configuration Manual

Hide thumbs Also See for MDS 9000 Series:
Table of Contents

Advertisement

Configuring Optional CDP Parameters

Configuring Optional CDP Parameters
You can use the following optional commands in global configuration mode to modify CDP:
Command
cdp advertise {v1 | v2}
Example:
switch(config)# cdp advertise v1
cdp format device-id {mac-address |
serial-number | system-name}
Example:
switch(config)# cdp format device-id
mac-address
cdp holdtime seconds
Example:
switch(config)# cdp holdtime 150
cdp timer seconds
Example:
switch(config)# cdp timer 50

Verifying the CDP Configuration

Use the following commands to verify the CDP configuration:
Command
show cdp all
show cdp entry {all | name entry-name}
show cdp global
show cdp interface interface-type slot/port
show cdp neighbors {device-id | interface
interface-type slot/port} [detail]
show cdp traffic interface interface-type slot/port
Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide
128
Purpose
Sets the CDP version supported by the device. The
default is v2.
Sets the CDP device ID. The options are as follows:
• mac-address—MAC address of the chassis.
• serial-number—Chassis serial number or
Organizationally Unique Identifier (OUI).
• system-name—System name or fully qualified
domain name (FQDN).
The default is system-name.
Sets the time that CDP holds onto neighbor
information before discarding it. The range is from
10 to 255 seconds. The default is 180 seconds.
Sets the refresh time when CDP sends advertisements
to neighbors. The range is from 5 to 254 seconds. The
default is 60 seconds.
Purpose
Displays all interfaces that have CDP enabled.
Displays the CDP database entries.
Displays the CDP global parameters.
Displays the CDP interface status.
Displays the CDP neighbor status.
Displays the CDP traffic statistics on an interface.
Configuring CDP
OL-29291-02

Advertisement

Table of Contents
loading

Table of Contents