cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2029
Views
0
Helpful
9
Replies

QOS is not working on 2960 switch

vishal agavane
Level 1
Level 1

Hi,

 

We have layer-2 network of 2960 & 4500 switches (2960 --Trunk---4500 ---Trunk---2960), we have marked COS/DSCP value at 2960 access switch as EF even thought QOS is not working. we cant see packets hits to ACL and policy-map as well.

 

Our configuration is as follow.

 

access-list 101 permit ip any any

Class-map Test

match access-group 101

 

policy-map Test

class Test

set DSCP EF

 

Attached above policy to end user port

Interface G1/0/2

service-policy input Test

 

Please suggest.

 

 

 

9 Replies 9

Julio E. Moisa
VIP Alumni
VIP Alumni

Hi

Could you please share the following output

show policy-map interface g1/0/2

 

Thanks

 




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Please find below output..

 

2960-Switch#sh policy-map interface gi 1/0/2
 GigabitEthernet1/0/2 (End user connected port)

  Service-policy input: DLP

    Class-map: DL (match-any)
      0 packets, 0 bytes
      5 minute offered rate 0000 bps, drop rate 0000 bps
      Match: access-group name TEST

    Class-map: class-default (match-any)
      0 packets, 0 bytes
      5 minute offered rate 0000 bps, drop rate 0000 bps
      Match: any
ZOR-98B09A-AS#

 

We have TEST ACL (permit ip any any)

 

Hello

Does the 4550 have qos enabled - if so it will remark the packet if not trusted on its trunks between the 2960's

res

Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Hi Paul,

 

For testing purpose we have connected 2960 switch back to back through trunk port and configured QOS. MLS QOS is enabled globally.

 

We were tested QOS with 4500 switches by connecting them back to back and found it was working fine, QOS configuration on 4500.

 

------------

Class-map Test match-any

match access-group Test

 

Policy-map Test

class Test

set cos 5

 

Class-map IMP

match cos 5

 

policy-map IMP

class IMP

priority

 

Access Port :- service-policy input Test

Uplink interface --- service-policy out IMP

 

--------------

 

I can't attached service-policy in output direction in 2960 switch? and i cant see any priority option under policy-map available in 2960 switches? can you please help me to understand how 2960 will priorities COS/DSCP mark traffic? do we have to configure any setting/configuration on Trunk port to get cos/dscp mark traffic on priority.

Now Layer-2 QOS seems working fine.

 

I have enabled MLS QOS globally and assigned Priority-Queue out on uplink interface with Class-map and policy map which marked access port traffic with DSCP "EF"

 

Now only problem with me is i cant see anywhere that QOS is matching policy-map or ACS getting hit, etc.

 

Can you please let me know how to check that configured QOS is working? any commands which help me to see working QOS? as far as i remember with other cisco switches i could see ACL getting hitted and policy-map also showing matched packets but in Layer-2 switch i can't see any one of them.

Hello

On the receiving switch you can capture the traffic for that specific marked class.

 

class-map DSCP_cm
match ip DSCP EF

policy-map DHCP_pm
class DSCP_cm

in x/x
service-policy input DHCP_pm

sh policy-map interface x/x

res
Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

We have tried that but unable to get anything, however QOS working fine.

 

----------

Class-map: DL (match-any)
      0 packets, 0 bytes
      5 minute offered rate 0000 bps, drop rate 0000 bps
      Match: access-group name TEST

    Class-map: class-default (match-any)
      0 packets, 0 bytes
      5 minute offered rate 0000 bps, drop rate 0000 bps
      Match: any
AS#

 

-----------

Hello

on the switches-
sh mls qos maps cos-dscp

Make sure the dscp markings your capturing match to the cos value you have classified the traffic with and amend your class-map accordingly?

 

Lasty - How are you generating the traffic to capture?

 

res
Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Joseph W. Doherty
Hall of Fame
Hall of Fame
On a 2960, you generally won't see hits on a QoS policy as you would on a router.

You need to look at the QoS stats on the ASICs.

There's commands for that, but I don't recall what they are off-the-top-of-my-head.