- 积分
- 521
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 注册时间
- 2014-4-15
- 最后登录
- 1970-1-1
- 阅读权限
- 40
- 听众
- 收听
中级工程师
|
igp泛洪的几种情况:
1,link status change
2, configuration change
3, periodic flooding
4, changes in the reserved bandwidth
5, after a tunnel setup failure
TE信息周期性泛洪是3分钟一次。可以用全局命令改变。
mpls traffic-eng link-management timers periodic-flooding ?
small changes in reserved bandwidth are not flooded immediately.
r1(config-if)#mpls traffic-eng flooding thresholds ?
down Set the thresholds for decreased resource availability
up Set the thresholds for increased resource availability
//////////////////
link TE属性
1,最大保留带宽 ip rsvp bandwidth
2,属性标记 if)#mpls traffic-eng attribute-flags 0x02 和亲和属性一起用。
//r1(config-if)#tunnel mpls traffic-eng affinity 0x02
如果亲和属性和一路上的接口上的attribute-flags是相match的,这条链路可以考虑使用。
否则,不预考虑使用。 共32个bit 。
3,TE METRIC
4, shared risk link groups
5, 最大保留sub-pool 带宽
///////////////////
interface Tunnel1
ip unnumbered Loopback0
tunnel destination 202.1.1.3 //是终点的router-id,必须路由可达。
tunnel mode mpls traffic-eng
tunnel mpls traffic-eng autoroute announce
tunnel mpls traffic-eng priority 6 6
tunnel mpls traffic-eng bandwidth 3000
tunnel mpls traffic-eng affinity 0x2 mask 0xFFFF
tunnel mpls traffic-eng path-option 16 explicit name t1
tunnel mpls traffic-eng record-route
no routing dynamic
//////////////
TE tunnel的选路计算
1,path setup option
2, setup and holding priority
越小越优先。
3, attribute flags and affinity bits
4, reoptimization
发生的原因:一种是一个接口DOWN了,现在又UP了。还有一种是本来可用带宽不够,而现在可用带宽足够了。
三种方法:周期性重优化;事件驱动重优化;手工重优化。
周期性重优化
1, 一小时一次。
r3(config)#mpls traffic-eng reoptimize timers frequency ?
<0-604800> seconds between reoptimizations (0 disables reoptimization)
,2 可以为某一个path option关闭重优化的功能
r1(config-if)#tunnel mpls traffic-eng path-option 2 dynamic ?
lockdown not a candidate for reoptimization
事件驱动优化
By default, Cisco IOS does not trigger reoptimization when a link in the network is available to TE again
r1(config)#mpls traffic-eng reoptimize events ?
link-up Reoptimize tunnels on link up events
手工优化
r1#mpls traffic-eng reoptimize tunnel 1
//一个是reoptimize所有的tunnel,一个是只优化其中的一个tunnel
/////////////////////////
Dual TE metric
r1(config-if)#tunnel mpls traffic-eng path-selection metric te
//这个tunnel口进行计算时到底用TE的metric还是igp的metric
//默认te的metric就是igp的metric,
我们可以改变te的metric,使得mpls隧道根据te的metric走,而普通的路由数据根据igp的metric走。使得走不同的路。
如果我们的tunnel口是path-selection metric igp,那么改te metric,也就没有任何作用了。
//////////////////
CSPF
在都满足约束条件的情况下,选一条最短cost 的路,如果二者都相同,选有最大的最小可用带宽的。
如果还是相同,选有最少跳数的,如果还是相同,IOS选一个。反正,最后只能有一条LSP
|
|