MSR系列路由器
三台设备组网测试FRR节点功能的配置
关键字:MSR;MPLS;TE;Fast-Reroute;快速重路由;RSVP-TE;FRR;显式路径;节点保护
一、组网需求:
Ingress、toBeProtected、Egress 3台路由器按如下图组网,全网运行MPLS-TE、OSPF和RSVP-TE,在Ingress上通过配置2条显式路径,创建2个Tunnel接口(目的均为Egress),其中Tunnel0是主路径,Tunnel1是旁路径,在Ingress上配置FRR,使Tunnel1可以保护主链路中间的toBeProtected节点,即当该节点故障,Tunnel0并不会Down,而是会自动引入到Tunnel1上
设备清单:MSR系列路由器3台
二、组网图:
三、配置步骤:
适用设备和版本:MSR系列、Version 5.20, Beta 1105后所有版本。
Ingress配置
#
mpls lsr-id 1.1.1.1
#
#
mpls
mpls te
//快速重路由刷新间隔为1秒
mpls te timer fast-reroute 1
//使能RSVP-TE,快速重路由只能使用RSVP-TE,不能使用CRLDP
mpls rsvp-te
//RSVP-TE Hello间隔为1秒,可以快速检测被保护节点是否故障
mpls rsvp-te timer hello 1
mpls te cspf
#
//定义严格显式路径建立TE隧道主路径
explicit-path main
next hop 1.2.0.2
next hop 2.3.0.3
next hop 3.3.3.3
#
//旁路径的显式路径
explicit-path bypass
next hop 3.1.0.3
next hop 3.3.3.3
#
//使用ISIS作为IGP,只在Level2区域运行MPLS-TE
isis 1
cost-style wide
network-entity 11.1111.1111.1111.00
traffic-eng level-2
#
//MPLS LSR ID
interface LoopBack0
ip address 1.1.1.1 255.255.255.255
isis enable 1
#
//连接被保护节点的接口
interface Ethernet0/0
port link-mode route
combo enable copper
ip address 1.2.0.1 255.255.255.0
isis enable 1
mpls
mpls te
mpls te max-link-bandwidth 100000
mpls te max-reservable-bandwidth 80000
//指定保护链路的旁路径为Tunnel1
mpls te fast-reroute bypass-tunnel Tunnel1
mpls rsvp-te
//与被保护节点直连接口使能rsvp-te hello,可以提高节点故障检测速度
mpls rsvp-te hello
#
//连接Egress的接口
interface Ethernet0/1
port link-mode route
combo enable copper
ip address 3.1.0.1 255.255.255.0
isis enable 1
mpls
mpls te
mpls te max-link-bandwidth 100000
mpls te max-reservable-bandwidth 80000
mpls rsvp-te
#
//主路径Tunnel0
interface Tunnel0
ip address 1.3.0.1 255.255.255.252
tunnel-protocol mpls te
destination 3.3.3.3
isis enable 1
isis silent
//可以查看隧道在各个节点上的标签
mpls te record-route label
mpls te bandwidth bc0 8000
//指定显式路径
mpls te path explicit-path main
mpls te fast-reroute
mpls te commit
#
//旁路径Tunnel1
interface Tunnel1
ip address 1.3.1.1 255.255.255.252
tunnel-protocol mpls te
destination 3.3.3.3
mpls te record-route label
//指定旁路径的显式路径
mpls te path explicit-path bypass
//指定保护带宽
mpls te backup bandwidth 40000
mpls te commit
#
//将通往3.3.3.3的流量引入到Tunnel0上,且优先级高于ISIS
ip route-static 3.3.3.3 255.255.255.255 Tunnel0 preference 1
#
ToBeProtected配置
#
mpls lsr-id 2.2.2.2
#
mpls
mpls te
mpls rsvp-te
//使能RSVP-TE Hello可以提高节点故障检测速度
mpls rsvp-te hello
mpls rsvp-te timer hello 1
mpls te cspf
#
isis 1
cost-style wide
network-entity 22.2222.2222.2222.00
traffic-eng level-2
#
interface LoopBack0
ip address 2.2.2.2 255.255.255.255
isis enable 1
#
//连接Egress的接口
interface GigabitEthernet0/0
port link-mode route
ip address 2.3.0.2 255.255.255.0
isis enable 1
mpls
mpls te
mpls te max-link-bandwidth 100000
mpls te max-reservable-bandwidth 80000
mpls rsvp-te
#
//连接Ingress的接口
interface GigabitEthernet0/1
port link-mode route
ip address 1.2.0.2 255.255.255.0
isis enable 1
mpls
mpls te
mpls te max-link-bandwidth 100000
mpls te max-reservable-bandwidth 80000
mpls rsvp-te
mpls rsvp-te hello
#
Egress配置
#
mpls lsr-id 3.3.3.3
#
mpls
mpls te
mpls rsvp-te
mpls te cspf
#
isis 1
cost-style wide
network-entity 33.3333.3333.3333.00
traffic-eng level-2
#
interface LoopBack0
ip address 3.3.3.3 255.255.255.255
isis enable
#
//连接被保护节点的接口
interface GigabitEthernet0/0
port link-mode route
ip address 2.3.0.3 255.255.255.0
isis enabel 1
mpls
mpls te
mpls te max-link-bandwidth 100000
mpls te max-reservable-bandwidth 80000
mpls rsvp-te
#
//连接Ingress的接口
interface GigabitEthernet0/1
port link-mode route
ip address 3.1.0.3 255.255.255.0
isis enable 1
mpls
mpls te
mpls te max-link-bandwidth 100000
mpls te max-reservable-bandwidth 80000
mpls rsvp-te
#
四、配置关键点:
1) 快速重路由只能使用RSVP-TE作为信令协议;
2) 需要在Ingress上建立2条显式路径,并且根据显式路径建立主、旁隧道;
3) Ingress的Tunnel0上需要配置快速重路由感知;
4) Ingress的Tunnel1必须要配置备份带宽;
5) Ingress将旁路Tunnel1绑定在主隧道的出接口上G0/0;
6) Ingress可以在MPLS视图下配置fast-reroute的计时器提高切换速度;
7) Ingress和被保护节点可以使能RSVP-TE Hello,可以通过调节Hello的间隔提高检测速度。
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作