3com 8807 Reference Guide

Page of 1099
1042
C
HAPTER
 63: P
ORT
 P
ACKET
 S
TATISTICS
 C
OMMANDS
(DP) can also be monitored. When monitoring a card, the counters can monitor all 
TCs and all DPs.
After you user the set egress counter command to set the monitoring mode of a 
card, the counters will be automatically reset.
By default, a card does not implement egress packet statistics.
Related command: display egress.
Note that:
You cannot configure ports as the objects to be monitored by the egress packet 
statistics counters on GV48D, GT24D, GP24D, XP4B and XP4CA cards.
After successful configuration, it is necessary to reset the counters to start 
counting again.
Example
# Set the egress packet statistics mode of Counter 0 on slot 4 so that it monitors 
port GigabitEthernet4/1/1.
[SW8800] set egress counter0 slot 4 interface GigabitEthernet4/1/1 
display egress counter
Syntax
display egress { counter0 | counter1 } slot slot-num [ clear ]
View
Any view
Parameter
counter0: Counter 0, used for packet statistics monitoring.
counter1: Counter 1, used for packet statistics monitoring.
slot-num: Card slot number.
clear: Clears the counting data after a counter is read.
Description
Use the display egress command to display egress packet statistics information 
and the monitoring objects of a counter. To clear the counter data, include the 
parameter clear in the command.
Related command: set egress counter.
Example
# Query the egress packet statistics information of slot 4, and then clear the 
counter.
[SW8800] display egress counter0 slot 4 clear
 
Slot 4 egress counter0 mode:
 
  Interface: all
 
  VLAN: all
 
  Traffic Class: all