Cisco Cisco SG500-52PP 52-port Gigabit Max PoE+ Stackable Managed Switch 技术参考

下载
页码 1295
CDP Commands
OL-31486-02 Command Line Interface Reference Guide
227
8
 
Ethernet gi1/1/3 is down
Example 4 - In this example, CDP is globally enabled and enabled on the port, 
which is up and information is displayed.
switchxxxxxx# 
show cdp tlv interface gi1/1/1
cdp globally is enabled
Capability Codes: R - Router,T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, 
P - VoIP Phone,M - Remotely-Managed Device, 
C - CAST Phone Port, W - Two-Port MAC Relay
Interface TLV: gi1/1/1
CDP is enabled
Ethernet gi1/1/1 is up, 
Device ID TLV: type is MAC address; Value is 00:11:22:22:33:33:44:44
Address TLV: IPv4:  1.2.2.2 IPv6:
Port_ID TLV: gi1/1/1
Capabilities: S, I
Version TLV: 1 and 2
Platform TLV: VSD Ardd
Native VLAN TLV: 1
Full/Half Duplex TLV: full-duplex
Appliance VLAN_ID TLV: Appliance-ID is 1; VLAN-ID is 100
COS for Untrusted Ports TLV: 1
sysName: a-switch
Power Available TLV: Request-ID is 1 Power management-ID is 1; 
                                     Available-Power is 10; 
                                     Management-Power-Level is 0xFFFFFFFF
Example 5 - In this example, CDP is globally enabled, and no ports are specified, 
so information is displayed for all ports on which CDP is enabled who are up.
switchxxxxxx# 
show cdp tlv interface