2-4
Parameters
inbound: Filters the inbound packets.
outbound: Filters the outbound packets.
acl-rule: ACL rules to be applied for traffic classification. This argument can be the combination of
multiple ACLs. For more information about this argument, refer to
Table 1-4 and Table 1-5.
Description
Use the packet-filter command to add the packet filtering action to a QoS profile.
Use the undo packet-filter command to remove the packet filtering action from a QoS profile.
Examples
# Add the packet filtering action to the QoS profile named a123 to filter the inbound packets sourced
from MAC address 000F-1FD7-9528.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] acl number 4000
[Sysname-acl-ethernetframe-4000] rule deny source 000f-1fd7-9528 ffff-ffff-ffff
[Sysname-acl-ethernetframe-4000] quit
[Sysname] qos-profile a123
[Sysname-qos-profile-a123] packet-filter inbound link-group 4000
qos-profile
Syntax
qos-profile profile-name
undo qos-profile profile-name
View
System view
Parameters
profile-name: QoS profile name, a case-insensitive string of 1 to 32 characters, starting with an English
letter in the range a to z and A to Z. Note that a QoS profile name cannot be all, interface, user, undo,
or name.
Description
Use the qos-profile command to create a QoS profile and enter QoS profile view. If the QoS profile
already exists, this command leads you to the corresponding QoS profile view.
Use the undo qos-profile command to remove a QoS profile.
To remove or modify a QoS profile already applied to a port, you must remove the QoS profile from the
port first.
z If the QoS profile is applied to the port manually, use the undo apply qos-profile command to
remove the QoS profile from the port.
z If the QoS profile is applied to the port dynamically, log off the user connected to the port to remove
the QoS profile from the port.