MSR路由器
MPLS IPTN功能的配置
一、组网需求:
PEA、P、PEB建立一条PEA到PEB的静态LSP,PEA上配置将携带IPTN标签的流量引入静态LSP
设备清单:MSR路由器3台
二、组网图:
三、配置步骤:
适用设备和版本:MSR、Version 5.20, Beta 1105后所有版本。
PEA配置
#
router id 1.1.1.1
#
mpls lsr-id 1.1.1.1
#
mpls
#
interface Ethernet0/0
port link-mode route
description connects to p
ip address 1.2.0.1 255.255.255.0
mpls
#
interface Ethernet0/1
port link-mode route
description iptn
ip address 1.0.0.1 255.255.255.0
mpls
#
interface LoopBack0
ip address 1.1.1.1 255.255.255.255
#
ospf 1
area 0.0.0.0
network 1.1.1.1 0.0.0.0
network 1.2.0.0 0.0.0.255
#
//定义一条静态ingress LSP,目标是PEB的环回地址
static-lsp ingress slsp destination 3.3.3.3 32 nexthop 1.2.0.2 out-label 100
//定义iptn引入标签
iptn iptnA binding static-lsp-name slsp label 50
#
P配置
#
router id 2.2.2.2
#
mpls lsr-id 2.2.2.2
#
mpls
#
interface Ethernet0/0
port link-mode route
description connects to peA
ip address 1.2.0.2 255.255.255.0
mpls
#
interface Ethernet0/1
port link-mode route
description connects to peB
ip address 2.3.0.2 255.255.255.0
mpls
#
interface LoopBack0
ip address 2.2.2.2 255.255.255.255
#
ospf 1
area 0.0.0.0
network 2.2.2.2 0.0.0.0
network 1.2.0.0 0.0.0.255
network 2.3.0.0 0.0.0.255
#
//建立一条静态transit LSP
static-lsp transit slsp incoming-interface Ethernet0/0 in-label 100 nexthop 2.3.0.3 out-label 200
#
PEB配置
#
router id 3.3.3.3
#
mpls lsr-id 3.3.3.3
#
mpls
#
interface LoopBack0
ip address 3.3.3.3 255.255.255.255
#
interface Ethernet0/0
port link-mode route
description connects to p
ip address 2.3.0.3 255.255.255.0
mpls
#
interface Ethernet0/1
port link-mode route
description iptn
mpls
#
ospf 1
area 0.0.0.0
network 3.3.3.3 0.0.0.0
network 2.3.0.0 0.0.0.255
#
//定义一条静态egress LSP
static-lsp egress slsp incoming-interface Ethernet0/0 in-label 200
#
四、配置关键点:
1) MPLS网络的静态LSP配置需要前后匹配;
2) PEA各个接口都需要使能MPLS,以接收IPTN流量。
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作