Solved

What is relation between speed and bandwidth when it is under interface mode?

Posted on 2016-09-22
16
55 Views
Last Modified: 2016-09-23
Hi In the interface mode, we have two choices to configure, speed and bandwidth. What is relation between the speed and bandwidth? Thank you
0
Comment
Question by:eemoon
  • 7
  • 4
  • 3
  • +1
16 Comments
 
LVL 93

Expert Comment

by:John Hurst
ID: 41811258
They are sometimes used interchangeably.

Speed is normally the native speed of the device or circuit. E.g. a 1 Gbit/second network card.

Bandwidth is normally the speed of supply. Your internet may be supplying 20 Bits/second even though your router is capable of more.

Configure bandwidth in your example above for the highest available unless you are trying to constrain it in some way.
0
 
LVL 28

Expert Comment

by:Jan Springer
ID: 41811270
In Cisco kit, "bandwidth" is an identifier to higher level protocols.  It can be used to de-prefer or prefer one interface over another.  It has no real impact on throughput.

Speed identifies the negotiation of the ethernet interface.

If you ever desire to restrict bandwidth on an interface, you want to use QoS: class-maps, policy-maps, access-lists, etc and apply the policy to the interface.
0
 

Author Comment

by:eemoon
ID: 41811355
Thank you so much for your reply.

Speed identifies the negotiation of the ethernet interface

Can you explain it?

If we use "speed 100" under interface, or "speed 1000", what is difference between the two?
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 28

Expert Comment

by:Jan Springer
ID: 41811363
100M vs 1000M (or 100M and 1G).

If you use "speed 100" on a gigabit interface and both end negotiate properly, you have throttled the max throughput to 100M.
0
 
LVL 93

Expert Comment

by:John Hurst
ID: 41811447
That is what I was suggesting when I said you could set speed/bandwidth to constrain overall bandwidth used.
0
 
LVL 28

Expert Comment

by:Jan Springer
ID: 41811470
Not with the "bandwidth" command.  It's used for route preference.  

Only "speed" (which is limited) or QoS can change input and output throughput.
0
 
LVL 93

Expert Comment

by:John Hurst
ID: 41811473
That is for Cisco I assume
0
 
LVL 28

Expert Comment

by:Jan Springer
ID: 41811475
Yes.  That's why I mentioned it "with Cisco kit ... ".

But, Brocade doesn't have the "bandwidth" command and I believe Juniper does not either.  

I can't recall Adtran.
0
 
LVL 45

Expert Comment

by:Craig Beck
ID: 41812555
Bandwidth is better considered as capacity instead of speed.

Imagine a road.  With 1 lane your car can travel at a maximum speed of 100Mph.  If you add another lane you don't make the car go faster, but instead you add capacity.

In a circuit, if you have a 200Mbps connection you'd usually have a 1Gbps bearer, so the speed is 1Gbps but the bandwidth is 200Mbps.
0
 
LVL 28

Expert Comment

by:Jan Springer
ID: 41812584
No, Craig.

The author didn't ask for a definition of "bandwidth".  He asked how the "bandwidth" command is used within an interface configuration.
0
 

Author Comment

by:eemoon
ID: 41812717
"bandwidth" is capacity concept, while "speed" is close to real traffic concept, but we can setup the "speed" to limit the traffic flow. and in the same physical interface, "bandwidth" is greater than "speed" am i right?
0
 
LVL 28

Expert Comment

by:Jan Springer
ID: 41812737
There is no relationship.  You cannot compare the two commands.

"bandwidth" is not relative to speed or capacity but is used to influence your interior routing.  

It has no impact on the throughput of the interface.
0
 

Author Comment

by:eemoon
ID: 41812781
"bandwidth" is not relative to speed or capacity but is used to influence your interior routing.  

What does "bandwidth" impact on? Thank you
0
 
LVL 28

Accepted Solution

by:
Jan Springer earned 500 total points
ID: 41812796
Interior routing protocols -- such as OSPF -- will use the bandwidth configured on an interface to determine cost.  

Cost is a routing metric that determines which path is more preferred over another.

When you configure it, you *do not change the maximum throughput based upon the negotiated speed/duplex on the interface*

So:

interface Gi1/0/1
  bandwidth 100
  speed 1000
  duplex full

You are telling OSPF to not prefer this interface where another interface has "bandwidth 1000" (or whatever the actual syntax is).  This does not prevent the downstream device from consuming 1G.  It can.

If your other interface is 100M, then, everything else being equal, both paths will be equally preferred.

Some tools will also use that in configuring thresholds (i.e., MRTG).
1
 
LVL 45

Expert Comment

by:Craig Beck
ID: 41812925
Jan is spot on.  Just to add, the bandwidth command doesn't affect the interface at all; only protocols that use the interface.  The speed command directly affects the interface, not protocols that use the interface.
0
 

Author Comment

by:eemoon
ID: 41813275
Thank you Jan,  and Craig and john. Jan is right and gave very clear explanation.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question