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

下载
页码 1295
CDP Commands
OL-31486-02 Command Line Interface Reference Guide
229
8
 
8.21 show cdp traffic
The show cdp traffic Privileged EXEC mode command displays the CDP counters, 
including the number of packets sent and received and checksum errors.
Syntax
show cdp traffic [global | 
interface-id
]
Parameters
global—Display only the global counters
interaface-id
—Port for which counters should be displayed.
Command Mode 
Privileged EXEC mode
User Guidelines 
Use the command show cdp traffic without parameters to display all the counters.
Use the show cdp traffic global to display only the global counters. 
Use the show cdp traffic 
interface-id
 command to display the counters of the 
given port. 
Example
switchxxxxxx# 
show cdp traffic
CDP Global counters:
     Total packets output: 81684,  Input: 81790
     Hdr syntax:  0, Chksum error: 0, Encaps: 0
     No memory:  0, Invalid packet: 0
     CDP version 1 advertisements output:  100,    Input  0
     CDP version 2 advertisements output:  81784,  Input  0
gi1/1/1
     Total packets output: 81684,  Input: 81790
     Hdr syntax:  0, Chksum error: 0, Encaps: 0
     No memory:  0, Invalid packet: 0