取消
显示结果 
搜索替代 
您的意思是: 
cancel
2241
查看次数
0
有帮助
3
评论
LinusT
Cisco Employee
Cisco Employee
上一篇帖子超长了。。。。。。。。
Summary检查:
本设备发布的所有信息可以使用以下命令检查:
R1#show mpls traffic-eng link-management advertisements
Flooding Status: ready
Configured Areas: 2 <<<<<<<<<<<<<<<配置的IGP数量
IGP Area[1] ID:: ospf 1 area 0 <<<<<<<<<通过OSPF发布到Area 0 区域
System Information::
Flooding Protocol: OSPF <<<<<<<<<发布的IGP协议
Header Information::
IGP System ID: 10.0.0.1 <<<<<<<<配置的IGP协议的ID
MPLS TE Router ID: 10.0.0.1 <<<<<<<<
Flooded Links: 2 <<<<<<<<在IGP中宣告的接口数量
Link ID:: 0 (GigabitEthernet1) <<<<<<<
Link Subnet Type: Point-to-Point <<<<
Link IP Address: 10.0.12.1 <<<<<<
Neighbor: ID 10.0.0.2, IP 10.0.12.2 <<<<<接口对端设备的IGP的Router-ID和IP地址
TE metric: 5 <<<<<<
IGP metric: 1 <<<<<<
SRLGs: None <<<<<<<配置的SRLG值
Physical Bandwidth: 1000000 kbits/sec
Res. Global BW: 750000 kbits/sec
Res. Sub BW: 0 kbits/sec
Downstream::
Global Pool Sub Pool
----------- ----------
Reservable Bandwidth[0]: 750000 0 kbits/sec
Reservable Bandwidth[1]: 750000 0 kbits/sec
Reservable Bandwidth[2]: 750000 0 kbits/sec
Reservable Bandwidth[3]: 750000 0 kbits/sec
Reservable Bandwidth[4]: 750000 0 kbits/sec
Reservable Bandwidth[5]: 750000 0 kbits/sec
Reservable Bandwidth[6]: 750000 0 kbits/sec
Reservable Bandwidth[7]: 650000 0 kbits/sec
Attribute Flags: 0x00000000
Link ID:: 1 (GigabitEthernet2)
Link Subnet Type: Broadcast
Link IP Address: 10.0.15.1
Designated Router: 10.0.15.1
TE metric: 1
IGP metric: 1
SRLGs: None
Physical Bandwidth: 1000000 kbits/sec
Res. Global BW: 800000 kbits/sec
Res. Sub BW: 0 kbits/sec
Downstream::
Global Pool Sub Pool
----------- ----------
Reservable Bandwidth[0]: 800000 0 kbits/sec
Reservable Bandwidth[1]: 800000 0 kbits/sec
Reservable Bandwidth[2]: 800000 0 kbits/sec
Reservable Bandwidth[3]: 800000 0 kbits/sec
Reservable Bandwidth[4]: 800000 0 kbits/sec
Reservable Bandwidth[5]: 800000 0 kbits/sec
Reservable Bandwidth[6]: 800000 0 kbits/sec
Reservable Bandwidth[7]: 700000 0 kbits/sec
Attribute Flags: 0x00000000
IGP Area[2] ID:: isis level-2
System Information::
Flooding Protocol: ISIS
Header Information::
IGP System ID: 0000.0000.0001.00
MPLS TE Router ID: 10.0.0.1
Flooded Links: 2
Link ID:: 0 (GigabitEthernet1)
Link Subnet Type: Point-to-Point
Link IP Address: 10.0.12.1
Neighbor: ID 0000.0000.0002.00, IP 10.0.12.2
TE metric: 5
IGP metric: 1
SRLGs: None
Physical Bandwidth: 1000000 kbits/sec
Res. Global BW: 750000 kbits/sec
Res. Sub BW: 0 kbits/sec
Downstream::
Global Pool Sub Pool
----------- ----------
Reservable Bandwidth[0]: 750000 0 kbits/sec
Reservable Bandwidth[1]: 750000 0 kbits/sec
Reservable Bandwidth[2]: 750000 0 kbits/sec
Reservable Bandwidth[3]: 750000 0 kbits/sec
Reservable Bandwidth[4]: 750000 0 kbits/sec
Reservable Bandwidth[5]: 750000 0 kbits/sec
Reservable Bandwidth[6]: 750000 0 kbits/sec
Reservable Bandwidth[7]: 650000 0 kbits/sec
Attribute Flags: 0x00000000
Link ID:: 1 (GigabitEthernet2)
Link Subnet Type: Broadcast
Link IP Address: 10.0.15.1
Designated Router: 0000.0000.0005.00, IP 10.0.15.5
TE metric: 1
IGP metric: 1
SRLGs: None
Physical Bandwidth: 1000000 kbits/sec
Res. Global BW: 800000 kbits/sec
Res. Sub BW: 0 kbits/sec
Downstream::
Global Pool Sub Pool
----------- ----------
Reservable Bandwidth[0]: 800000 0 kbits/sec
Reservable Bandwidth[1]: 800000 0 kbits/sec
Reservable Bandwidth[2]: 800000 0 kbits/sec
Reservable Bandwidth[3]: 800000 0 kbits/sec
Reservable Bandwidth[4]: 800000 0 kbits/sec
Reservable Bandwidth[5]: 800000 0 kbits/sec
Reservable Bandwidth[6]: 800000 0 kbits/sec
Reservable Bandwidth[7]: 700000 0 kbits/sec
Attribute Flags: 0x00000000
R1#

信息发布的时间
在IGP中有三种情况下对链路信息进行泛洪
一,当链路生效或失效时(go up or down)
二,当链路配置发生变化时(例如,链路代价得到更新)
三,当到达周期性对路由器的IGP信息进行泛洪的时候。

MPLS TE中增加了另外一条进行泛洪的原因----当链路带宽发生重大变化的时候进行泛洪。
当接口上的隧道建立或者拆除时,接口上的可用带宽总量随着经过接口的可保留带宽发生了变化。当经过接口的隧道建立时,隧道消耗了带宽,可用带宽的总量减少,而隧道拆除时,可用带宽的总量增加。

如果有变化就泛洪,有可能会导致泛洪信息量过于巨大----导致网络带宽耗尽,CPU资源也耗尽。
网络如果没有及时同步可能会导致建立失败和其他问题。

所以考虑到什么时候对变化进行泛洪。有三条泛洪阈值的规则:
1,对重大变化立即进行泛洪。
2,对不重要的变化周期性泛洪,但是比IGP刷新频率更高。
3,如果一个没有泛洪的变化导致了错误,马上进行泛洪。

-------------------
对重大变化立即进行泛洪:

重大变化被定义为链路带宽的百分比。
也许对一个方向的变化比另一个方向的变化更关注。两个方向:分配和回收。

对不同的网络、不同的情况和不同的链路,发布可用带宽的规则有所不同。所以cisco IOS软件不仅建立了一组合理的默认值,而且还有一套用来确定什么变化时的重大的复杂配置。

1, 重大变化的阈值可以通过以下命令查看:
R1#show mpls traffic-eng link-management bandwidth-allocation
System Information::
Links Count: 2
Bandwidth Hold Time: max. 15 seconds
Link ID:: Gi1 (10.0.12.1)
Local Intfc ID: 1
Link Status:
SRLGs: None
Intfc Switching Capability Descriptors:
Default: Intfc Switching Cap psc1, Encoding ethernet
Link Label Type: Packet
Physical Bandwidth: 1000000 kbits/sec
Max Res Global BW: 750000 kbits/sec (reserved: 0% in, 13% out)
Max Res Sub BW: 0 kbits/sec (reserved: 100% in, 100% out)
BW Descriptors: 1
MPLS TE Link State: MPLS TE on, RSVP on, admin-up, flooded, allocated
Inbound Admission: reject-huge
Outbound Admission: allow-if-room
Link MTU: IP 1500, MPLS 1500
Admin. Weight: 5 (configured)
IGP Neighbor Count: 2
Up Thresholds: 15 30 45 60 75 80 85 90 95 96 97 98 99 100 (default)
Down Thresholds: 100 99 98 97 96 95 90 85 80 75 60 45 30 15 (default)
Downstream Global Pool Bandwidth Information (kbits/sec):
KEEP PRIORITY BW HELD BW TOTAL HELD BW LOCKED BW TOTAL LOCKED
0 0 0 0 0
1 0 0 0 0
2 0 0 0 0
3 0 0 0 0
4 0 0 0 0
5 0 0 0 0
6 0 0 0 0
7 0 0 100000 100000
Downstream Sub Pool Bandwidth Information (kbits/sec):
KEEP PRIORITY BW HELD BW TOTAL HELD BW LOCKED BW TOTAL LOCKED
0 0 0 0 0
1 0 0 0 0
2 0 0 0 0
3 0 0 0 0
4 0 0 0 0
5 0 0 0 0
6 0 0 0 0
7 0 0 0 0
接口阈值最多16个,通过以下命令可以修改默认阈值。后面最多可以设置16个阈值。
R1(config-if)#mpls traffic-eng flooding thresholds up 1 10 20 30
每次超过阈值时会立即发送LSP或者LSA进行泛洪。

2,MPLS TE默认泛洪比IGP更为频繁。
在IOS-XE中默认每60秒进行泛洪,可以通过以下命令查看。
R1#show mpls traffic-eng link-management summary
System Information::
Links Count: 2
Flooding System: enabled
IGP Area ID:: ospf 1 area 0
Flooding Protocol: OSPF
Flooding Status: data flooded
Periodic Flooding: enabled (every 60 seconds, next in 22 seconds)
Flooded Links: 2
IGP System ID: 10.0.0.1
MPLS TE Router ID: 10.0.0.1
Neighbors: 4
IGP Area ID:: isis level-2
Flooding Protocol: ISIS
Flooding Status: data flooded
Periodic Flooding: enabled (every 60 seconds, next in 22 seconds)
Flooded Links: 2
IGP System ID: 0000.0000.0001.00
MPLS TE Router ID: 10.0.0.1
Neighbors: 4
可以通过以下命令进行修改MPLS TE的泛洪时间。仅本地有效。

R1(config)#mpls traffic-eng link-management timers periodic-flooding 30

R1#show mpls traffic-eng link-management summary
System Information::
Links Count: 2
Flooding System: enabled
IGP Area ID:: ospf 1 area 0
Flooding Protocol: OSPF
Flooding Status: data flooded
Periodic Flooding: enabled (every 30 seconds, next in 19 seconds)
Flooded Links: 2
IGP System ID: 10.0.0.1
MPLS TE Router ID: 10.0.0.1
Neighbors: 4
IGP Area ID:: isis level-2
Flooding Protocol: ISIS
Flooding Status: data flooded
Periodic Flooding: enabled (every 30 seconds, next in 19 seconds)
Flooded Links: 2
IGP System ID: 0000.0000.0001.00
MPLS TE Router ID: 10.0.0.1
Neighbors: 4

3,没有泛洪的带宽导致错误时,立即进行泛洪

例如:接口的阈值为25% 50% 90%,接口的最大可保留带宽为100M。
当一个隧道申请预留30M进行建立,建立后,链路的阈值超过25%的阈值,将立即进行泛洪。泛洪剩余带宽70M
后又进行第二个隧道申请预留10M,隧道建立成功后链路剩余可以带宽为60M,并没有超过阈值50%,将不进行立即通告,默认最大等待60S后进行通告链路剩余带宽。
在通告之前,第三个隧道申请预留65M,当RSVP 的path消息到达设备,设备的最大可用带宽为60M,不满足要求,将返回给隧道头端路由Error消息,并立即进行泛洪。

IOS-XR中MPLS TE中配置案例
!
router isis TE
is-type level-2-only
net 49.0000.0000.0005.00
address-family ipv4 unicast
metric-style wide
mpls traffic-eng level-2-only
mpls traffic-eng router-id Loopback0
!
interface Loopback0
address-family ipv4 unicast
!
!
interface GigabitEthernet0/0/0/0
point-to-point
address-family ipv4 unicast
!
!
interface GigabitEthernet0/0/0/1
point-to-point
address-family ipv4 unicast
!
!
interface GigabitEthernet0/0/0/2
point-to-point
address-family ipv4 unicast
!
!
!
router ospf TE
address-family ipv4 unicast
area 0
mpls traffic-eng
interface GigabitEthernet0/0/0/0
!
!
mpls traffic-eng router-id Loopback0
!
rsvp
interface GigabitEthernet0/0/0/0
bandwidth percentage 80
!
interface GigabitEthernet0/0/0/1
bandwidth percentage 80
!
interface GigabitEthernet0/0/0/2
bandwidth percentage 80
!
!
mpls traffic-eng
interface GigabitEthernet0/0/0/0
admin-weight 15
flooding thresholds up 10 20 30 40 50 60 70 80 90
!
interface GigabitEthernet0/0/0/1
!
interface GigabitEthernet0/0/0/2
attribute-flags 0x11
!
link-management timers periodic-flooding 30
!
mpls label range table 0 50000 59999
end

评论
one-time
Level 13
Level 13
感谢专家分享,上一篇帖子链接如下
[原创]MPLS TE Summary
其它相关内容:
MPLS TE Path selection/calculation 路径计算
jm.nie
Spotlight
Spotlight
厉害,有了一个好好概念。感谢专家分享。:):):):)
likuo
Spotlight
Spotlight
感觉不错。
入门指南

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

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









快捷链接