el 03-03-2021 11:52 PM
Hi all!
I have a switch model C9300-48UXM, within my configuration in the SVI 100.
I need to set the bandwidth limit to 2 Mb. when creating the class-map and policy-map:
class-map match-all VLAN_100|2MBPS match vlan 100 ! ! policy-map VLAN_100|2MBPS class VLAN_100|2MBPS police cir 2120000 bc 460000 be 1420000 conform-action transmit exceed-action drop
As soon as I enter the policy-map to my vlan interface, the following log appears: Only Marking policy action is supported on SVI interface. Policy Rejected
interface Vlan100 description LAN ip address 10.52.35.46 255.255.255.0 ip ospf 200 area 0 service-policy input VLAN_100|2MBPS service-policy output VLAN_100|2MBPS Mar 4 07:37:06.878: Only Marking policy action is supported on SVI interface. Policy Rejected
For this model of equipment, what type of configuration would I need to apply to restrict the bandwidth in this SVI?
¡Resuelto! Ir a solución.
el 03-04-2021 06:23 AM
Hi
You can try using shaping instead policing.
There are some differences, for example:
Policing can be used in both directions
Shaping only outbound.
If you want to use policing so you can change the config through:
policy-map VLAN_100|2MBPS
class VLAN_100|2MBPS
police cir 2120000
conform-action transmit
exceed -action drop
or apply it on the default class just for testing purporse.
policy-map VLAN_100|2MBPS
class class-default
police cir 2120000
conform-action transmit
exceed -action drop
Regards.
el 03-04-2021 06:23 AM
Hi
You can try using shaping instead policing.
There are some differences, for example:
Policing can be used in both directions
Shaping only outbound.
If you want to use policing so you can change the config through:
policy-map VLAN_100|2MBPS
class VLAN_100|2MBPS
police cir 2120000
conform-action transmit
exceed -action drop
or apply it on the default class just for testing purporse.
policy-map VLAN_100|2MBPS
class class-default
police cir 2120000
conform-action transmit
exceed -action drop
Regards.
Descubra y salve sus notas favoritas. Vuelva a encontrar las respuestas de los expertos, guías paso a paso, temas recientes y mucho más.
¿Es nuevo por aquí? Empiece con estos tips. Cómo usar la comunidad Guía para nuevos miembros
Navegue y encuentre contenido personalizado de la comunidad