Port Packet Statistics
Commands
set egress
63
P
P
ORT
ACKET
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
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 Ethernet
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.
Use the undo set egress command to cancel the configuration.
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
Port Packet Statistics Commands
S
TATISTICS
1041
C
OMMANDS