×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

How to apply different traffic bandwith to the ethernet interface.

Unanswered Question
Apr 23rd, 2003
User Badges:

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,

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
olorunloba Thu, 04/24/2003 - 08:26
User Badges:
  • Silver, 250 points or more

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


cjrchoi11 Sun, 04/27/2003 - 15:54
User Badges:

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,

Actions

This Discussion