show cdp ports

show cdp ports {port_list} {configuration | detail}

Description

Displays information about neighbors in ports.

Syntax Description

port_list Specifies the port list, separated by a comma.
configuration CDP local port configuration.
detail Detailed information.

Default

N/A.

Usage Guidelines

Use this command to display CDP port information.

Example

The following command displays neighbor port information on the CDP feature:

# show cdp ports 

Neighbor Information--------------------
Port  Device-Id            Hold time  Remote CDP  Port ID                                     
                                      Version
----  ---------            ---------  ----------  --------------------
1     Eni-Extreme-x440-sw> 149        Version-1   Slot:  1, Port:  1
2     00:04:96:8B:9D:B0    160        Version-2   Slot:  1, Port:  2
7     00:04:96:8B:C1:ED    138        Version-2   Slot:  1, Port:  7
Note

Note

">" indicates that the value was truncated to the column size in the output.
The following example displays the COS extended neighbor port information on the CDP feature:
Local Port Information
----------------------
Port     Trust       Cos   VoIP VLAN                        VoIP VLAN
                                                            Advertise
----     ----------  ----  -------------------------------  ------------
1        Trusted     0     Default                          Solicited
2        Trusted     0     Default                          Unsolicited
The following example shows detailed information for port 10:
# show cdp port 10 detail

Neighbor Information
--------------------
Device ID               : X670G2-48x-4q
Port ID (outgoing port) : Slot:  1, Port: 10
Advertisement Version   : 2
Platform                : X670G2-48x-4q
Interface               : 10
Holdtime                : 162
 
Version                 :
ExtremeXOS version 22.4.0.5 xos_22.4 by kosharma
     on Fri Jul 14 12:28:36 IST 2017
 
Native VLAN             : 1
Duplex                  : Full
Trust                   : Trusted
SysName                 : X670G2-48x-4q

History

This command was first available in ExtremeXOS 15.4.

The output of this command was updated in ExtremeXOS 21.1.

The detailoption was added and the output of this command was updated in ExtremeXOS 22.5.

Platform Availability

This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X590, X620, X690, X870 series switches.