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

bandwidth command

sarahr202
Level 5
Level 5

Hi every body.

Let say we have two switches ,sw1 and sw2 with 10/100 ports.

Both are connected as:

sw1 f0/1----------f0/1 sw2

Now if i configure sw1 as:

int f0/1

bandwidth 10,000K ( same thing 10Mb)

sw2:

int f0/1

bandwidth 10,000K

will the link operate at 10M? I understand if i use the speed command on both switches,. , it will sure operate at 10M. But i am just wondering how bandwidth command affects the speed in the above case.

================================

thanks a lot.

4 Accepted Solutions

Accepted Solutions

Jerry Ye
Cisco Employee
Cisco Employee

Hi Sarah,

The port will not operate at 10M. The bandwidth command will only affect the routing metric calculation of the link. Also, it will also influence QoS.

HTH,

jerry

View solution in original post

srue
Level 7
Level 7

the bandwidth command affects routing metrics only...to change the actual speed of a link, use the 'speed' command.

View solution in original post

Istvan_Rabai
Level 7
Level 7

Hi Sarah,

The bandwidth command will not affect the actual port speed.

On layer3 ports, you can set the administrative bandwidth to influence routing protocol cost calculations or QoS settings.

For example, OSPF calculates the interface cost by the following formula:

Cost = 100,000,000 / bandwidth.

(bandwidth in this case is taken as bits per second)

Cheers:

Istvan

View solution in original post

The bandwidth command doesn't affect the actual speed. It's used for calculations like the others have mentioned.

HTH,

John

HTH, John *** Please rate all useful posts ***

View solution in original post

4 Replies 4

Jerry Ye
Cisco Employee
Cisco Employee

Hi Sarah,

The port will not operate at 10M. The bandwidth command will only affect the routing metric calculation of the link. Also, it will also influence QoS.

HTH,

jerry

srue
Level 7
Level 7

the bandwidth command affects routing metrics only...to change the actual speed of a link, use the 'speed' command.

Istvan_Rabai
Level 7
Level 7

Hi Sarah,

The bandwidth command will not affect the actual port speed.

On layer3 ports, you can set the administrative bandwidth to influence routing protocol cost calculations or QoS settings.

For example, OSPF calculates the interface cost by the following formula:

Cost = 100,000,000 / bandwidth.

(bandwidth in this case is taken as bits per second)

Cheers:

Istvan

The bandwidth command doesn't affect the actual speed. It's used for calculations like the others have mentioned.

HTH,

John

HTH, John *** Please rate all useful posts ***
Review Cisco Networking products for a $25 gift card