Technical Documentation

Applying DSCP IPv6 Classifiers

For M320 and T Series routers, you can apply separate classifiers for IPv4 and IPv6 packets per logical interface by including the classifiers statement at the [edit class-of-service interfaces interface-name unit logical-unit-number] hierarchy level and specifying the dscp and dscp-ipv6 classifier types:

[edit class-of-service interfaces interface-name unit logical-unit-number]classifiers dscp (classifier-name | default) family (mpls | inet);classifiers dscp-ipv6 (classifier-name | default) family (mpls | inet));

For M Series router enhanced FPCs, you cannot apply separate classifiers for IPv4 and IPv6 packets on a single logical interface. Instead, classifier assignment works as follows:

  • If you assign a DSCP classifier only, IPv4 and IPv6 packets are classified using the DSCP classifier.
  • If you assign an IP precedence classifier only, IPv4 and IPv6 packets are classified using the IP precedence classifier. In this case, the lower three bits of the DSCP field are ignored because IP precedence mapping requires the upper three bits only.
  • If you assign either the DSCP or the IP precedence classifier in conjunction with the DSCP IPv6 classifier, the commit fails.
  • If you assign a DSCP IPv6 classifier only, IPv4 and IPv6 packets are classified using the DSCP IPv6 classifier, but the commit displays a warning message.

For more information, see Applying Classifiers to Logical Interfaces. For a complex configuration example, see the Junos Feature Guide.

Related Topics


Published: 2010-07-16

Help
|
My Account
|
Log Out