MSR路由器
MPLS TE RSVP-TE + ISIS功能的配置
关键字:MSR;MPLS;TE;RSVP-TE;ISIS
一、组网需求:
RTA、RTB、RTC、RTD通过ISIS发布路由,RTA通过RSVP-TE建立一条到RTD的TE隧道
设备清单:MSR路由器4台
二、组网图:
三、配置步骤:
适用设备和版本:MSR、Version 5.20, Beta 1105后所有版本。
RTA配置
#
mpls lsr-id 1.1.1.1
#
mpls
//全局使能TE
mpls te
//全局使能rsvp-te
mpls rsvp-te
//使能cspf
mpls te cspf
#
isis 1
//运行在isis level 2,必须与TE Level一致
is-level level-2
//使能wide类型的花费值,支持TE必配
cost-style wide
//指定network-entity title,运行ISIS必配
network-entity 01.0000.1111.1111.1111.00
is-name RTA
//使能该Level的TE数据采集
traffic-eng level-2
#
interface Ethernet0/0
port link-mode route
description connects to RTB
ip address 1.2.0.1 255.255.255.0
//接口使能ISIS
isis enable 1
isis small-hello
mpls
//接口使能mpls te
mpls te
//指定接口的最大链路带宽BC0
mpls te max-link-bandwidth 100
//指定接口的最大预留带宽BC1,必须小于BC0
mpls te max-reservable-bandwidth 50
//接口使能rsvp-te
mpls rsvp-te
#
interface LoopBack0
ip address 1.1.1.1 255.255.255.255
//接口使能isis
isis enable 1
#
interface Tunnel0
ip address 1.4.0.1 255.255.255.252
//指定隧道类型
tunnel-protocol mpls te
//指定隧道目的
destination 4.4.4.4
//指定隧道需要预留的bc0带宽
mpls te bandwidth bc0 20
//执行上述配置
mpls te commit
#
//引入流量的静态路由
ip route-static 4.4.4.4 255.255.255.255 Tunnel0 preference 1
#
RTB配置
#
mpls lsr-id 2.2.2.2
#
mpls
//全局使能TE
mpls te
//全局使能rsvp-te
mpls rsvp-te
//使能cspf
mpls te cspf
#
isis 1
//运行在isis level 2,必须与TE Level一致
is-level level-2
//使能wide类型的花费值,支持TE必配
cost-style wide
//指定network-entity title,运行ISIS必配
network-entity 01.0000.2222.2222.2222.00
is-name RTB
//使能该Level的TE数据采集
traffic-eng level-2
#
interface Ethernet0/0
port link-mode route
description connects to RTA
ip address 1.2.0.2 255.255.255.0
//接口使能ISIS
isis enable 1
isis small-hello
mpls
//接口使能mpls te
mpls te
//指定接口的最大链路带宽BC0
mpls te max-link-bandwidth 100
//指定接口的最大预留带宽BC1,必须小于BC0
mpls te max-reservable-bandwidth 50
//接口使能rsvp-te
mpls rsvp-te
#
interface Ethernet0/1
port link-mode route
description connects to RTC
ip address 2.3.0.2 255.255.255.0
//接口使能ISIS
isis enable 1
isis small-hello
mpls
//接口使能mpls te
mpls te
//指定接口的最大链路带宽BC0
mpls te max-link-bandwidth 100
//指定接口的最大预留带宽BC1,必须小于BC0
mpls te max-reservable-bandwidth 50
//接口使能rsvp-te
mpls rsvp-te
#
interface LoopBack0
ip address 2.2.2.2 255.255.255.255
//接口使能isis
isis enable 1
#
RTC配置
#
mpls lsr-id 3.3.3.3
#
mpls
//全局使能TE
mpls te
//全局使能rsvp-te
mpls rsvp-te
//使能cspf
mpls te cspf
#
isis 1
//运行在isis level 2,必须与TE Level一致
is-level level-2
//使能wide类型的花费值,支持TE必配
cost-style wide
//指定network-entity title,运行ISIS必配
network-entity 01.0000.3333.3333.3333.00
is-name RTC
//使能该Level的TE数据采集
traffic-eng level-2
#
interface LoopBack0
ip address 3.3.3.3 255.255.255.255
//接口使能isis
isis enable 1
#
interface Ethernet0/0
port link-mode route
description connects to RTB
ip address 2.3.0.3 255.255.255.0
//接口使能ISIS
isis enable 1
isis small-hello
mpls
//接口使能mpls te
mpls te
//指定接口的最大链路带宽BC0
mpls te max-link-bandwidth 100
//指定接口的最大预留带宽BC1,必须小于BC0
mpls te max-reservable-bandwidth 50
//接口使能rsvp-te
mpls rsvp-te
#
interface Ethernet0/1
port link-mode route
description connects to RTD
ip address 3.4.0.3 255.255.255.0
//接口使能ISIS
isis enable 1
isis small-hello
mpls
//接口使能mpls te
mpls te
//指定接口的最大链路带宽BC0
mpls te max-link-bandwidth 100
//指定接口的最大预留带宽BC1,必须小于BC0
mpls te max-reservable-bandwidth 50
//接口使能rsvp-te
mpls rsvp-te
#
RTD配置
#
mpls lsr-id 4.4.4.4
#
mpls
//全局使能TE
mpls te
//全局使能rsvp-te
mpls rsvp-te
//使能cspf
mpls te cspf
#
isis 1
//运行在isis level 2,必须与TE Level一致
is-level level-2
//使能wide类型的花费值,支持TE必配
cost-style wide
//指定network-entity title,运行ISIS必配
network-entity 01.0000.4444.4444.4444.00
is-name RTD
//使能该Level的TE数据采集
traffic-eng level-2
#
interface Ethernet0/0
port link-mode route
description connects to RTC
ip address 3.4.0.4 255.255.255.0
//接口使能ISIS
isis enable 1
isis small-hello
mpls
//接口使能mpls te
mpls te
//指定接口的最大链路带宽BC0
mpls te max-link-bandwidth 100
//指定接口的最大预留带宽BC1,必须小于BC0
mpls te max-reservable-bandwidth 50
//接口使能rsvp-te
mpls rsvp-te
#
interface LoopBack0
ip address 4.4.4.4 255.255.255.255
//接口使能isis
isis enable 1
#
四、配置关键点:
1) 首先保证ISIS使整网路由可达;
2) ISIS要使能cost-style wide;
3) ISIS要注意traffic-eng level要与is-level对应,所有路由器应在同一Level;
4) 要在关键接口使能ISIS;
5) 全局MPLS要使能TE和TE CSPF;
6) 接口视图下务必使能TE和RSVP-TE
6) 接口下要配置最大链路带宽和最大预留带宽,注意它们的大小关系;
7) TE隧道头节点需要配置Tunnel接口,注意Tunnel接口配置;
8) 配置好Tunnel接口后,注意执行配置和引入流量,测试时注意使用源地址。
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作