6. DSCP, Dot1p, and MPLS EXP Classification Policies

This chapter provides information to configure DSCP classification policy, Dot1p classification policy and MPLS EXP classification policy using the command line interface.

6.1. Overview

These policies allow the user to define a policy/template that maps the packet priority bits, like Dot1p, IP DSCP and MPLS EXP bits, to forwarding class and profile. The template can then be used in a SAP ingress policy to define the ingress classification of flows to forwarding class.

The support available on different 7210 SAS platforms is described in Table 28.

Table 28:  Platforms Supported for Classification Policies 

Policy Name

Support Available

Dot1p-classification

All platforms with sap-ingress policy and network-qos policy.

DSCP classification

All platforms with sap-ingress policy and network-qos policy.

MPLS-EXP classification

Only 7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C with network-qos policies

6.1.1. DSCP Classification Policy

This policy is used define the map of IP DSCP values in the IP header of the packet to forwarding class and profile (ingress profile).

6.1.2. Dot1p Classification Policy

This policy is used define the map of Dot1p values in the Ethernet frame to forwarding class and profile (ingress profile).

6.1.3. MPLS EXP Classification Policy

This policy is used define the map of MPLS EXP values in the MPLS header of the packet to forwarding class and profile (ingress profile).

6.2. Configuring Classification Policies

CLI Syntax:
config>qos>dot1p-classification 1 create
config>qos>dscp-classification 1 create
config>qos>mpls-lsp-exp-classification 1 create

The following is a sample output of the enabling DSCP classification policy, Dot1p classification policy, and MPLS EXP classification policy.

*A:K-SASK12>config>qos># info detail
----------------------------------------------
---------exit
        dot1p-classification 1 create
            description "Default Dot1P Classification policy"
            dot1p 0 fc "be" profile out
            dot1p 1 fc "l2" profile in
            dot1p 2 fc "af" profile out
            dot1p 3 fc "af" profile in
            dot1p 4 fc "h2" profile in
            dot1p 5 fc "ef" profile in
            dot1p 6 fc "h1" profile in
            dot1p 7 fc "nc" profile in
        exit
        dot1p-classification 10 create
            no description
        exit
        dscp-classification 1 create
            description "Default DSCP Classification policy"
            dscp be fc "be" profile out
            dscp ef fc "ef" profile in
            dscp cs1 fc "l2" profile in
            dscp nc1 fc "h1" profile in
            dscp nc2 fc "nc" profile in
            dscp af11 fc "af" profile in
            dscp af12 fc "af" profile out
            dscp af41 fc "h2" profile in
        exit
        dscp-classification 20 create
            no description
        exit
        mpls-lsp-exp-classification 1 create
            description "Default MplsLspExp Classification policy"
            lsp-exp 0 fc "be" profile out
            lsp-exp 1 fc "l2" profile in
            lsp-exp 2 fc "af" profile out
            lsp-exp 3 fc "af" profile in
            lsp-exp 4 fc "h2" profile in
            lsp-exp 5 fc "ef" profile in
            lsp-exp 6 fc "h1" profile in
            lsp-exp 7 fc "nc" profile in
        exit
        mpls-lsp-exp-classification 20 create
            no description
        exit
*A:K-SASK12>config>qos>dot1p-classification#
*A:K-SASK12>config>qos>mpls-lsp-exp-classification# info detail
----------------------------------------------
            description "Default MplsLspExp Classification policy"
            lsp-exp 0 fc "be" profile out
            lsp-exp 1 fc "l2" profile in
            lsp-exp 2 fc "af" profile out
            lsp-exp 3 fc "af" profile in
            lsp-exp 4 fc "h2" profile in
            lsp-exp 5 fc "ef" profile in
            lsp-exp 6 fc "h1" profile in
            lsp-exp 7 fc "nc" profile in
----------------------------------------------
*A:K-SASK12>config>qos>mpls-lsp-exp-classification