取消
显示结果 
搜索替代 
您的意思是: 
cancel
6961
查看次数
0
有帮助
7
回复

关于tunnel带宽参数的讨论

7enable_
Level 1
Level 1
本帖最后由 7enable# 于 2018-9-6 00:41 编辑
sh inter tunnel 接口可以看到两个关于带宽的参数。
MTU 17916 bytes, BW 100 Kbit/sec, DLY 50000 usec

Tunnel transmit bandwidth 8000 (kbps)
Tunnel receive bandwidth 8000 (kbps)

在tunnel接口下,可以修改后面2个参数。查阅相关资料和网上信息后,有说修改任何一个数值都不影响实际的转发速率,这个参数只会影响需要计算带宽的相关协议,如ospf。有说会影响tunnel接口的速率的。
第一种说法,如果是正确的话,那么结合官网说法,那么就好理解了,简单理解就是影响路由计算cost,实际转发的话,应该是以源的物理带宽来看,但是这样一来,tunnel接口的参数中的关于reliability 255/255, txload 1/255, rxload 1/255等参数又有什么意义呢?
第二种说法,我自己就是是受tunnel bandwidth这个影响,单独划出且只能修改接收发送,我就不好理解了,但是使用范围里面说是卫星带宽,使我又有所怀疑。按第二种说法的话,BW和transmit/receive又有何联系呢?

新人入坑,请多关照!



Step 4
bandwidth kbps
Example:
Router(config-if)# bandwidth 1000
Sets the current bandwidth value for an interface and communicates it to higher-level protocols. Specifies the tunnel bandwidth to be used to transmit packets.

  • Use the kbpsargument to set the bandwidth, in kilobits per second (kbps).


Note This is a routing parameter only; it does not affect the physical interface. The default bandwidth setting on a tunnel interface is 9.6 kbps. You should set the bandwidth on a tunnel to an appropriate value.



tunnel bandwidth
To set the transmit bandwidth used by the tunnel interface, use the tunnel bandwidth command in interface configuration mode. To restore the default setting, use the no form of this command.
tunnel bandwidth { receive | transmit } bandwidth
no tunnel bandwidth
Syntax Description



receive
Specifies the bandwidth to be used to receive packets through the tunnel.


Note
This keyword is no longer used and will be removed in future releases.
transmit
Specifies the bandwidth to be used to send packets through the tunnel.
bandwidth
Bandwidth, in kbps. Range is from 0 to 2147483647. Default is 8000.
Command Default
8000 kbps
Command Modes
Interface configuration
Command History


Release
Modification
12.3(7)T
This command was introduced.
Usage Guidelines
Use the tunnel bandwidth command to specify the capacity of the satellite link.

1 个已接受解答

已接受的解答

YilinChen
Spotlight
Spotlight
第一种说法是正确的,Tunnel本身就是个虚拟接口,bandwith只影响路由协议Metric值的计算,不和实际传输速率有关

在原帖中查看解决方案

7 条回复7

YilinChen
Spotlight
Spotlight
第一种说法是正确的,Tunnel本身就是个虚拟接口,bandwith只影响路由协议Metric值的计算,不和实际传输速率有关

bo chen
Spotlight
Spotlight
补充楼上,不光tunnel本身,所有接口手动修改bandwidth都只会影响路由度量计算,与实际速率无关系。{:2_31:}

7enable_
Level 1
Level 1
CSCO12178277 发表于 2018-9-6 08:55
补充楼上,不光tunnel本身,所有接口手动修改bandwidth都只会影响路由度量计算,与实际速率无关系。{:2_31: ...

那就是说,虚拟接口的BW都与实际速率无关咯。
reliability 255/255, txload 1/255, rxload 1/255,这个参数表示什么呢?有没有实际意义呢?

7enable_
Level 1
Level 1
YilinChen 发表于 2018-9-6 08:32
第一种说法是正确的,Tunnel本身就是个虚拟接口,bandwith只影响路由协议Metric值的计算,不和实际传输速率 ...

那请问一下,reliability 255/255, txload 1/255, rxload 1/255,这个参数表示什么呢?有没有实际意义呢?

YilinChen
Spotlight
Spotlight
对于虚接口tunnel里没啥意义,做一种标准的接口参数显示

suzhouxiaoniu
Spotlight
Spotlight
reliability 255/255, txload 1/255, rxload 1/255,可靠性负载参数同样也可以影响路由计算,只是OSPF不用这些,如果配置EIGRP,在调整K值的情况下,可以使用这些参数影响路径选择,但是几乎也不会用,因为EIGRP常用的也是带宽和延时,也是默认的参数

7enable_
Level 1
Level 1
综合如下:
类似tunnel这类虚拟接口,接口下表示链路质量和链路带宽的参数,很多都是参与路由计算metric计算的,对实际转发速率无影响。实际转发速率更多的还是受转发的物理接口,加解密等影响。
疑问:不知道有没有什么书籍可以了解这方面的知识。
入门指南

使用上面的搜索栏输入关键字、短语或问题,搜索问题的答案。

我们希望您在这里的旅程尽可能顺利,因此这里有一些链接可以帮助您快速熟悉思科社区:









快捷链接