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

set up different bandwidth on LAN interfaces of router

minimintu
Level 1
Level 1

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 4

bvsnarayana03
Level 5
Level 5

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
Level 9
Level 9

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

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

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

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco