Command Manual – Port 
Quidway S8500 Series Routing Switches  Chapter 7  Port Packet Statistics Commands
 
Huawei Technologies Proprietary 
7-2 
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:  
z  You cannot configure ports as the objects to be monitored by the egress packet 
statistics counters on GV48D, GT24D, GP24D, XP4B and XP4CA cards.  
z  This command does not support egress packet statistics on POS ports not bound 
to a VLAN.  
z  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.  
[Quidway] set egress counter0 slot 4 interface GigabitEthernet4/1/1 
7.1.2  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.  
[Quidway] display egress counter0 slot 4 clear