MPLS组网案例 联系客服

发布时间 : 星期六 文章MPLS组网案例更新完毕开始阅读924cb7ef0975f46527d3e1d8

MPLS组网案例

组网需求:

1.各路由器基本信息配置

2.OSPF规范配置,修改网络类型为点对点

3.所有路由器运行OSPF,RT4 E3/0、RT5 E3/0 network至OSPF中,RT1E3/0重发布直连到OSPF中

4.所有路由器运行MPLS,标签分发协议为LDP 5.RT4和RT5运行IBGP,并将E3/1发布至BGP中

IP地址分配如下:

前面配置略 IGP配置如下: RT1:

router ospf 1 router-id 1.1.1.1

passive-interface default no passive-interface Serial0/1 no passive-interface Serial0/2

redistribute connected metric 1000 subnets network 1.1.1.1 0.0.0.0 area 0 network 10.0.12.0 0.0.0.3 area 0 network 10.0.13.0 0.0.0.3 area 0 RT2:

router ospf 1 router-id 2.2.2.2

passive-interface default

no passive-interface Serial0/0 no passive-interface Serial0/1 no passive-interface FastEthernet1/0 network 2.2.2.2 0.0.0.0 area 0 network 10.0.12.0 0.0.0.3 area 0 network 10.0.23.0 0.0.0.3 area 0 network 10.0.24.0 0.0.0.3 area 0 interface f1/0

ip ospf network point-to-point RT3:

router ospf 1 router-id 3.3.3.3

passive-interface default no passive-interface Serial0/0 no passive-interface Serial0/1 no passive-interface FastEthernet1/0 network 3.3.3.3 0.0.0.0 area 0 network 10.0.13.0 0.0.0.3 area 0 network 10.0.23.0 0.0.0.3 area 0 network 10.0.35.0 0.0.0.3 area 0 interface f1/0

ip ospf network point-to-point

RT4:

router ospf 1 router-id 4.4.4.4

passive-interface default no passive-interface Serial0/0 network 4.4.4.4 0.0.0.0 area 0 network 10.0.24.0 0.0.0.3 area 0 network 172.16.4.0 0.0.0.255 area 0 RT5:

router ospf 1 router-id 5.5.5.5

passive-interface default no passive-interface Serial0/0 network 5.5.5.5 0.0.0.0 area 0 network 10.0.35.0 0.0.0.3 area 0 network 172.16.5.0 0.0.0.255 area 0 MPLS配置:

RT1、RT2、RT3、RT4、RT5如下配置: 全局配置模式:

ip cef //运行MPLS必须开启CEF mpls ip //开启MPLS