05-05-2021 07:48 AM
Hi Community.
We like to add following service policy under a specified Trunk Interface but only on a specific VLAN.
-----------------------
policy-map child
class voice
priority level 1
police cir 20000000
class class-default
policy-map parent
class class-default
shape average 50000000
service-policy child
-----------------------
I've read about the "match vlan" command. Therefore I'm using that command under the following class:
class-map match-any voice
match vlan xxx
But if i try to add the service-policy under the Interface I'm getting following two error messages:
"Hierarchical Policy must have child under all user defined classes for wired ports"
"Queuing actions supported only with dscp/cos/qos-group/precedence/exp based classification!!!"
We tried everything but getting all the time these two error messages.
Can someone please help me out? How do i add my policy under a VLAN underlying an interface?
Thanks in advance and best regards Patrick
05-05-2021 09:43 AM
- On which switch-model are you trying this ?
M.
05-05-2021 10:25 AM - edited 05-06-2021 05:14 AM
I try to do apply my config on my Lab. The switch-model is a 9200L and the IOS-XE is 16.9.4.
My goal is to limit and guarantee the traffic on specified VLAN/Network Range.
I modified my config often, but it looks like that i can't apply my limit and guarantee QOS config on specified VLAN/Network Range.
Here my new config:
ip access-list extended VLAN_1291
remark ------------------------------------
remark limit & guarantee VLAN 1291 outbound
permit tcp 192.168.50.0 0.0.0.255 any
remark ------------------------------------
class-map match-any VOIP
match access-group name VLAN_1291
match dscp cs4 cs5 ef
match cos 5
policy-map VOIP_limit_guarantee
class VOIP
police cir 2000000
shape average 25000000
class class-default
If i add the policy to the Interface I've get following error:
"Invalid queuing class-map!!! Queuing actions supported only with dscp/cos/qos-group/precedence/exp based classification!!!"
If i remove the line "match access-group name VLAN_1291" under the class-map "VOIP" I'm able to add the policy to the Interface.
So, does any one have an idea how i limit and guarantee the traffic on specified VLAN/Network Range?
Thanks in advance and kind Regards patrick
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide