show port-channel traffic

To display the traffic statistics for EtherChannels, use the show port-channel traffic command.

show port-channel traffic [ interface port-channel number [ . subinterface-number ]]

Syntax Description

interface
(Optional) Displays traffic statistics for a specified interface.
port-channel number
(Optional) Displays information for a specified EtherChannel. The range is from 1 to 4096.
. subinterface-number
(Optional) Subinterface number. Use the EtherChannel number followed by a dot (.) indicator and the subinterface number. The format is portchannel-number . subinterface-number .

Command Default

None

Command Modes

EXEC mode

Command History

Release
Modification
4.0(0)N1(1a)
This command was introduced.

Examples

This example shows how to display the traffic statistics for all EtherChannels:

switch# show port-channel traffic
ChanId Port Rx-Ucst Tx-Ucst Rx-Mcst Tx-Mcst Rx-Bcst Tx-Bcst
------ --------- ------- ------- ------- ------- ------- -------
10 Eth1/7 0.0% 0.0% 0.0% 0.0% 0.0% 0.0%
10 Eth1/8 0.0% 0.0% 0.0% 0.0% 0.0% 0.0%
10 Eth1/9 0.0% 0.0% 0.0% 0.0% 0.0% 0.0%
10 Eth1/10 0.0% 0.0% 0.0% 0.0% 0.0% 0.0%
------ --------- ------- ------- ------- ------- ------- -------
4000 Eth1/1 0.0% 0.0% 99.64% 99.81% 0.0% 0.0%
4000 Eth1/2 0.0% 0.0% 0.06% 0.06% 0.0% 0.0%
4000 Eth1/3 0.0% 0.0% 0.23% 0.06% 0.0% 0.0%
4000 Eth1/4 0.0% 0.0% 0.06% 0.06% 0.0% 0.0%
switch#
 

This example shows how to display the traffic statistics for a specific EtherChannel:

switch# show port-channel traffic interface port-channel 10
ChanId Port Rx-Ucst Tx-Ucst Rx-Mcst Tx-Mcst Rx-Bcst Tx-Bcst
------ --------- ------- ------- ------- ------- ------- -------
10 Eth1/7 0.0% 0.0% 0.0% 0.0% 0.0% 0.0%
10 Eth1/8 0.0% 0.0% 0.0% 0.0% 0.0% 0.0%
10 Eth1/9 0.0% 0.0% 0.0% 0.0% 0.0% 0.0%
10 Eth1/10 0.0% 0.0% 0.0% 0.0% 0.0% 0.0%
switch#
 

Related Commands

Command
Description
port-channel load-balance ethernet
Configures the load-balancing algorithm for EtherChannels.
show tech-support port-channel
Displays Cisco Technical Support information about EtherChannels.