User Manual

Table Of Contents
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".
SWX3220#show class-map class1
Class-Map Name: class1
Match vlan 10
9.2.21 Generate policy map for received frames
[Syntax]
policy-map name
no policy-map name
[Parameter]
name : Name of policy map (maximum 32 characters; uppercase and lowercase are distinguished)
[Input mode]
global configuration mode
[Description]
Generates a policy map. The policy map combines the following processing for received frames, for each traffic class.
Traffic classification
Pre-marking
Metering
Policing
Remarking
The policy map generated by this command can be applied to LAN/SFP port and logical interface by the service-policy input
command. This classifies received frames into traffic classes according to each class map in the policy map, and applies the
QoS process specified by the user to each class of traffic.
After generating the policy map, move to policy map mode to specify its content.
If this is executed with the "no" syntax, the specified policy map is deleted.
[Note]
In order to execute this command, QoS must be enabled.
If the specified policy map has already been generated, the change is applied to the previous settings. However, if the policy
map is already applied to LAN/SFP port and logical interface, it cannot be edited or deleted.
[Example]
Make the following settings for received frames to LAN port #1.
Permit traffic from the 10.1.0.0 network
Categorize bandwidth classes as CIR:48kbps, CBS:12kbyte, and EBS:12kbyte
Green: forward, Yellow: rewrite DSCP value to 10, Red: discard
[Traffic class definition]
420 | Command Reference | Traffic control