1270
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
OL-27880-02
Chapter Show Commands
show cdp interface
show cdp interface
To display the Cisco Discovery Protocol (CDP) parameters for an interface, use the
show cdp interface
command.
show cdp interface
{
ethernet
slot
/[
QSFP-module
/]
port
|
mgmt
mgmt-num
}
Syntax Description
Command Default
None
Command Modes
EXEC mode
Command History
Examples
This example shows how to display the CDP parameters for an Ethernet interface:
switch#
show cdp interface ethernet 1/30
Ethernet1/30 is down
CDP enabled on interface
Refresh time is 60 seconds
Hold time is 180 seconds
switch#
This example shows how to display the CDP parameters for a management interface:
switch#
show cdp interface mgmt 0
mgmt0 is up
CDP enabled on interface
Refresh time is 60 seconds
Hold time is 180 seconds
switch#
Related Commands
ethernet
slot
/[
QSFP-module
/]
port
Specifies an Ethernet interface. The
slot
number is from 1 to 255.
The
QSFP-module
number is from 1 to 4. The
port
number is
from 1 to 128.
Note
The
QSFP-module
number applies only to the QSFP+
Generic Expansion Module (GEM).
mgmt
mgmt-num
Specifies a management interface. The management interface
number is 0.
Release
Modification
6.0(2)N1(1)
Support for the QSFP+ GEM was added.
5.2(1)N1(1)
This command was introduced.
Command
Description
cdp
Enables CDP on the switch.