前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >【Segment Routing】SR-MPLS BE隧道的TI-LFA FRR

【Segment Routing】SR-MPLS BE隧道的TI-LFA FRR

作者头像
Ponnie
发布2021-04-13 14:24:10
1K0
发布2021-04-13 14:24:10
举报
文章被收录于专栏:玉龙小栈玉龙小栈

● 配置目标

● 配置TI-LFA FRR保护,增强Segment Routing网络可靠性。

● 组网需求

● 如图1所示,该网络使能IS-IS,配置SR-MPLS BE功能。其中,DeviceC和DeviceD之间链路Cost是100,其他链路的Cost均为10。当前从DeviceA到DeviceF的最优路径是:DeviceA->DeviceB->DeviceE->DeviceF。通过在DeviceB上配置TI-LFA FRR局部保护功能,在DeviceB和DeviceE之间链路故障时,数据流量可以快速切换到备份路径:DeviceA->DeviceB->DeviceC->DeviceD->DeviceE->DeviceF。

● (1)

● 配置思路

● 整网配置IS-IS实现设备之间的互通。

● 整网使能MPLS,配置Segment Routing,建立SR-MPLS BE隧道。

● DeviceB上使能TI-LFA FRR保护功能,并且同时使能防微环功能。

● 操作步骤

● 配置接口的IP地址

● 配置DeviceA。

DeviceA: interface LoopBack1

ip address 1.1.1.9 255.255.255.255

interface Ethernet1/0/0

ip address 10.1.1.1 255.255.255.0

● 其他设备的配置过程与DeviceA类似,具体请参考后面的配置文件,在此不再赘述。

● 配置IGP协议,实现网络互通。本例中以IS-IS为例进行说明。

● 配置DeviceA。

DeviceA: isis 1

is-level level-1

cost-style wide

network-entity 10.0000.0000.0001.00

interface LoopBack1

isis enable 1

interface Ethernet1/0/0

isis enable 1

● 其他设备的配置过程与DeviceA类似,具体请参考后面的配置文件,在此不再赘述。

● 在骨干网上配置MPLS基本能力

● 配置DeviceA。

DeviceA:

mpls lsr-id 1.1.1.9

mpls

● 配置DeviceB。

DeviceB:

mpls lsr-id 2.2.2.9

mpls

● 配置DeviceC。

DeviceC:

mpls lsr-id 3.3.3.9

mpls

● 配置DeviceD。

DeviceD:

mpls lsr-id 4.4.4.9

mpls

● 配置DeviceE。

DeviceE:

mpls lsr-id 5.5.5.9

mpls

● 配置DeviceF。

DeviceF:

mpls lsr-id 6.6.6.9

mpls

● 在骨干网上配置Segment Routing,建立SR-MPLS BE隧道。

● 配置DeviceA。

DeviceA:

segment-routing

isis 1

segment-routing mpls

segment-routing global-block 16000 23999

interface LoopBack1

isis prefix-sid index 10

● 配置DeviceB。

DeviceB:

segment-routing

isis 1

segment-routing mpls

segment-routing global-block 16000 23999

interface LoopBack1

isis prefix-sid index 20

● 配置DeviceC。

DeviceC:

segment-routing

isis 1

segment-routing mpls

segment-routing global-block 16000 23999

interface LoopBack1

isis prefix-sid index 30

● 配置DeviceD。

DeviceD:

segment-routing

isis 1

segment-routing mpls

segment-routing global-block 16000 23999

interface LoopBack1

isis prefix-sid index 40

● 配置DeviceE。

DeviceE:

segment-routing

isis 1

segment-routing mpls

segment-routing global-block 16000 23999

interface LoopBack1

isis prefix-sid index 50

● 配置DeviceF。

DeviceF:

segment-routing

isis 1

segment-routing mpls

segment-routing global-block 16000 23999

interface LoopBack1

isis prefix-sid index 60

● 配置完成后,在各设备上执行display segment-routing prefix mpls forwarding命令,可以看到SR-MPLS BE标签转发路径已建立。以DeviceA的显示为例。

● 配置TI-LFA FRR功能

● 配置DeviceB。

Device:

isis 1

avoid-microloop frr-protected

avoid-microloop frr-protected rib-update-delay 5000

avoid-microloop segment-routing

frr

loop-free-alternate level-1

ti-lfa level-1

● 配置完成后,在DeviceB上执行display isis route [ level-1 | level-2 ] [ process-id ] [ verbose ]命令,可以看到IS-IS TI-LFA FRR备份表项信息。

● 检查配置结果

● 在DeviceA设备上执行Tracert命令,检测到DeviceF的SR-MPLS BE隧道的连通性。例如:

[~DeviceA]tracert lsp segment-routing ip 6.6.6.9 32 version draft2

● 在DeviceB的ETH 1/0/2接口上执行shutdown命令,模拟DeviceB->DeviceE之间链路故障。

DeviceB:

interface Ethernet1/0/2

shutdown

● 立即在DeviceA上使用Tracert命令,检测SR-MPLS BE隧道的连通性,例如:、

[~DeviceA]tracert lsp segment-routing ip 6.6.6.9 32 version draft2

● 从以上显示信息可以看出,SR-MPLS BE隧道已经切换到TI-LFA FRR备份路径。

本文参与 腾讯云自媒体分享计划,分享自微信公众号。
原始发表:2021-04-02,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 玉龙网络新知社 微信公众号,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档