Does Qos work in vIOS L2 image?

Moderator: mike

Post Reply
jchan
Posts: 15
Joined: Sat Aug 12, 2017 3:22 pm

Does Qos work in vIOS L2 image?

Post by jchan » Wed Aug 16, 2017 2:44 am

My OS image is : viosl2-adventerprisek9-m-15.2(20170321)

Tried applying "service-policy input/output xxx" on interface port or SVI, it is not working. No hit or match on show policy-map interface outputs.

I am just wonder that does Qos work in vIOS L2 image?

Switch#sh policy-map int
GigabitEthernet0/2

Service-policy input: PM_USAfx

Class-map: CM_DISTRICT_1 (match-all)
0 packets, 0 bytes
30 second offered rate 0000 bps, drop rate 0000 bps
Match: access-group name ACL_DISTRICT_1
police:
rate 8000 bps, burst 1500 bytes
conformed 0 packets, 0 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
conformed 0000 bps, exceeded 0000 bps

Class-map: CM_DISTRICT_2 (match-all)
0 packets, 0 bytes
30 second offered rate 0000 bps, drop rate 0000 bps
Match: access-group name ACL_DISTRICT_2
police:
rate 8000 bps, burst 1500 bytes
conformed 0 packets, 0 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
conformed 0000 bps, exceeded 0000 bps

Class-map: class-default (match-any)
0 packets, 0 bytes
30 second offered rate 0000 bps, drop rate 0000 bps
Match: any
Switch#

ramindia
Posts: 409
Joined: Sun Mar 19, 2017 10:27 pm

Re: Does Qos work in vIOS L2 image?

Post by ramindia » Wed Aug 16, 2017 6:18 pm

jchan wrote:
Wed Aug 16, 2017 2:44 am
My OS image is : viosl2-adventerprisek9-m-15.2(20170321)

Tried applying "service-policy input/output xxx" on interface port or SVI, it is not working. No hit or match on show policy-map interface outputs.

I am just wonder that does Qos work in vIOS L2 image?

Switch#sh policy-map int
GigabitEthernet0/2

Service-policy input: PM_USAfx

Class-map: CM_DISTRICT_1 (match-all)
0 packets, 0 bytes
30 second offered rate 0000 bps, drop rate 0000 bps
Match: access-group name ACL_DISTRICT_1
police:
rate 8000 bps, burst 1500 bytes
conformed 0 packets, 0 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
conformed 0000 bps, exceeded 0000 bps

Class-map: CM_DISTRICT_2 (match-all)
0 packets, 0 bytes
30 second offered rate 0000 bps, drop rate 0000 bps
Match: access-group name ACL_DISTRICT_2
police:
rate 8000 bps, burst 1500 bytes
conformed 0 packets, 0 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
conformed 0000 bps, exceeded 0000 bps

Class-map: class-default (match-any)
0 packets, 0 bytes
30 second offered rate 0000 bps, drop rate 0000 bps
Match: any
Switch#
post your config.

R!

jchan
Posts: 15
Joined: Sat Aug 12, 2017 3:22 pm

Re: Does Qos work in vIOS L2 image?

Post by jchan » Wed Aug 16, 2017 11:50 pm

Nothing special, very straight forward config as shown below.

!
ip access-list extended ACL_DISTRICT_1
permit ip 192.168.1.0 0.0.0.255 any
permit ip any 192.168.1.0 0.0.0.255
!
ip access-list extended ACL_DISTRICT_2
permit ip 192.168.2.0 0.0.0.255 any
permit ip any 192.168.2.0 0.0.0.255
!
class-map match-all CM_DISTRICT_1
match access-group name ACL_DISTRICT_1
!
class-map match-all CM_DISTRICT_2
match access-group name ACL_DISTRICT_2
!
policy-map PM_QOS
class CM_DISTRICT_1
police cir 8000
conform-action transmit
exceed-action drop
class CM_DISTRICT_2
police cir 8000
conform-action transmit
exceed-action drop
!
Int Gx/x
service-policy input PM_QOS
!

Thanks

Post Reply