HP FlexNetwork 6600 Configuration Manual page 99

Acl and qos
Table of Contents

Advertisement

[RouterA-classifier-classifier_1] quit
# Create a class named classifier_2, and use ACL 2001 as the match criterion in the class.
[RouterA] traffic classifier classifier_2
[RouterA-classifier-classifier_2] if-match acl 2001
[RouterA-classifier-classifier_2] quit
# Create a class named classifier_3 that does not match ACL 2000 or ACL 2001.
[RouterA] traffic classifier classifier_3
[RouterA-classifier-classifier_3] if-match not acl 2000
[RouterA-classifier-classifier_3] if-match not acl 2001
[RouterA-classifier-classifier_3] quit
# Create a behavior named behavior_1, and configure the action of redirecting traffic to interface
GigabitEthernet 1/0/2.
[RouterA] traffic behavior behavior_1
[RouterA-behavior-behavior_1] redirect interface GigabitEthernet 1/0/2
[RouterA-behavior-behavior_1] quit
# Create a behavior named behavior_2, and configure the action of redirecting traffic to interface
GigabitEthernet 1/0/3.
[RouterA] traffic behavior behavior_2
[RouterA-behavior-behavior_2] redirect interface GigabitEthernet 1/0/3
[RouterA-behavior-behavior_2] quit
# Create a behavior named behavior_3, and configure the action of redirecting traffic to interface
GigabitEthernet 1/0/4.
[RouterA] traffic behavior behavior_3
[RouterA-behavior-behavior_3] redirect interface gigabitethernent 1/0/4
[RouterA-behavior-behavior_3] quit
# Create a policy named policy, and associate classes classifier_1, classifier_2, and classifier_3
with behaviors behavior_1, behavior_2, and behavior_3 in the policy, respectively.
[RouterA] qos policy policy
[RouterA-qospolicy-policy] classifier classifier_1 behavior behavior_1
[RouterA-qospolicy-policy] classifier classifier_2 behavior behavior_2
[RouterA-qospolicy-policy] classifier classifier_3 behavior behavior_3
[RouterA-qospolicy-policy] quit
# Apply the policy named policy to the incoming traffic of GigabitEthernet 1/0/1.
[RouterA] interface gigabitethernet 1/0/1
[RouterA-GigabitEthernet1/0/1] qos apply policy policy inbound
92

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hsr6600

Table of Contents