Display Port Channel Statistics
The following example shows how to view port channel statistics.
Router# show interfaces stats
GigabitEthernet0/1
Switching path Pkts In Chars In Pkts Out Chars Out
Processor 108470 31042570 82259 14255449
Route cache 0 0 0 0
Total 108470 31042570 82259 14255449
GigabitEthernet0/2
Switching path Pkts In Chars In Pkts Out Chars Out
Processor 15979 19073260 15192 1325713
Route cache 0 0 0 0
Total 15979 19073260 15192 1325713
Port-channel15
Switching path Pkts In Chars In Pkts Out Chars Out
Processor 0 0 0 0
Route cache 0 0 0 0
Total 0 0 0 0
Router# show interfaces port-channel 2 stats
Port-channel2
Switching path Pkts In Chars In Pkts Out Chars Out
Processor 570546645 295127854241 557694541 291427545417
Route cache 0 0 0 0
Total 570546645 295127854241 557694541 291427545417
Display Port Channel Interface
The following example shows how to view the information for a port channel interface. channel-id is an integer value between 1 to 128.
Router# show interfaces port-channel channel-id
Router# show interfaces port-channel 20
Port-channel20 is up, line protocol is up
Hardware is GEChannel, address is 0002.0415.0002 (bia 0000.0000.0000)
MTU 9600 bytes, BW 10000000 Kbit/sec, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
ARP type: ARPA, ARP Timeout 04:00:00
No. of active members in this channel: 1
Member 0 : TenGigabitEthernet4/2 , Full-duplex, 10000Mb/s
No. of passive members in this channel: 0
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
37 packets input, 7820 bytes, 0 no buffer
Received 0 broadcasts (0 IP multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 0 multicast, 0 pause input
39 packets output, 8088 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 unknown protocol drops
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 pause output
0 output buffer failures, 0 output buffers swapped out
Display EFP Statistics
The following example shows how to view EFP statistics.
Router> show ethernet service instance stats
System maximum number of service instances: 32768
Service Instance 2, Interface TenGigabitEthernet3/1
Pkts In Bytes In Pkts Out Bytes Out
0 0 0 0
Service Instance 2, Interface Port-channel15
Pkts In Bytes In Pkts Out Bytes Out
0 0 0 0
 Note |
The show ethernet service instance stats command does not display the EFP statistics for a pseudowire. Use the show mpls l2transport vc [vcid] [detail] command to view the EFP statistics for a pseudowire.
|
Display LACP Activity
The following examples show how to view LACP activity in the network.
Router# show lacp internal
Flags: S - Device is requesting Slow LACPDUs
F - Device is requesting Fast LACPDUs
A - Device is in Active mode P - Device is in Passive mode
Channel group 20
LACP port Admin Oper Port Port
Port Flags State Priority Key Key Number State
Te4/2 SA bndl 32768 0x5 0x5 0x42 0x3D
Router# show lacp 20 counters
LACPDUs Marker Marker Response LACPDUs
Port Sent Recv Sent Recv Sent Recv Pkts Err
---------------------------------------------------------------------
Channel group 20
Te4/2 21 18 0 0 0 0 0
Router# show lacp 20 internal
Flags: S - Device is requesting Slow LACPDUs
F - Device is requesting Fast LACPDUs
A - Device is in Active mode P - Device is in Passive mode
Channel group 20
LACP port Admin Oper Port Port
Port Flags State Priority Key Key Number State
Te4/2 SA bndl 32768 0x5 0x5 0x42 0x3D
Router# show lacp 20 neighbor
Flags: S - Device is requesting Slow LACPDUs
F - Device is requesting Fast LACPDUs
A - Device is in Active mode P - Device is in Passive mode
Channel group 20 neighbors
Partner's information:
Partner Partner LACP Partner Partner Partner Partner Partner
Port Flags State Port Priority Admin Key Oper Key Port Number Port State
Te4/2 SA 32768 0011.2026.7300 11s 0x1 0x14 0x3C
Router# show lacp 20 counters LACPDUs Marker Marker Response LACPDUs
Port Sent Recv Sent Recv Sent Recv Pkts Err
-------------------------------------------------------------------------------
Channel group: 20
Te4/2 26 31 0 0 0 0 0
Router# show lacp sys-id
32768,0005.9b2e.18e0
Display Manual Load Balancing Configuration
Router# show ethernet service instance load-balance
Manually Assigned Load-Balancing Status for Port-channel1
Link ID 1: TenGigabitEthernet4/1 (Active)
Backup: Link ID 2 TenGigabitEthernet3/2
Service instances: 10
Link ID 2: TenGigabitEthernet3/2 (Active)
Backup: Link ID 1 TenGigabitEthernet4/1
Service instances: 20
Router# show ethernet service instance platformDisplays the port channel EFPs that are currently using the manual or platform load balancing and the egress link.
EFP id: 10 Interface Port-channel1
Load balancing type: Manual
Associated Egress Interface: TenGigabitEthernet4/1
EFP id: 20 Interface Port-channel1
Load balancing type: Manual
Associated Egress Interface: TenGigabitEthernet3/2
EFP id: 10 Interface Port-channel2
Load balancing type: Manual
Associated Egress Interface: TenGigabitEthernet5/1
EFP id: 20 Interface Port-channel2
Load balancing type: Platform
Associated Egress Interface: TenGigabitEthernet5/1