欢迎光临
我们一直在努力

90、MPLS基础配置实验

1、MPLS解析

2、实验拓扑

3、基础配置

R1配置

interface Serial0/0

 ip address 12.1.1.1 255.255.255.0

router ospf 110

 router-id 1.1.1.1

 network 12.1.1.0 0.0.0.255 area 0

R2配置

interface Serial0/0

 ip address 12.1.1.2 255.255.255.0

interface Serial0/1

 ip address 23.1.1.2 255.255.255.0

router ospf 110

 router-id 2.2.2.2

 network 12.1.1.0 0.0.0.255 area 0

 network 23.1.1.0 0.0.0.255 area 0

R3配置

interface Serial0/0

 ip address 34.1.1.3 255.255.255.0

interface Serial0/1

 ip address 23.1.1.3 255.255.255.0

router ospf 110

 router-id 3.3.3.3

 network 23.1.1.0 0.0.0.255 area 0

 network 34.1.1.0 0.0.0.255 area 0

R4配置

interface Serial0/0

 ip address 34.1.1.4 255.255.255.0

interface Serial0/1

 ip address 45.1.1.4 255.255.255.0

router ospf 110

 router-id 4.4.4.4

 network 34.1.1.0 0.0.0.255 area 0

 network 45.1.1.0 0.0.0.255 area 0

R5配置

interface Serial0/0

 ip address 56.1.1.5 255.255.255.0

interface Serial0/1

 ip address 45.1.1.5 255.255.255.0

router ospf 110

 router-id 5.5.5.5

 network 45.1.1.0 0.0.0.255 area 0

 network 56.1.1.0 0.0.0.255 area 0

R6配置

interface Serial0/0

 ip address 56.1.1.6 255.255.255.0

router ospf 110

 router-id 6.6.6.6

 network 56.1.1.0 0.0.0.255 area 0

4、基础测试

5、MPLS配置

R2配置

ip cef

interface Serial0/0

 mpls ip

R3配置

ip cef

interface Serial0/0

 mpls ip

interface Serial0/1

 mpls ip

R4配置

ip cef

interface Serial0/0

 mpls ip

interface Serial0/1

 mpls ip

R5配置

ip cef

interface Serial0/0

 mpls ip

6、MPLS测试

赞(0)
【声明】:本博客不参与任何交易,也非中介,仅记录个人感兴趣的主机测评结果和优惠活动,内容均不作直接、间接、法定、约定的保证。访问本博客请务必遵守有关互联网的相关法律、规定与规则。一旦您访问本博客,即表示您已经知晓并接受了此声明通告。