MSR系列路由器
MPLS TE CRLSP Hot-Standby功能的配置
关键字:MSR;MPLS;TE;RSVP-TE;OSPF;Hot-Standby;热备份
一、组网需求:
RTA、RTB、RTC、RTD通过OSPF发布路由,RTA和RTC之间通过RSVP-TE建立2条隧道,经过RTB的为主隧道,经过RTD的为备份隧道
设备清单:MSR系列路由器4台
二、组网图:
三、配置步骤:
设备和版本:MSR系列、Version 5.20, Release
1509
RTA配置 |
# router id # mpls lsr-id # # mpls //全局使能TE mpls te mpls
rsvp-te //使能cspf mpls te cspf # interface Ethernet0/0 port link-mode route description connects to
RTB ip address mpls //接口使能mpls te mpls te //指定接口的最大链路带宽BC0 mpls te
max-link-bandwidth 100 //指定接口的最大预留带宽BC1,必须小于BC0 mpls te
max-reservable-bandwidth 50 mpls
rsvp-te # interface Ethernet0/1 port link-mode route description connects to
RTD ip address mpls mpls te mpls te
max-link-bandwidth 100 mpls te
max-reservable-bandwidth 50 mpls
rsvp-te # interface
LoopBack0 ip address # interface
Tunnel0 ip address tunnel-protocol
mpls te destination
mpls te bandwidth
bc0 20 //指定热备份 mpls te backup
hot-standby mpls te igp shortcut mpls te igp
metric absolute 1 mpls te
commit # ospf 1 //支持type 10 LSA的发送与接收 opaque-capability enable //使能traffic-adjustment enable
traffic-adjustment are network network network //将Tunnel口添加到OSPF计算中 network //使能该区域的te数据采集 mpls-te enable # |
RTB配置 |
# router id # mpls lsr-id # mpls //全局使能TE mpls te mpls
rsvp-te //使能cspf mpls te cspf # interface Ethernet0/0 port link-mode route description connects to
RTA ip address mpls //接口使能mpls te mpls te //指定接口的最大链路带宽BC0 mpls te
max-link-bandwidth 100 //指定接口的最大预留带宽BC1,必须小于BC0 mpls te
max-reservable-bandwidth 50 mpls rsvp-te # interface Ethernet0/1 port link-mode route description connects to
RTC ip address mpls //接口使能mpls te mpls te //指定接口的最大链路带宽BC0 mpls te
max-link-bandwidth 100 //指定接口的最大预留带宽BC1,必须小于BC0 mpls te
max-reservable-bandwidth 50 mpls
rsvp-te # interface
LoopBack0 ip address # ospf 1 //支持type
10 LSA的发送与接收 opaque-capability enable are network network network //使能该区域的te数据采集 mpls-te
enable # |
RTC配置 |
# router id # mpls lsr-id # mpls //全局使能TE mpls te mpls
rsvp-te //使能cspf mpls te cspf # interface Ethernet0/0 port link-mode route description connects to
RTB ip address mpls //接口使能mpls te mpls te //指定接口的最大链路带宽BC0 mpls te
max-link-bandwidth 100 //指定接口的最大预留带宽BC1,必须小于BC0 mpls te
max-reservable-bandwidth 50 mpls
rsvp-te # interface Ethernet0/1 port link-mode route description connects to
RTD ip address mpls //接口使能mpls te mpls te //指定接口的最大链路带宽BC0 mpls te
max-link-bandwidth 100 //指定接口的最大预留带宽BC1,必须小于BC0 mpls te
max-reservable-bandwidth 50 mpls
rsvp-te # interface
LoopBack0 ip address # ospf 1 //支持type
10 LSA的发送与接收 opaque-capability enable are network network network //使能该区域的te数据采集 mpls-te
enable # |
RTD配置 |
# router id # mpls lsr-id # mpls //全局使能TE mpls te mpls
rsvp-te //使能cspf mpls te cspf # interface Ethernet0/0 port link-mode route description connects to
RTA ip address mpls //接口使能mpls te mpls te //指定接口的最大链路带宽BC0 mpls te
max-link-bandwidth 100 //指定接口的最大预留带宽BC1,必须小于BC0 mpls te
max-reservable-bandwidth 50 mpls rsvp-te # interface Ethernet0/1 port link-mode route description connects to
RTC ip address mpls //接口使能mpls te mpls te //指定接口的最大链路带宽BC0 mpls te
max-link-bandwidth 100 //指定接口的最大预留带宽BC1,必须小于BC0 mpls te
max-reservable-bandwidth 50 mpls
rsvp-te # interface
LoopBack0 ip address # ospf 1 //支持type
10 LSA的发送与接收 opaque-capability enable are network network network //使能该区域的te数据采集 mpls-te
enable # |
四、配置关键点:
1) 在RSVP-TE + OSPF配置正确的基础上稍作修改;
2) 在RTA的Tunnel口上配置mpls te backup hot-standby;