Verifying the configuration, Ipv6 qos policy routing configuration example, Network requirements – H3C Technologies H3C SR8800 User Manual
Page 429: Configuration procedure
413
Verifying the configuration
After you complete the configuration, verify that when Router A receives packets with destination IP
address 201.1.1.2, it forwards the packets to Router C instead of Router B.
IPv6 QoS policy routing configuration example
Network requirements
As shown in
, redirect all packets received on GigabitEthernet 3/1/1 of Router A to the next
hop 202::2.
Figure 129 Network diagram
Configuration procedure
# Configure IPv6 ACL 2000.
[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 3/1/1.
[RouterA] interface GigabitEthernet 3/1/1
[RouterA-GigabitEthernet3/1/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.
- H3C SR6600-X H3C SR6600 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module