cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1133
Views
15
Helpful
3
Replies

3750X Rate Limit Backup Traffic on WAN

CNM88
Level 1
Level 1

I've got a 3750X that I would like to rate limit backup traffic destined for a remote site. I've defined my source IP addresses using an ACL and class-map. The issue is that version 15.X doesn't seem to support the "shape average" commands. I've been looking into the "Police" command set but it apperas that my only option is to drop traffic. Is that what I want to do? The plan is to apply the policy map inbound to the SVI on the 3750X.

3 Replies 3

Hello,

below is a sample config where you police traffic defined in access list 101 to 20Mbit. Adjust the values to fit your specifics.

On the 3750x, in order to apply the policy to an SVI, you need to have a hierarchical setup, that is why the parent policy is created. It doesn't do anything, as it just marks all traffic with a default dscp, but without the parent, it won't work.

Don't forget to apply 'mls qos vlan-based' to all physical ports belonging to the VLAN in question.

 

mls qos
!
interface GigabitEthernet1/0/3
 switchport access vlan 20
 switchport mode access
 mls qos vlan-based
!
class-map match-all POLICE_BACKUP
 match ip address 101
!
policy-map VLAN20_POLICE
 class POLICE_BACKUP
  police 20000000 1000000 exceed-action drop
!
policy-map VLAN20_PARENT
 class class-default
  set dscp default
 service-policy VLAN20_POLICE
!
interface Vlan20
 service-policy input VLAN20_PARENT
!
access-list 101 permit ip 192.168.1.0 0.0.0.255 10.10.10.0 0.0.0.255

Thanks all! I think you're spot on. This is exactly the information I needed.

bersoare
Cisco Employee
Cisco Employee

Have you tried applying it outbound?

Not all devices are capable of shaping in the inbound direction.

Review Cisco Networking for a $25 gift card