YAMAHA SWX2310-18GT manual
¿Te sirvió?
Texto de la página 330
330 | Command Reference | Traffic control
SWX2310P(config)#access-list 1 permit any 10.1.0.0 0.0.255.255 any
SWX2310P(config)#class-map class1
SWX2310P(config-cmap)#match access-list 1
SWX2310P(config-cmap)#exit
[Policy settings]
SWX2310P(config)#policy-map policy1
SWX2310P(config-pmap)#class class1
SWX2310P(config-pmap-c)#police 48 12 12 yellow-action remark red-action drop
SWX2310P(config-pmap-c)#remark-map yellow ip-dscp 10
SWX2310P(config-pmap-c)#exit
SWX2310P(config-pmap)#exit
SWX2310P(config)#interface port1.1
SWX2310P(config-if)#service-policy input policy1
9.2.22 Apply policy map for received frames
[Syntax]
service-policy input name
no service-policy name
[Parameter]
name
:
Name of policy map to apply
[Input mode]
interface mode
[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.
Metering cannot be performed on the following logical interfaces. A policy map that includes metering (policer) settings
(police-type commands) must not be applied.
•
Logical interfaces that are grouped across member switches constituting a stack
¿Necesitas ayuda?
¿Tienes una duda sobre el YAMAHA SWX2310-18GT que el manual no resuelve? Pregunta a otros propietarios.
0 preguntas
Preguntas frecuentes sobre el YAMAHA SWX2310-18GT
¿El manual del YAMAHA SWX2310-18GT está disponible en inglés?
Sí, el manual del YAMAHA SWX2310-18GT está disponible en inglés.
¿Cuántas páginas tiene el manual del YAMAHA SWX2310-18GT?
El manual del YAMAHA SWX2310-18GT tiene 370 páginas y el PDF ocupa 1.2 MB. Puedes consultarlo gratis en esta página.









