[Contents] [Prev] [Next] [Index] [Report an Error]

Importing a Classifier

You can use any table, including the default, in the definition of a new classifier by including the import statement. The imported classifier is used as a template and is not modified. Whenever you commit a configuration that assigns a new class-name and loss-priority value to a code-point alias or set of bits, it replaces that entry in the imported classifier template. As a result, you must explicitly specify every CoS value in every designation that requires modification.

To do this, include the import default statement at the [edit class-of-service classifiers type classifier-name] hierarchy level:

[edit class-of-service classifiers type classifier-name]
import default;

For instance, to import the default DSCP classifier, include the dscp default statement at the [edit class-of-service classifiers dscp classifier-name] hierarchy level:

[edit class-of-service classifiers dscp classifier-name]
import default;

[Contents] [Prev] [Next] [Index] [Report an Error]