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

Traffic Shaping with acl

drojasug33
Level 1
Level 1

Hello,

I'm thinking about applying differente traffic shaping to packets with different destination in the same interface. So the idea is to identify the traffic in the inbound interface, and then if the packet destination is X then he gets 5Mbps but if the packet destination is Y then he gets 10 Mbps.I've tried with acls, but I figured that you can't assign two different acls to the same intreface. I cant use subinterfaces.

Thanks in advance.

Regards,

Daniel

1 Accepted Solution

Accepted Solutions

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Daniel,

first of all shaping can only be done outbound on outgoing interface

you need to use QoS, modular QoS, and you can define different traffic classes and in defining those traffic classes you use different ACLs

access-list 111 permit ip host x  host y

access-list 112 permit ip host x host z

class CM-1

match access-group 111

class CM-2

match access-group 112

policy-map shape_multiple

class CM-1

shape average 5000000

class CM-2

shape average 10000000

int wan

service-policy output shape_multiple

you can define more classes as needed

Hope to help

Giuseppe

View solution in original post

4 Replies 4

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Daniel,

first of all shaping can only be done outbound on outgoing interface

you need to use QoS, modular QoS, and you can define different traffic classes and in defining those traffic classes you use different ACLs

access-list 111 permit ip host x  host y

access-list 112 permit ip host x host z

class CM-1

match access-group 111

class CM-2

match access-group 112

policy-map shape_multiple

class CM-1

shape average 5000000

class CM-2

shape average 10000000

int wan

service-policy output shape_multiple

you can define more classes as needed

Hope to help

Giuseppe

Thanks a lot for your help.

I'm going to try it.

Regards,

Daniel

Hi giuslar,

I have another question. Do I have to apply the acl on the interface?

Thanks.

Regards,

Daniel Rojas

drojasug33 wrote:

Hi giuslar,

I have another question. Do I have to apply the acl on the interface?

Thanks.

Regards,

Daniel Rojas

Daniel

No you don't. ACL's can be used for a number of different things eg. route-maps, NAT, QOS and none of these need the acl to be applied to the interface. Just apply the service-policy and you will be fine.

Jon

Review Cisco Networking products for a $25 gift card