
mpls classifier
Creates/deletes an MPLS classifier to group MPLS traffic into classes.
Syntax: mpls classifier name psc mplsPsc_value
no mpls classifier name
name
The name of the MPLS classifier group.
mplsPsc_value
One or more MPLS PSC values to be associated with this classifier group. Supported values are from 0 to 3. A range of consecutive values is delineated by a dash (-). Nonconsecutive values are delineated by a comma (,). Default: None
Description: Classifiers provide a convenient means of grouping traffic into classes. Traffic belonging to the same class is treated equally. The mpls classifier command supports the classification of MPLS packets by the MPLS PSC value.
Classifiers are configured at the global level and do not have actual interface resources associated with them until you establish a traffic assignment using the qos command, at which time one or more classifiers will be associated with a packet treatment.
An MPLS classifier can contain one or more MPLS PSC values. A single classifier can be entered per command line. A classifier's name can not be the same as any other classifier's name, including IP classifiers. Each multiple value entry must be delineated based upon whether it is part of a consecutive range or nonconsecutive set. A range of consecutive values is delineated by a dash (-); e.g., values 0 through 2 are entered as 0-2. A nonconsecutive set of values is delineated by a comma (,); e.g., values 0 and 2 are entered as 0,2.
You can configure as many classifiers as you wish. A configured MPLS classifier can contain any combination of valid MPLS PSC values. When assigning multiple classifiers to a single interface using traffic assignments, the traffic classes of one classifier can not be a proper subset of another classifier, i.e. no MPLS classifier can contain a proper subset member of another MPLS classifier.
For example, if one MPLS classifier has values 1-3 as its members, another MPLS classifier assigned to the same interface can not have values 2,3 as its members. This is true whether you are configuring multiple MPLS classifiers to a single traffic assignment or configuring multiple traffic assignments to an interface. An error will be generated if a proper subset of one classifier is found in a second classifier for a single interface.
Use the mpls classifier name exp mplsPsc_value command to create an MPLS classifier with the specified MPLS PSC value.
Use the no mpls classifier name command to delete a named MPLS classifier.
Factory Default: None.
Command Mode: Configuration.
Example 1: The following command creates an MPLS classifier named cEXP1 and associates MPLS PSC values 0 and 1:
router#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#mpls classifier cEXP1 psc 0,1
router(config)#end
router#show mpls classifier
mpls classifier cexp1 psc 0,1
Example 2: The following command deletes the MPLS classifier cEXP1:
router#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#no mpls classifier cEXP1
router#show mpls classifier
% no mpls-classifier defined
router#
Related Commands: show mpls classifier
qos
Copyright © 2004
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: QoSCommands.fm
HTML File Name: QoSCommands9.html
Last Updated: 12/19/04 at 14:58:58