cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1766
Views
0
Helpful
3
Replies

Cat 3850 IOS-XE interface bandwidth command

CiscoMedMed
Level 1
Level 1

The explanation of the bandwidth command is a little ambiguous to me. "The bandwidth command sets an informational parameter to communicate only the current bandwidth to the higher-level protocols; you cannot adjust the actual bandwidth of an interface using this command." But in practice what I am seeing in monitoring is a 1Gbps configured with the bandwidth command of 500Mbps - peaking at 500Mbps. Is it likely that we're actually getting 1Gbps peaking but the interface is not reporting properly for the bandwidth command? Or is it that somehow TCP is not taking advantage of the full bandwidth because it somehow has been "informed" by the bandwith command? (Never heard of such an informing..) That is could the bandwidth command in IOS XE in any way throttle the available throughput of the interface?

.

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/interface/command/ir-cr-book/ir-a1.html#wp2802141483

3 Replies 3

Reza Sharifi
Hall of Fame
Hall of Fame

The bandwidth command does not change the actual bandwidth of an interface. The bandwidth command is used for other things like OSPF to change the cost of an interface. If you want to change the bandwidth, you would need to use the speed command. Also, if the interface is gig and your monitoring device is showing 500 MG, it is most likely that the reporting device is not configured correctly or there is a bug in the software.

HTH

Rob Burchard
Cisco Employee
Cisco Employee

Hi @CiscoMedMed,

 

The interface bandwidth command alone does not perform any throttling of traffic through the interface. It does affect how the bandwidth statistics of that interface are calculated and it is used by routing protocols that would use interface speed as a metric. It essentially overrides the interface speed from a reporting perspective, which can be seen in the statistics of the show interface command.

 

Throttling of traffic through the interface would be enabled by a separate QoS mechanism such as policing or shaping. 3850 Platform QoS reference here.

 

A practical use case of the bandwidth statement is for sub rate ISP circuits. As an example, you might have a 1Gbps physical interface hand off from an ISP, however you only purchased half of that speed with a CIR of 500Mbps. The ISP will throttle your traffic with a QoS mechanism (policing) to 500Mbps. By setting the bandwidth statement to 500Mbps on your interface, your intent would be to monitor and report the true available bandwidth according to the limit that is set by the ISP. Note: It is also considered a best practice to use QoS shaping to match the ISP CIR of the circuit, so you the customer would drop the traffic before the ISP does.

 

 If your interface is not also configured with a QoS mechanism then it is possible that your interface is exceeding 500Mbps, If it was peaking at the 1Gbps physical link speed there is likely to be discards on the interface. This would be seen in 'show interface' command output as drops/discards. 

 

Hope this helps!

 

Thanks,

 

Rob

S.IIZUKA
Level 1
Level 1

I had a same problem.

In my case, there is a bug (cisco said it isn't and the bug was classified to 6 Enhancement).

https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvm47656

 

Workaround is not to use bandwidth command.