Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

How to apply different traffic bandwith to the ethernet interface.

I want to limit a different bandwidth per IP subnet. Please guide me how to implement.

1. connectivity.

PC1(1.1.1.100) ------(e0/1)---Router---(e0/0)----PC3(3.3.3.100)

PC2(2.2.2.100)

2. Requirement

1) allocate 6Mbps bandwidth to the e0/0.

2) allocate maximum 4.5Mbps on the output of e0/0 which traffic from PC1 with priority

3) allocate min 1.5Mbps on the output of e0/0 which traffic from PC2. max 6Mbps when no traffic from PC1.

3. Router configuration. this is my idea. please guide me.

!

access-list traffic ip permit 1.1.1.0 255.255.255.0 any

!

class-map match-any traffic-class

match address-group name traffic

!

policy-map traffic-policy

class traffic-class

priority 4500

class class-default

fair-queue

!

Interface e0/0

Ip add 3.3.3.1 255.255.255.0

Service-policy output traffic-policy

Traffic-shaping rate 6000000

!

Interface e0/1

Ip add 1.1.1.1 255.255.255.0

Ip add 2.2.2.1 255.255.255.0 secondary

Thanks,

2 REPLIES
Silver

Re: How to apply different traffic bandwith to the ethernet inte

You should use Rate limit by access list instead of Traffic Shaping. Limit the the total rate of the interface to 6MB, then with use of access list, specify that the 1.1.1.0 subnet be allowed 4.5MB. This will allow 1.5MB (bursting to 6MB) to the 2.2.2.0 subnet.

Check this link for more info

http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_configuration_guide_chapter09186a00800c75ce.html#24841

Community Member

Re: How to apply different traffic bandwith to the ethernet inte

Thanks your reply,

I have an another question.

How can I guarantee the subent 1.1.1.0 to 4.5MB ?

I want to give a priority to subnet 1.1.1.0 up to 4.5MB. my concern is it'll consume half for each subnet in burst(6MB). I think subnet 1.1.1.0 will never get 4.5MB.

Thanks,

123
Views
0
Helpful
2
Replies
CreatePlease to create content