Egress DSCP reclassification
In many core networks, the number of different per-hop behaviors (forwarding class and profile combinations) can be limited by the need for a common denominator of per-hop behaviors among the different aggregation networks that the core network interconnects. To restore per-hop-behavior with finer granularity at the exit from the core network to an aggregation network, 7730 SXR platforms support egress DSCP reclassification.
The DSCP reclassification policy maps a DSCP value to a forwarding class and profile. The policy can be assigned to any type of subinterface (Layer 2 or Layer 3).
By default, no DSCP reclassification policy is assigned to a subinterface.
Configuring DSCP reclassification policies
To configure egress DSCP reclassification, use the qos classifiers dscp-reclassify-policy command to map a DSCP value to a forwarding class and profile.
The supported values for profile at egress are as follows:
- exceed
- in
- in-low
- in-plus
- out
- out-low
Configure DSCP reclassification policies
--{ + candidate shared default }--[ ]--
# info qos classifiers dscp-reclassify-policy reclassify-policy-name dscp AF11
    qos {
        classifiers {
            dscp-reclassify-policy reclassify-policy-name {
                dscp AF11 {
                    forwarding-class fc0
                    profile out
                }
            }
        }
    }Applying a DSCP reclassification policy to a subinterface
To apply a DSCP reclassification policy to a subinterface, use the qos interfaces interface output dscp-reclassify-policy command.
Apply a DSCP reclassification policy to a subinterface
--{ + candidate shared default }--[  ]--
# info qos interfaces interface ethernet-1/2.1 output dscp-reclassify-policy
    qos {
        interfaces {
            interface ethernet-1/2.1 {
                output {
                    dscp-reclassify-policy reclassify-policy-name
                }
            }
        }
    }