111
[RouterB] traffic classifier qppb
[RouterB-classifier-qppb] if-match ip-precedence 4
[RouterB-classifier-qppb] quit
[RouterB] traffic behavior qppb
[RouterB-behavior-qppb] car cir 512 red discard
[RouterB-behavior-qppb] quit
[RouterB] qos policy qppb
[RouterB-qospolicy-qppb] classifier qppb behavior qppb mode qppb-manipulation
[RouterB-qospolicy-qppb] quit
# Apply the QoS policy to the incoming traffic of GigabitEthernet 1/0/1.
[RouterB] interface gigabitethernet 1/0/1
[RouterB-GigabitEthernet1/0/1] qos apply policy qppb inbound
[RouterB-GigabitEthernet1/0/1] quit
4.
Verify the configuration:
# Check whether the related routes on Router A take effect.
[RouterA] display ipv6 routing-table
Routing Table :
Destinations : 7 Routes : 7
Destination: ::1/128 Protocol : Direct
NextHop : ::1 Preference: 0
Interface : InLoop0 Cost : 0
Destination: 1::/64 Protocol : Direct
NextHop : 1::1 Preference: 0
Interface : GE1/0/1 Cost : 0
Destination: 1::1/128 Protocol : Direct
NextHop : ::1 Preference: 0
Interface : InLoop0 Cost : 0
Destination: 2::/64 Protocol : BGP4+
NextHop : 168::2 Preference: 255
Interface : S2/1/1 Cost : 0
Destination: 168::/64 Protocol : Direct
NextHop : 168::1 Preference: 0
Interface : S2/1/1 Cost : 0
Destination: 168::1/128 Protocol : Direct
NextHop : ::1 Preference: 0
Interface : InLoop0 Cost : 0
Destination: FE80::/10 Protocol : Direct
NextHop : :: Preference: 0
Interface : NULL0 Cost : 0
# Check whether the related routes on Router B take effect.
[RouterB] display ipv6 routing-table