You configure BA classifiers for IPv6 on network interfaces because the DSCPs have been explicitly rewritten on the edge routers. To configure a BA classifier for IPv6 DSCPs, include the dscp-ipv6 statement and give the classifier a name. Then import the default classifier and specify the forwarding class, loss priority, and code points for each established traffic class at the [edit class-of-service] hierarchy level.
- [edit class-of-service]
- classifiers {
-
- dscp-ipv6 IPv6-classifier {
- import default; # Uses the DSCP default map.
-
- forwarding-class be-DATA-class {
- loss-priority high code-points 000001;
- }
-
- forwarding-class ef-FIN-class {
- loss-priority high code-points 101111;
- }
-
- forwarding-class af-AV-class {
- loss-priority high code-points 001100;
- }
-
- forwarding-class nc-CONTROL-class {
- loss-priority high code-points 110001;
- }
- }
- }