set up different bandwidth on LAN interfaces of router

Unanswered Question
Oct 22nd, 2007

i have set up a small lab for testing optimization of certain applications...i have connected two routers with gigabit port to be utilized as WAN connections..since gigabit port supports 1000mbps, but i want to have only 1Mbps or 2 Mbps i.e less than 1000Mbps between both routers...means i want to make LAN port as WAN port..

how to achieve this bandwidth...kindly provide the configuration to achieve this..

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
bvsnarayana03 Mon, 10/22/2007 - 21:35

Router(config-if)#bandwidth x

Sets the bandwidth of this interface to x kilobits to allow make a better routing decision.

The bandwidth command is used for metric calculations only. It does not change interface performance.

spremkumar Mon, 10/22/2007 - 21:42

Hi

In this case applying bandwidth command followed by the bandwidth parameter wont help to achieve getting exactly the required bandwidth throughput you like to have here.

You need to make use of rate-limit commands or police command to make sure that you are limiting or subscribing only to the required/desired limit.

Configuring bandwidth command may come handy when you are having routing protocols configured between your router which i dont think is the case here.

regds

minimintu Mon, 10/22/2007 - 21:49

you are right as there are no routing protocols configured..

can u please provide me the configuration for rate-limit commands or police commands?

a.cruea1980 Tue, 10/23/2007 - 08:55

Actually, the bandwidth command is used to let an interface know when to expect congestion, not limit it on it's transmit/receive speed.

For example, set up rate-limiting both ingress and egress on one of your routers. On the other router, you really only need to provide the bandwidth at which the router should expect congestion; at that point, it will start implementing QoS.

The bandwidth command isn't simply a routing metric; it communicates to a few higher level protocols. One of those being QoS.

http://www.cisco.com/en/US/docs/ios/11_0/router/command/reference/rinterfc.html#wp1396

Also, how to rate-limit and police:

http://www.cisco.com/en/US/docs/ios/12_2/qos/command/reference/qrfcmd8.html

http://www.cisco.com/en/US/docs/ios/12_2/qos/command/reference/qrfcmd9.html

http://www.cisco.com/en/US/docs/ios/12_2/qos/command/reference/qrfcmd5.html#wp1064737

I would also suggest using shaping and not policing. . .policing will stop traffic, whereas shaping, in general, is a little more "gentle" in how it handles over-consumption of bandwidth.

Actions

This Discussion