Command Manual (For Soliton) – QoS-QoS Profile
H3C S3100 Series Ethernet Switches
Chapter 1 QoS Commands
1-42
Description
Use the
traffic-shape
command to enable traffic shaping and send the packets out at
an even rate. Use the
undo traffic-shape
command to disable traffic shaping.
By default, traffic shaping is disabled.
Related command:
display qos-interface traffic-shape
.
Example
# Configure traffic shaping on Ethernet 1/0/1, with the maximum rate being 640 kbps
and the burst size being 16 KB.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] traffic-shape 640 16
1.1.37 traffic-statistic
Syntax
traffic-statistic
inbound
acl-rule
undo traffic-statistic
inbound
acl-rule
View
System view, Ethernet port view, Port group view
Parameter
inbound
: Generates statistics on inbound packets.
acl-rule
: ACL rules to be applied. This argument can be the combination of multiple
ACLs. For more information about this argument, refer to
Table 1-8
and
Table 1-9
. Note
that the ACL rules referenced must be those defined with the
permit
keyword specified.
Description
Use the
traffic-statistic
command to generate statistics on all the packets matching
specific ACL rules, or on packets that match specific ACL rules and are of a port group,
or pass a port.
Use the
undo traffic-statistic
command to disable generating statistics on all the
packets matching specific ACL rules, or on packets that match specific ACL rules and
are of a port group, or pass a port.
Note that, for the same ACL rule, the traffic accounting function and the
meter statistic
keyword of the
traffic-limit
command are mutually exclusive in system view, Ethernet
port view, or port group view.
Related command:
display qos-interface traffic-statistic
,
reset
traffic-statistic
.