Command Manual – Port
Quidway S8500 Series Routing Switches Chapter 7 Port Packet Statistics Commands
Huawei Technologies Proprietary
7-1
Chapter 7 Port Packet Statistics Commands
7.1 Port Packet Statistics Commands
7.1.1 set egress
Syntax
set egress { counter0 | counter1 } slot slot-num [ interface interface-type
interface-number ] [ vlan vlan-id ] [ tc traffic-class ] [ dp drop-precedence ]
undo set egress { counter0 | counter1 } slot slot-num [ interface interface-type
interface-number ] [ vlan vlan-id ] [ tc traffic-class ] [ dp drop-precedence ]
View
System view
Parameter
counter0: Counter 0, used for packet statistics monitoring.
counter1: Counter 1, used for packet statistics monitoring.
slot-num: Card slot number.
interface-type interface-number: Port type and port number, which must match with the
parameter slot-num. If you do not specify a specific port number, the command will
apply to all the ports on the card. This command supports the following port types:
Ethernet ports, ATM ports, POS ports and RPR ports.
vlan-id: VLAN ID defined in IEEE802.1Q. If you do not specify a specific VLAN, the
command will apply to all VLANs.
traffic-class: Traffic class. If you do not specify a specific traffic class, the command will
apply to all traffic classes.
drop-precedence: packet drop precedence. If you do not specify a drop precedence
level, the command will apply to all drop precedence levels.
Description
Use the set egress command to set packet statistics counters. A card provides two
sets of counters for monitoring egress packet statistics of the card. The monitored
objects include ports, VLANs, ports+VLANs, and cards. In addition to these four types
of objects, a traffic class (TC) or a drop precedence (DP) can also be monitored. When
monitoring a card, the counters can monitor all TCs and all DPs.
Use the undo set egress command to cancel the configuration.