Operation Manual – QoS
Quidway S3100 Series Ethernet Switches Chapter 1
QoS Configuration
Huawei Technologies Proprietary
1-21
Operation Command Description
Enter Ethernet port
view
interface interface-type
interface-number
—
Set rate limit for a
given port
line-rate { inbound |
outbound } target-rate
Required. The granularity is
64kbps.
inbound: Indicates that the
rate limit applies to inbound
packets only.
Outbound: Indicates that the
rate limit applies to outbound
packets only.
Display port rate
limit settings
display qos-interface
{ interface-type
interface-number | unit-id }
line-rate
Can be executed in any view.
1.10.3 Configuration Example
I. Network requirements
The switch connects to a PC through Ethernet1/0/1.
The goal is to control outbound packets from the PC so that only packets with a rate
limit less than 128 kbps can pass through Ethernet1/0/1 whereas those with a rate limit
above 128 kbps will simply be discarded.
To achieve the goal with the help of rate limit, configure the rate limit for inbound
packets of Ethernet1/0/1 to be 128 kbps.
II. Configuration procedure
<Quidway> system-view
[Quidway] interface ethernet1/0/1
[Quidway-Ethernet1/0/1] line-rate inbound 128
[Quidway-Ethernet1/0/1] display qos-interface Ethernet1/0/1 line-rate