
dscp-mapping parameter-set
Provides access to DSCP mapping command mode for the specified parameter-set mapping of DSCP values to PSCs.
Syntax: [no] dscp-mapping parameter-set name
name
The name of the DSCP parameter set.
Description: You must enter a DSCP mapping command mode in order to map DSCP values to PSCs. The mapping is global or interface specific depending upon the command mode you are in when you enter the dscp-mapping parameter-set command. If you are in configuration mode, the mapping is global to the router unless overwritten by an interface configuration. If you are in interface mode, the mapping is specific to that interface.
Use the dscp-mapping parameter-set command to enter the command mode for the mapping of DSCP to PSC values that you wish to associate with the named parameter-set. This parameter-set name is used for the configuration and deletion of mappings and is not associated with other commands.
Once in DSCP-mapping command mode, use the from dscpSpecifierList to psc command to map DSCP values to a PSC and associate the mappings with the specified parameter-set.
Use the no dscp-mapping parameter-set command to delete the named parameter-set. DSCP values configured in a deleted parameter-set are returned to the default parameter set.
Use the apply dscp-mapping parameter-set command in interface mode to set dscp-mapping parameter-sets for this interface.
Factory Default: None.
Command Mode: Configuration for global reach and Interface for interface specific.
Example 1: The following example provides access to the global command mode for configuring DSCP to PSC mappings for the redPREC5 parameter-set and maps DSCP values 40-47 to PSC 2 and sets the fabric priority to regulated:
router#config terminal
Enter configuration commands, one per line. End with CNTL/Z
router(config)#dscp-mapping parameter-set redPREC5
router(dscp-mapping)#from 40-47 to psc 2 dropPref red fabricPriority regulated
router(dscp-mapping)#end
router#show dscp-mapping
dscp-mapping default
dscp-mapping parameter-set redprec5
router#
Example 2: The following example provides access to the command mode for configuring DSCP to PSC mappings on the 1/5/1 interface for the BestEffort parameter-set:
router#config terminal
Enter configuration commands, one per line. End with CNTL/Z
router(config)#interface pos 1/5/1
router(config-if)#apply dscp-mapping parameter-set best-effort
router(config-if)#end
router#show dscp-mapping parameter-set best-effort
dscp-mapping parameter-set best-effort
from 0-15 to psc 0 dropPref green fabricPriority best-effort
from 16-31 to psc 1 dropPref green fabricPriority best-effort
from 32-47 to psc 2 dropPref green fabricPriority best-effort
from 48-63 to psc 3 dropPref green fabricPriority regulated
used by : pos 1/5/1
router#Example 3: The following command deletes the global DSCP to PSC mappings of the HighPriority parameter-set:
router#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#no dscp-mapping parameter-set HighPriority
Related Commands: apply dscp-mapping default
apply dscp-mapping parameter-set
dscp-mapping default
exp-mapping parameter-set
from dscpSpecifierList to psc
show dscp-mapping
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: QoSCommands12.html
Last Updated: 12/19/04 at 14:58:58