![H3C S5120-SI Series Скачать руководство пользователя страница 335](http://html2.mh-extra.com/html/h3c/s5120-si-series/s5120-si-series_operation-manual_3711174335.webp)
2-4
In a policy, multiple class-to-traffic-behavior mappings can be configured, and these mappings are
executed according to the order configured.
Follow these steps to define a policy:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create a policy and enter policy
view
qos policy
policy-name
Required
Specify the traffic behavior for a
class in the policy
classifier
tcl-name behavior
behavior-name
Required
Display the specified class and
its associated traffic behavior in
the QoS policy
display qos policy
user-defined
[
policy-name
[
classifier
tcl-name
]
]
Optional
Available in any view
If an ACL is referenced by a QoS policy for defining traffic match criteria, , packets matching the ACL
are organized as a class and the behavior defined in the QoS policy applies to the class regardless of
whether the match mode of the ACL clause is
deny
or
permit
.
QoS Policy Configuration Example
Network requirements
Configure a QoS policy
test_policy
to drop the packets with IP precedence 6.
Configuration procedure
# Create a class
test_class
to match the packets with IP precedence 6.
<Sysname> system-view
[Sysname] traffic classifier test_class
[Sysname-classifier-test_class] if-match ip-precedence 6
[Sysname-classifier-test_class] quit
# Create a traffic behavior
test_behavior
and configure the action of drop the packets for it.
[Sysname] traffic behavior test_behavior
[Sysname-behavior-test_behavior] filter deny
[Sysname-behavior-test_behavior] quit
# Create a QoS policy
test_policy
and associate the traffic behavior with the class.
[Sysname] qos policy test_policy
[Sysname-qospolicy-test_policy] classifier test_class behavior test_behavior
Содержание S5120-SI Series
Страница 61: ...7 8 Sysname ip http acl 2030...
Страница 138: ...2 10 PORT VLAN MODE GigabitEthernet1 0 1 2 MANUAL...
Страница 186: ...1 46 Instance Vlans Mapped 0 1 to 9 11 to 19 21 to 29 31 to 4094 1 10 2 20 3 30...
Страница 218: ...ii Displaying and Maintaining BOOTP Client Configuration 4 2 BOOTP Client Configuration Example 4 3...
Страница 255: ...1 12...
Страница 381: ...ii Troubleshooting RADIUS 1 32...
Страница 577: ...1 8 Return to the upper directory Sysname cd Display the current working directory Sysname pwd flash...