cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
962
Views
0
Helpful
4
Replies

QOS ans mac access-list

mohamed louhab
Level 1
Level 1

Hi ,

in switch 2960s ( c2960s-universalk9-mz.122-55.SE5 ) , i want to marking the trafic between two hosts ( Data replication ), i choose to use " mac access-list"  to classify my trafic before apply the policy marking . but did'nt work . can you help me plz


!  my mac ACL

mac access-list extended test

permit host 000a.1a41.aa52 host 000a.1a41.1bc2

!

class-map match-all test

match access-group name test

!

! marking the trafic between tow hosts

policy-map test

class test

  set dscp af32


!  i apply the policy in intetface LAN


interface GigabitEthernet1/0/1

switchport mode trunk

service-policy input test


! 0 match in policy

sh policy-map interface gigabitEthernet 1/0/1

GigabitEthernet1/0/1

  Service-policy input: test

    Class-map: test (match-all)

      0 packets, 0 bytes

      5 minute offered rate 0 bps, drop rate 0 bps

      Match: access-group name test

    Class-map: class-default (match-any)

      0 packets, 0 bytes

      5 minute offered rate 0 bps, drop rate 0 bps

      Match: any

        0 packets, 0 bytes

        5 minute rate 0 bps

! 0 match in mac acl

sh access-lists

Extended MAC access list test

    permit host 000a.1a41.aa52 host 000a.1a41.1bc2

thank you ,

4 Replies 4

Peter Paluch
Cisco Employee
Cisco Employee

Hello Mohamed,

On 2960-S switches, MAC ACLs apply only to non-IP traffic. An IP packet can only be matched by an IP ACL. Therefore, if the data replication traffic is IP-based, you can not use MAC ACLs, rather, you must modify your configuration to use IP ACLs.

Best regards,

Peter