Get the App
SLTechnology News&Howtos  ›  Network Security  › 

90. MPLS basic configuration experiment

Shulou Source: shulou.com Published: 2022-06-01 03:51:24 10月06日 Update

1. MPLS parsing

2. Experimental topology

3. Basic configuration

R1 configuration

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 configuration

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 configuration

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 configuration

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 configuration

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 configuration

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. Basic testing

5. MPLS configuration

R2 configuration

Ip cef

Interface Serial0/0

Mpls ip

R3 configuration

Ip cef

Interface Serial0/0

Mpls ip

Interface Serial0/1

Mpls ip

R4 configuration

Ip cef

Interface Serial0/0

Mpls ip

Interface Serial0/1

Mpls ip

R5 configuration

Ip cef

Interface Serial0/0

Mpls ip

6. MPLS test

Tags: Configuration Foundation Test Lab Topology Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Shulou Technology Linux Redmi Huawei