R3102-R3103-HP 6600/HSR6600 Routers Layer 3 - IP Routing Configuration Guide
424
Figure 117 Network diagram
Configuration procedure
# Configure IPv6 ACL 2000.
<RouterA> system-view
[RouterA] acl ipv6 number 2000
[RouterA-acl6-basic-2000] rule 0 permit source any
[RouterA-acl6-basic-2000] quit
# Define a match criterion for class a to match IPv6 ACL 2000.
[RouterA] traffic classifier a
[RouterA-classifier-a] if-match acl ipv6 2000
[RouterA-classifier-a] quit
# Configure the action of redirecting traffic to the next hop 202::2 for behavior a.
[RouterA] traffic behavior a
[RouterA-behavior-a] redirect next-hop 202::2
[RouterA-behavior-a] quit
# Associate class a with behavior a in QoS policy a.
[RouterA] qos policy a
[RouterA-qospolicy-a] classifier a behavior a
[RouterA-qospolicy-a] quit
# Apply QoS policy a to the inbound direction of GigabitEthernet 2/0/1.
[RouterA] interface gigabitethernet 2/0/1
[RouterA-GigabitEthernet2/0/1] qos apply policy a inbound
Verifying the configuration
After completing the configuration, verify that when Router A receives packets with destination IP address
201::2, it forwards the packets to Router C instead of Router B.
Router A
GE2/0/1
200::1
GE2/0/2
201::1
GE2/0/3
202::1
IP network
Router B
Router C
GE2/0/2
201::2
GE2/0/3
202::2










