QoS Profile Configuration Commands 307
Description
Use the display qos-profile command to view QoS profile configuration
information.
Example
To display QoS profile configuration information, enter the following:
<SW5500> display qos-profile all
qos-profile: qos-profile student, 3 actions
packet-filter inbound link-group 4000 rule 1
traffic-limit inbound ip-group 2000 rule 1 128 exceed drop
traffic-priority inbound ip-group 2000 rule 1 local-precedence 0
packet-filter Syntax
packet-filter inbound { ip-group
acl-number
[ rule
rule
[ link-group
acl-number
rule
rule
] ] | link-group
acl-number
[ rule
rule
] }
undo packet-filter inbound { ip-group
acl-number
[ rule
rule
[
link-group
acl-number
rule
rule
] ] | link-group
acl-number
[ rule
rule
] }
View
QoS Profile View
Parameter
inbound: Filters the inbound packets on the port.
ip-group
acl-number
: Basic or advanced ACL,
acl-number
is in the range 2000
to 3999
link-group
acl-number
: Layer 2 ACL,
acl-number
is in the range 4000 to 4999
rule
rule
: Specifies a match statement in the ACL, in the range 0 to 65534. All
match statements are selected if you skip this keyword.
Description
Use the packet-filter command to add packet filtering action to the QoS
profile.
Use the undo packet-filter command, you can remove packet filtering action
from the QoS profile.
Example
To add the qos-profile student to this packet filtering action: Filters the inbound
packets matching the ACL 4000, enter the following:
<SW5500>system-view
System View: return to User View with Ctrl+Z
[SW5500]qos-profilestudent
[SW5500-qos-profilestudent]packet-filter inbound link-group 4000
[SW5500-qos-profilestudent]