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
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

classifiers (Interfaces)

date_range 01-Feb-24

Syntax

content_copy zoom_out_map
classifiers {
    type (classifier-name | default) family (mpls | inet);
    no-default;
}

Hierarchy Level

content_copy zoom_out_map
[edit class-of-service interfaces interface-name ]
content_copy zoom_out_map
[edit class-of-service interfaces interface-name unit logical-unit-number]

Description

Apply a CoS aggregate behavior classifier to a logical or physical interface. You can apply a default classifier or one that is previously defined.

Note:

On MX Series routers, you must apply the classifier to a logical interface.

On ACX Series routers, you must apply the classifier to a physical interface.

If you do not explicitly apply a classifier configuration to the interface, the default classifier is applied to the interface. Apply the no-default option to disable the application of any default classifier to the routing instance.

Note:

On supported devices, you can apply the no-default option to a flexible tunnel interface (ftin) to enable the device to classify traffic exiting the tunnel based on the classifier assigned to the underlay (ingress) interface of the tunnel's egress device.

Options

classifier-name

Name of the aggregate behavior classifier.

type

Traffic type.

  • Values: dscp, dscp-ipv6, exp, ieee-802.1, inet-precedence

Note:

You can only specify a family for the dscp and dscp-ipv6 types.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced before Junos OS Release 7.4.

no-default option added in Junos OS Release 16.1.

footer-navigation