Use the DSCP value to specify the egress queue; the egress queue that is assigned is based on the "DSCP-egress queue ID
conversion table."
If this is executed with the "no" syntax, the specification of egress queue based on traffic class is removed.
[Note]
In order to execute this command, QoS must be enabled.
Egress queue specification cannot be used in conjunction with pre-marking.
Egress queue specification based on DSCP is only for DSCP trust mode. If a policy map contains even one class map that
includes this command, that policy map cannot be applied to a port that uses DSCP trust mode.
[Example]
Make the following settings for received frames of LAN port #1
• Permit traffic from the 10.1.0.0 network
• Change the classified traffic class to egress queue 3 (DSCP:24)
[Traffic class definition]
SWR2311P(config)#access-list 1 permit any 10.1.0.0 0.0.255.255 any
SWR2311P(config)#class-map class1
SWR2311P(config-cmap)#match access-list 1
SWR2311P(config-cmap)#exit
[Policy settings]
SWR2311P(config)#policy-map policy1
SWR2311P(config-pmap)#class class1
SWR2311P(config-pmap-c)#set ip-dscp-queue 24
SWR2311P(config-pmap-c)#exit
SWR2311P(config-pmap)#exit
SWR2311P(config)#interface port1.1
SWR2311P(config-if)#service-policy input policy1
9.2.39 Show policy map information
[Syntax]
show
policy-map
[
name
]
[Parameter]
name
:
Policy map name. If this is omitted, all policy map information is shown.
[Input mode]
unprivileged EXEC mode, priviledged EXEC mode
[Description]
Shows information for the specified policy map. The following content is shown.
Item
Description
Policy-Map Name
Policy map name
State
Application status of the policy map (attached/detached)
Class-Map Name
Class map information. For details, refer to the
show class-
map
command.
Match
Classification conditions
- Match Access-List (Access list ID)
- Match ethertype (Ethernet Type)
- Match vlan (VLAN ID)
- Match vlan-range (VLAN ID)
- Match CoS (CoS value)
- Match IP precedence (TOS precedence)
- Match IP DSCP (DSCP value)
Set
Pre-marking setting, egress queue setting
- Set CoS (Pre-marking setting : CoS value)
- Set IP precedence (Pre-marking setting : TOS precedence)
Command Reference | Traffic control |
253