2
QoS Profile Configuration Commands
QoS Profile Configuration Commands
apply qos-profile
Syntax
In system view
apply qos-profile profile-name interface interface-list
undo apply qos-profile profile-name interface interface-list
In Ethernet port view
apply qos-profile profile-name
undo apply qos-profile profile-name
View
System view, Ethernet port view
Parameters
profile-name: QoS profile name, a case-insensitive string of 1 to 32 characters and starting with English
letters [a-z, A-Z].
interface-list: List of Ethernet ports. You can specify multiple Ethernet ports by providing this argument
in the form of interface-type interface-number [ to interface-type interface-number ].
Description
Use the apply qos-profile command to apply a QoS profile to a port in Ethernet port view or multiple
ports in system view.
Use the undo apply qos-profile command to remove a QoS profile from a port in Ethernet port view or
multiple ports in system view.
Examples
# Apply the QoS profile named a123 to Ethernet 1/0/1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet1/0/1
[Sysname-Ethernet1/0/1] apply qos-profile a123
# Apply the QoS profile named a123 to Ethernet 1/0/1 through Ethernet 1/0/4.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] apply qos-profile a123 interface Ethernet1/0/1 to Ethernet1/0/4
2-1