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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

set up different bandwidth on LAN interfaces of router

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..

4 REPLIES

Re: set up different bandwidth on LAN interfaces of router

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.

Re: set up different bandwidth on LAN interfaces of router

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

New Member

Re: set up different bandwidth on LAN interfaces of router

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

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

Bronze

Re: set up different bandwidth on LAN interfaces of router

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.

134
Views
0
Helpful
4
Replies