Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Configuring and Applying IEEE 802.1ad Classifiers

date_range 02-Feb-21

If you apply an IEEE 802.1 classifier to a logical interface, this classifier takes precedence and is not compatible with any other classifier type. For Juniper Networks MX Series 5G Universal Routing Platform interfaces or IQ2 PICs with IEEE 802.1ad frame formats or EX Series switches, you can set the forwarding class and loss priority for traffic on the basis of the three IEEE 802.1p bits (three bits in either the inner virtual LAN (VLAN) tag or the outer VLAN tag) and the drop eligible indicator (DEI) bit. You can apply the default map or customize one or more of the default values.

You then apply the classifier to the interface on which you configure IEEE 802.1ad frame formats.

The following example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration Mode in the CLI User Guide.

  1. Define the custom IEEE 802.1ad map:
    1. Create the classifier by specifying a name for it and defining it as an IEEE-802.1ad (DEI) classifier.

      content_copy zoom_out_map
      [edit]
      user@host# edit class-of-service classifiers ieee-802.1ad dot1p_dei_class
      
    2. Assign the forwarding class and loss priority to the code-point alias.

      content_copy zoom_out_map
      [edit class-of-service classifiers ieee-802.1ad dot1p_dei_class]
      user@host# set forwarding-class best-effort loss-priority low code-points [0000 1101]
      
  2. Apply the classifier to the logical interface:
    1. Specify the interface to which you want to apply the classifier.

      content_copy zoom_out_map
      [edit]
      user@host# edit class-of-service interfaces ge-2/0/0 unit 0
      
    2. Specify the name of the classifier you want to apply to the interface.

      content_copy zoom_out_map
      [edit class-of-service interfaces ge-2/0/0 unit 0]
      user@host# set classifiers ieee-802.1ad dot1p_dei_class
      
  3. Verify the custom IEEE 802.1ad map configuration:
    content_copy zoom_out_map
    [edit]
    user@host# show
    
    content_copy zoom_out_map
    class-of-service {
        classifiers {
            ieee-802.1ad dot1p_dei_class {
                forwarding-class best-effort {
                    loss-priority low code-points [ 0000 1101 ];
                }
            }
        }
    }
    
    content_copy zoom_out_map
    class-of-service {
        interfaces {
            ge-2/0/0 {
                unit 0 {
                    classifiers {
                        ieee-802.1ad dot1p_dei_class;
                    }
                }
            }
        }
    }
    
footer-navigation