User`s manual
31
5. Set up 802.1p and DSCP remarking
Remarking command
Parameter
Description
Switch(config)# qos remarking
[dscp | 802.1p]
[dscp |
802.1p]
Enable the specific remarking mode
dscp: Configure the queue and DSCP
mapping
<Q0 | Q1 | Q2 | Q3>: Specify the queue.
<0-63>: Assign DSCP to the specific
queue.
Example:
Switch(config)# qos remarking dscp Q1 48
802.1p: configure the queue and 802.1p
priority bit mapping
<Q0 | Q1 | Q2 | Q3>: Specify the queue.
<0-7>: Assign 802.1p priority bit to the
specific queue.
Example:
Switch(config)# qos remarking 802.1p Q3 5
No command
Switch(config)# no qos remarking [dscp |
802.1p]
Disable DSCP or 802.1p bit remarking.
Switch(config)# no qos remarking [dscp |
802.1p] [Q0 | Q1 | Q2 | Q3]
Set the DSCP or 802.1p bit value in the
specific queue back to the default setting.
Show command
Switch(config)# show qos remarking
Show current DSCP and 802.1p priority bit
remarking configuration.
Remarking example
Switch(config)# qos remarking 802.1p Q3 5
Assign 802.1p bit 5 to priority queue3.
Switch(config)# no qos remarking dscp Q1
Set the DSCP value in priority queue 1
back to the default setting.
6. Set up VLAN ID and queue mapping
Vid-map command
Parameter
Description
Switch(config)# qos vid-map
[1-8]
[1-8]
Select the mapping entry.
Switch(config-vid-map-ID)#
active
Enable the mapping entry.
Switch(config-vid-map-ID)#
vlan-id [1-4094]
[1-4094]
Specify the VLAN ID.
Switch(config-vid-map-ID)#
queue [0-3]
[0-3]
Specify the queue to which the specified
VLAN ID is assigned.
Switch(config-vid-map-ID)# exit
Exit the specific entry.