MSR系列路由器
MPLS L2VPN Matini功能的配置
关键词:MSR;MPLS;L2VPN;Matini
一、组网需求:
PEA为CEA提供Matini接入,PEB为CEB提供Martini接入,PEA、PEB各自为接入通过LDP远程会话分发标签。
设备清单:MSR系列路由器5台
二、组网图:
三、配置步骤:
设备和版本:MSR系列、Version 5.20, Release 1509
CEA配置:
#
interface Ethernet0/0
port link-mode route
ip address 192.168.0.1
255.255.255.0
#
PEA配置:
#
router id
#
mpls lsr-id
#
mpls
#
mpls l2vpn
#
mpls ldp
#
mpls ldp remote-peer
remote-i
#
interface Ethernet0/0
port link-mode route
mpls l2vc
#
interface Ethernet0/1
port link-mode route
ip address
mpls
mpls
ldp
#
interface LoopBack0
ip
address
#
ospf 1
are
network
network
#
P配置:
#
router id
#
mpls lsr-id
#
mpls
#
mpls ldp
#
interface Ethernet0/0
port link-mode route
ip address
mpls
mpls
ldp
#
interface Ethernet0/1
port link-mode route
ip address
mpls
mpls
ldp
#
interface LoopBack0
ip
address
#
ospf 1
are
network
network
network
#
PEB配置:
#
router id
#
mpls lsr-id
#
mpls
#
mpls l2vpn
#
mpls ldp
#
mpls ldp remote-peer
remote-i
#
interface Ethernet0/0
port link-mode route
mpls l2vc
#
interface Ethernet0/1
port link-mode route
ip address
mpls
mpls
ldp
#
interface LoopBack0
ip
address
#
ospf 1
are
network
network
#
CEB配置:
#
interface Ethernet0/0
port link-mode route
ip address 192.168.0.2
255.255.255.0
#
四、配置关键点:
1. PE和P之间要保证MPLS互通,即建立OSPF和LDP连接;
2. PE连接CE的2个接口类型必须一致;
3. PE的接口上必须配置相同的circuit ID。
五、实验分析