User Manual
13.2.23 Set traffic classification conditions (VLAN ID range)
[Syntax]
match vlan-range id-start to id-end
[Parameter]
id-start : <1 - 4094>
Starting VLAN ID value used as classification condition.
id-end : <1 - 4094>
Ending VLAN ID value used as classification condition. The range from the specified starting value
to the ending value can be a maximum of 30.
[Input mode]
class map mode
[Description]
Uses the VLAN ID as the condition to classify the traffic class.
To delete the classification condition, use the no match vlan command.
This can be used in conjunction with the setting of the match vlan command.
The match vlan command or match vlan-range command settings can be repeated up to the maximum number that can be
registered (30).
[Note]
In order to execute this command, QoS must be enabled.
[Example]
Specify VLAN #20 through #30 as the classification conditions for class map "class1."
SWP1(config)#class-map class1
SWP1(config-cmap)#match vlan-range 20 to 30
13.2.24 Show class map information
[Syntax]
show class-map [name]
[Parameter]
name : Class map name. If this is omitted, all class map information is shown.
[Input mode]
unprivileged EXEC mode、priviledged EXEC mode
[Description]
Shows information for the specified class map. The following information is shown for each class map.
Section Item Description
Classification conditions (match) QoS-Access-List Name Access list name
Match ethertype Ethernet Type
Match vlan VLAN ID
Match vlan-range
Match CoS CoS value
Match IP precedence TOS precedence
Match IP DSCP DSCP value
Pre-marking setting, egress queue setting
(set)
Set CoS >Pre-marking setting (CoS value)
Set IP precedence Pre-marking setting (TOS precedence)
Set IP DSCP Pre-marking setting (DSCP value)
Command Reference | Traffic control | 193