User Manual
[Note]
In order to execute this command, QoS must be enabled.
[Example]
Specify DSCP values "48" and "56" as the classification conditions for class map "class1."
SWP1(config)#class-map class1
SWP1(config-cmap)#match ip-dscp 48 56
13.2.21 Set traffic classification conditions (Ethernet Type)
[Syntax]
match ethertype type
no match ethertype
[Parameter]
type : 0xXXXX
Specifies the type value of the Ethernet frame in hexadecimal.
[Input mode]
class map mode
[Description]
Uses the Ethernet frame's type value as the condition to classify the traffic class.
If this command is executed with the "no" syntax, the condition setting using the Ethernet frame's type value is deleted.
If this setting has already been made by the match ethertype command, the content of the setting is changed.
[Note]
In order to execute this command, QoS must be enabled.
[Example]
Set Ethernet frame type value "0x0800" as the classification condition for class map "class1."
SWP1(config)#class-map class1
SWP1(config-cmap)#match ethertype 0x0800
13.2.22 Set traffic classification conditions (VLAN ID)
[Syntax]
match vlan id
no match vlan
[Parameter]
id : <1 - 4094>
VLAN ID used as classification condition.
[Input mode]
class map mode
[Description]
Uses the VLAN ID as the condition to classify the traffic class.
If this command is executed with the "no" syntax, the classification conditions using VLAN ID are deleted.
The setting can be repeated up to the maximum number (30) of registrations.
[Note]
In order to execute this command, QoS must be enabled.
[Example]
Specify VLAN #20 as the classification conditions for class map "class1."
SWP1(config)#class-map class1
SWP1(config-cmap)#match vlan 20
192 | Command Reference |
Traffic control