[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".
SWR2311P(config)#class-map class1
SWR2311P(config-cmap)#match vlan-range 20 to 30
9.2.20 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)
Match Access-List
Access list ID
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
• The classification condition is shown only once for each type that is specified.
• A classification condition for which a corresponding command (match) is not set will not be shown.
[Note]
In order to execute this command, QoS must be enabled.
[Example]
Show information for class map "class1".
SWR2311P#show class-map class1
238
| Command Reference | Traffic control