HP A6600 Configuration Manual page 101

Acl and qos
Hide thumbs Also See for A6600:
Table of Contents

Advertisement

Configuration procedure
# Create basic ACL 2000, and configure a rule to match packets with source IP address 2.1.1.1.
<RouterA> system-view
[RouterA] acl number 2000
[RouterA-acl-basic-2000] rule permit source 2.1.1.1 0
[RouterA-acl-basic-2000] quit
# Create basic ACL 2001, and configure a rule to match packets with source IP address 2.1.1.2.
[RouterA] acl number 2001
[RouterA-acl-basic-2001] rule permit source 2.1.1.2 0
[RouterA-acl-basic-2001] quit
# Create a class named classifier_1, and use ACL 2000 as the match criterion in the class.
[RouterA] traffic classifier classifier_1
[RouterA-classifier-classifier_1] if-match acl 2000
[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, and configure it to match the packets that do not match ACL 2000 or
ACL 2001.
[RouterA] traffic classifier classifier_2
[RouterA-classifier-classifier_2] if-match acl 2001
[RouterA-classifier-classifier_2] 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 gigabitethernent 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 gigabitethernent 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
95

Advertisement

Table of Contents
loading

Table of Contents