cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
411
Views
0
Helpful
1
Replies

QOS , Policing | need help

musthafa786
Level 1
Level 1

Hello,

Based on below diagram , Is the confiuration correct in switch SW1  for policing 1mb data when communicate from 192.168.10.0/24 subnet to 192.168.20.0/24  ?

SW1 is purely L2 switch ( no routing). Distribution switch SW3 is having vlan interface for vlan 10 and 20 and ip  192.168.10.1 and 192.168.20.1 respectively, thanks.

QOS.JPG

Here is SW1 conf iguration:

spanning-tree mode rapid-pvst

spanning-tree etherchannel guard misconfig

spanning-tree extend system-id

!

!

!

!

vlan internal allocation policy ascending

!

vlan 10

!

!

class-map match-all Critical

match access-group name Critical

policy-map Policy-QoS

class Critical

  police 10000000 8000 exceed-action drop

  set dscp cs3

class class-default

  set dscp default

!

!

!

!

interface FastEthernet1/0/1

switchport access vlan 10

spanning-tree portfast

spanning-tree bpduguard enable

service-policy input Policy-QoS

!

interface FastEthernet1/0/2

switchport access vlan 10

spanning-tree portfast

spanning-tree bpduguard enable

service-policy input Policy-QoS

!

interface FastEthernet1/0/3

switchport access vlan 10

spanning-tree portfast

spanning-tree bpduguard enable

service-policy input Policy-QoS

!

interface FastEthernet1/0/4

switchport access vlan 10

spanning-tree portfast

spanning-tree bpduguard enable

service-policy input Policy-QoS

interface GigabitEthernet1/0/1

description UPlink

switchport trunk encapsulation dot1q

switchport trunk allowed vlan 10

switchport mode trunk

mls qos trust cos

!

ip access-list extended Critical

deny   icmp 192.168.10.0 0.0.0.255 192.168.20.0 0.0.0.255

permit ip 192.168.10.0 0.0.0.255 192.168.20.0 0.0.0.255

deny   ip any any

1 Reply 1

musthafa786
Level 1
Level 1

This is just a doubt , Can I use access list with matching IP hosts for packet clasification in Layer 2 switch ( no routing ) ?

Regards,

Musthafa