2-4
packet-filter
Syntax
packet-filter inbound acl-rule
undo packet-filter inbound acl-rule
View
QoS profile view
Parameter
inbound: Filters the inbound packets.
acl-rule: ACL rules to be applied. This argument can be the combination of multiple ACLs. For more
information about this argument, refer to
Table 1-9 and Table 1-10.
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.
The packet filtering action of a QoS profile currently applied to a port cannot be removed.
Refer to the ACL module for the detailed information about packet filtering.
Example
# Add the packet filtering action to the QoS profile named a123 to filter the inbound packets matching
ACL 4000.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[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
Parameter
profile-name: QoS profile name, a case-insensitive string of 1 to 32 characters and starting with English
letters [a-z, A-Z]. Note that a QoS profile name cannot be all, interface, user, undo, or name.