User Manual

[Description]
Applies the policy map to the corresponding LAN/SFP port and logical interface.
If this is executed with the "no" syntax, the policy map is deleted from the LAN/SFP port and logical interface.
[Note]
In order to execute this command, QoS must be enabled.
If a policy map has already been applied to the LAN/SFP port and logical interface, an error occurs.
For a class map that is associated with a policy map, an error occurs if there is not even one setting that corresponds to the trust
mode of the LAN/SFP port and logical interface. Of the class map settings, the following commands are limited in their
applicability by the trust mode.
Trust mode Command Restrictions
CoS set ip-dscp-queue Cannot be used
DSCP set cos-queue Cannot be used
Port Priority set cos Cannot be used
set ip-precedence
set ip-dscp
set cos-queue
set ip-dscp-queue
police, remark-map Cannot use a combination for which
remarking is enabled (*1)
*1) A combination for which remarking is enabled refers to when the yellow-action or red-action of the police command is set
to "remark" and the remark-map of the corresponding color is specified.
An LAN/SFP port to which a policy map is applied cannot be associated with an logical interface.
A policy map cannot be applied to an LAN/SFP port that is associated with an logical interface. However, in the case of settings
for an LAN/SFP port that is associated with an logical interface in the startup config, the setting for the lowest-numbered port is
applied to the logical interface.
[Example]
Apply policy map "policy1" to LAN port #1.
SWR2311P(config)#interface port1.1
SWR2311P(config-if)#service-policy input policy1
Remove policy map "policy1" from LAN port #1.
SWR2311P(config)#interface port1.1
SWR2311P(config-if)#no service-policy input policy1
9.2.23 Set pre-marking (CoS)
[Syntax]
set cos value
no set cos
[Parameter]
value : <0 - 7>
CoS value set by pre-marking
[Input mode]
policy map class mode
[Description]
Changes the CoS value of the classified traffic class to the specified CoS value. In addition, reassign the egress queue according
to the egress queue ID table that corresponds to the trust mode.
If this is executed with the "no" syntax, pre-marking processing of the CoS value corresponding to the traffic class is removed.
[Note]
In order to execute this command, QoS must be enabled.
260 | Command Reference |
Traffic control