cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
585
Views
10
Helpful
2
Replies

Service Policy under Interface with "match vlan" option > error message

Patrick Werner
Level 1
Level 1

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

 

 

2 Replies 2

marce1000
VIP
VIP

 

 - On which switch-model are you trying this ?

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Patrick Werner
Level 1
Level 1

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

 

 

Review Cisco Networking for a $25 gift card