Cisco Systems MDS 9000 show cdp, entry, name cdp-name, global, interface, gigabitethernet, mgmt

Models: MDS 9000

1 194
Download 194 pages 60.55 Kb
Page 12
Image 12
show cdp

Chapter 20 Show Commands

show cdp

show cdp

To display CDP parameters configured globally or for a specific interface, use the show cdp command.

show cdp {all entry [all name cdp-name] global interface [gigbitethernet slot/port mgmt 0] neighbors [detail interface (gigbitethernet slot/port mgmt 0 )] traffic interface [gigbitethernet slot/port mgmt 0]}

Syntax Description

 

all

Displays all enabled CDP interfaces.

 

 

 

 

 

entry

Displays CDP database entries.

 

 

 

 

 

 

 

 

 

 

 

 

all

Displays all CDP entries in the database

 

 

 

 

 

 

 

 

 

 

 

 

name cdp-name

Displays CDP entries that match a specified name. Maximum length is 256

 

 

 

 

 

 

characters.

 

 

 

 

 

 

 

 

 

 

 

 

global

Displays global CDP parameters.

 

 

 

 

 

 

 

 

 

 

 

 

interface

Displays CDP parameters for an interface.

 

 

 

 

 

 

 

 

 

 

 

 

gigabitethernet

Specifies the Gigabit Ethernet interface at the slot number and port number

 

 

 

 

 

slot/port

separated by a slash (/).

 

 

 

 

 

 

 

 

 

 

 

 

mgmt 0

Specifies the Ethernet management interface.

 

 

 

 

 

 

 

 

 

 

 

 

neighbors

Displays all CDP neighbors.

 

 

 

 

 

 

 

 

 

 

 

 

detail

Displays detailed information for all CDP neighbors

 

 

 

 

 

 

 

 

 

 

 

 

interface

Displays CDP information for neighbors on a specified interface.

 

 

 

 

 

 

 

 

 

 

 

 

traffic

Displays CDP traffic statistics for an interface.

 

 

 

 

 

 

 

 

 

 

 

 

 

Defaults

 

None

 

 

 

 

 

 

 

Command Modes

 

EXEC

 

 

 

 

 

Command History

 

This command was introduced in Cisco MDS SAN-OS Release 1.1(1).

 

 

 

Usage Guidelines

 

This command is allowed only on the active supervisor module in the Cisco MDS 9500 Series.

 

 

 

Examples

 

The following example displays all CDP capable interfaces and parameters.

 

 

 

 

 

switch# show cdp all

 

 

 

 

 

 

 

GigabitEthernet4/1 is up

 

 

 

 

 

CDP enabled on interface

 

 

 

 

 

Sending CDP packets every 60 seconds

 

 

 

 

 

Holdtime is 180 seconds

 

 

 

 

 

GigabitEthernet4/8 is down

 

 

 

 

 

CDP enabled on interface

 

 

 

 

 

Sending CDP packets every 60 seconds

 

 

 

 

 

Holdtime is 180 seconds

 

 

 

 

 

mgmt0 is up

 

 

 

 

 

Cisco MDS 9000 Family Command Reference

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

20-12

 

 

 

 

78-16088-01, Cisco MDS SAN-OS Release 1.3

 

 

 

 

 

 

 

Page 12
Image 12
Cisco Systems MDS 9000 show cdp, entry, name cdp-name, global, interface, gigabitethernet, slot/port, mgmt, neighbors