Creates a QoS map where the ingress DSCP value is mapped to outgoing 802.1P values. This configures a DSCP-to-CoS map on the ingress interface.
DSCP-to-CoS mutation is not enabled.
dscp-cos mode for the QoS map dscp commands
Global configuration mode
This command remaps the incoming DSCP values of the ingress packet to egress CoS 802.1P values.
When you enter qos map dscp-cos, the system is placed in dscp-cos mode for the configured map. At this point, you can map ingress DSCP values to egress CoS values using the map dscp command.
Enter qos dscp-cos name while in configuration mode for a specific interface to apply the DSCP-to-CoS map to that interface.
Enter no qos dscp-cos name while in the interface configuration mode to remove the DSCP-to-CoS map from the interface.
Enter no map dscp-cos name while in global configuration mode to remove the DSCP-to-CoS map.
To create a QoS DSCP-to-CoS map and place system into dscp-cos mode:
device# configure terminal device(config)# qos map dscp-cos test device(dscp-cos-test)#
To map an ingress DSCP value to egress CoS value while in dscp-cos mode:
device# configure terminal device(config)# qos map dscp-cos test device(dscp-cos-test)# map dscp 43 to cos 4
To map multiple ingress DSCP values to egress CoS values while in dscp-cos mode:
device# configure terminal device(config)# qos map dscp-cos test device(dscp-cos-test)# map dscp 43 to cos 4 device(dscp-cos-test)# map dscp 63 to cos 6 device(dscp-cos-test)# map dscp 53 to cos 5 device(dscp-cos-test)# map dscp 23 to cos 2
To remove a QoS DSCP-CoS map while in global configuration mode:
device# configure terminal device(config)# no qos map dscp-cos test