In this article, we will study how to enable CEF, how to enable MPLS and how to configure label protocol ldp on Cisco routers.
During this survey we will check the configuretion with various basic show command that will be useful during MPLS configurations.
After successfully configuration of the core part, we will discuss hiding the core routes from the customer with disabling ttl propagate.
The topology that we will study on is below.
Before MPLS configuration, this configuration must be fully connected and you can ping from one end through the other. You will already find the GNS3 configuration file at the end of this article;)
Let’s start the configuration:
PE1 Router
PE1# configure terminal
PE1(config)# ip cef
PE1(config)# mpls label protocol ldp
PE1(config)# interface fastethernet 0/0
PE1(config-if)# mpls ip
PE1(config-if)# endPE2 Router
PE2# configure terminal
PE2(config)# ip cef
PE2(config)# mpls label protocol ldp
PE2(config)# interface fastethernet 0/0
PE2(config-if)# mpls ip
PE2(config-if)# endP1 Router
P1# configure terminal
P1(config)# ip cef
P1(config)# mpls label protocol ldp
P1(config)# interface fastethernet 0/0
P1(config-if)# mpls ip
P1(config-if)# exit
P1(config)# interface fastethernet 1/0
P1(config-if)# mpls ip
P1(config-if)# endP2 Router
P2# configure terminal
P2(config)# ip cef
P2(config)# mpls label protocol ldp
P2(config)# interface fastethernet 0/0
P2(config-if)# mpls ip
P2(config-if)# exit
P2(config)# interface fastethernet 1/0
P2(config-if)# mpls ip
P2(config-if)# endAfter the configuration of core routers(P1 and P2) and the customer edge routers(PE1 and PE2), it is time to verify our configuration.
Leave a Reply