Displaying and maintaining qos profile, Configuration example, Qos profile configuration example – H3C Technologies H3C WX3000 Series Unified Switches User Manual
Page 380: Displaying and maintaining qos profile -3
38-3
z
The QoS profile to be applied is determined.
Configuration procedure
Follow these steps to configure to apply a QoS profile dynamically:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Ethernet port view
interface
interface-type
interface-number
—
Configure the mode
to apply a QoS
profile as port-based
qos-profile port-based
Specify the
mode to
apply a
QoS profile
Configure the mode
to apply a QoS
profile as user-based
undo qos-profile
port-based
Optional
By default, the mode to apply a QoS
profile is user-based.
z
If the 802.1x authentication mode is
MAC address-based, the mode to
apply a QoS profile must be
configured user-based.
z
If the 802.1x authentication mode is
port-based, the mode to apply a QoS
profile must be configured as
port-based.
Follow these steps to apply a QoS profile manually:
To do…
Use the command…
Remarks
Enter system view
system-view —
In system view
apply qos-profile profile-name
interface
interface-list
Enter Ethernet
port view
interface
interface-type
interface-number
Apply a QoS
profile to
specific
ports
In Ethernet
port view
Apply a QoS
profile to the
current port
apply qos-profile profile-name
Select either of the
operations.
By default, a port has no
QoS profile applied to it.
Displaying and Maintaining QoS Profile
To do…
Use the command…
Remarks
Display QoS profile
configuration
display qos-profile
{ all | name profile-name
| interface interface-type interface-number |
user
user-name }
Available in any view
Configuration Example
QoS Profile Configuration Example
Network requirements
As shown in
, the user name is “someone”, and the authentication password is “hello”. It is
connected to GigabitEthernet 1/0/1 of the switch and belongs to the test.net domain.
It is required to configure a QoS profile to limit the rate of all the outbound IP packets of the user to 128
kbps and configuring to drop the packets exceeding the target packet rate.