Command Manual - QoS&QoS Profile
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 2 QoS Profile Configuration Commands
Huawei Technologies Proprietary
2-6
z
Port-based mode: The switch delivers the traffic actions in the QoS profile directly
to the user port. In this mode, all the accessed users through one port should use
the same profile.
Example
# Configure the application mode of the QoS profile on Ethernet 1/0/1 as the port-based
mode.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] interface Ethernet 1/0/1
[Quidway-Ethernet1/0/1] qos-profile port-based
2.1.7 traffic-limit
Syntax
traffic-limit
inbound
acl-rule target-rate
[
exceed
exceed-action
]
undo traffic-limit
inbound acl-rule
View
QoS profile view
Parameter
inbound
: Set traffic limiting for the inbound packets on the port.
acl-rule
: Applied ACL rules which can be the combination of various ACL rules. For the
ways of combining ACLs and the description on related parameters, refer to Table 1-5
target-rate
: Total traffic (in kbps) to be set, with the granularity of traffic limit being
64kbps. If the number user input is in ( N*64, (N+1)*64], in which N is a natural number,
the switch automatically sets (N+1)*64 as the parameter value. For a fast Ethernet port,
this argument ranges from 64 to 99,968 inclusive; for a Gigabit Ethernet port, from 64 to
1,000,000 inclusive.
exceed
action
: Action taken when the traffic threshold is exceeded (optional). Two
actions are available:
z
drop
: Drops packets.
z
remark-dscp
value
: Sets a new DSCP value.