#configure terminal | Enter the Configure mode. |
(config)#interface lo | Enter interface mode |
(config-if)#ip address 1.1.1.1/32 secondary | Configure the IP address of the interface loopback |
(config-if)#exit | Exit interface mode |
(config)# commit | Committing the configuration to apply in running configuration |
(config)# router ldp | Configure Router LDP instance |
(config)# commit | Committing the configuration to apply in running configuration |
(config)# bfd interval 3 minrx 3 multiplier 3 | Configure BFD single-hop sessions timer and reception interval in millisecond and the Hello multiplier. |
(config)# commit | Committing the configuration to apply in running configuration |
(config)#interface xe4 | Enter interface mode |
(config-if)#ip address 20.20.40.40/31 | Configure the IP address on the interface |
(config-if)#label-switching | Enable label-switching on interface |
(config-if)# enable-ldp ipv4 | Enable LDP process on interface |
(config-if)#exit | Exit interface mode. |
(config)# commit | Committing the configuration to apply in running configuration |
(config)#router ospf 1 | Configure the routing process OSPF with process id |
(config-router)# bfd all-interfaces | Enable BFD for all neighbors. |
(config-router)#network 1.1.1.1/32 area 0 | Define the interface on which OSPF runs, and associate the area ID (0) with the interface (area ID 0 specifies the backbone area). |
(config-router)#network 20.20.40.40/31 area 0 | Define the interface on which OSPF runs, and associate the area ID (0) with the interface (area ID 0 specifies the backbone area). |
(config-router)#exit | Exit from router ospf mode |
(config)# commit | Committing the configuration to apply in running configuration |
(config)#bgp nexthop-trigger enable | Enable Nexthop tracking. |
(config)# commit | Committing the configuration to apply in running configuration |
(config)#router bgp 100 | Enter Router BGP mode |
(config-router)# mpls-nexthop-tracking | Enable MPLS Next Hop tracking |
(config-router)#allocate-label all | Allocate labels for all IPv4 prefixes advertised |
(config-router)#neighbor 4.4.4.4 remote-as 100 | Add loopback ip of PE2 as neighbor with neighbor AS |
(config-router)#neighbor 4.4.4.4 update- source lo | Update the source for that particular neighbor as loopback interface |
(config-router)#neighbor 2.2.2.2 remote-as 100 | Add loopback ip of ABR1 as neighbor with neighbor AS |
(config-router)#neighbor 2.2.2.2 update- source lo | Update the source for that particular neighbor as loopback interface |
(config-router)# neighbor 2.2.2.2 fall-over bfd multihop | Enabling BFD at BGP level for particular neighbor. |
(config-router)# address-family ipv4 unicast | Enter address-family ipv4 unicast mode |
(config-router-af)# network 1.1.1.1/32 | Advertise a route via iBGP connection. |
(config-router-af)#exit-address-family | Exit from address family IPv4 unicast |
(config-router)#address-family ipv4 labeled- unicast | Enter into labeled-unicast address family |
(config-router-af)#neighbor 2.2.2.2 activate | Activate the neighbor inside labeled-unicast address family |
(config-router-af)#exit-address-family | Exit from address family IPv4 labeled unicast |
(config-router)#address-family vpnv4 unicast | Enter into vpnv4 unicast address family |
(config-router-af)#neighbor 4.4.4.4 activate | Activate the neighbor inside vpnv4 address family |
(config-router-af)#exit-address-family | Exit from address family vpnv4 |
(config-router)#exit | Exit from router BGP mode |
(config)# commit | Committing the configuration to apply in running configuration |
(config)#end | Exit from config mode into privilege mode |
#configure terminal | Enter the Configure mode. |
(config)#interface lo | Enter interface mode |
(config-if)#ip address 2.2.2.2/32 Secondary | Configure the IP address of the interface loopback |
(config-if)#exit | Exit interface mode |
(config)# commit | Committing the configuration to apply in running configuration |
(config)# router ldp | Configure Router LDP instance |
(config)# commit | Committing the configuration to apply in running configuration |
(config)# bfd interval 3 minrx 3 multiplier 3 | Configure BFD single-hop sessions timer and reception interval in millisecond and the Hello multiplier. |
(config)# commit | Committing the configuration to apply in running configuration |
(config)#interface xe4 | Enter interface mode |
(config-if)#ip address 20.20.40.41/31 | Configure the IP address on the interface |
(config-if)#label-switching | Enable label-switching on interface |
(config-if)# enable-ldp ipv4 | Enable LDP process on interface |
(config-if)#exit | Exit interface mode. |
(config)#interface xe10 | Enter interface mode |
(config-if)#ip address 20.20.40.48/31 | Configure the IP address on the interface |
(config-if)#label-switching | Enable label-switching on interface |
(config-if)# enable-ldp ipv4 | Enable LDP process on interface |
(config-if)#exit | Exit interface mode. |
(config)# commit | Committing the configuration to apply in running configuration |
(config)# enable ext-ospf-multi-inst | Enable multiple-instance capability. |
(config)# commit | Committing the configuration to apply in running configuration |
(config)#router ospf 1 | Configure the routing process OSPF with process id |
(config)# bfd all-interfaces | Enable BFD for all neighbors. |
(config-router)#network 2.2.2.2/32 area 0 | Define the interface on which OSPF runs, and associate the area ID (0) with the interface (area ID 0 specifies the backbone area). |
(config-router)#network 20.20.40.40/31 area 0 | Define the interface on which OSPF runs, and associate the area ID (0) with the interface (area ID 0 specifies the backbone area). |
(config-router)#exit | Exit from router ospf mode |
(config)#router ospf 2 | Configure the routing process OSPF with process id |
(config)# bfd all-interfaces | Enable BFD for all neighbors. |
(config)# redistribute connected | Redistribute connected routes. |
(config-router)#network 2.2.2.2/32 area 0 instance-id 2 | Advertise the network in Area 0 with an instance ID of 2. |
(config-router)#network 20.20.40.48/31 area 0 | Define the interface on which OSPF runs, and associate the area ID (0) with the interface (area ID 0 specifies the backbone area). |
(config-router)#exit | Exit from router ospf mode |
(config)# commit | Committing the configuration to apply in running configuration |
(config)#bgp nexthop-trigger enable | Enable Nexthop tracking. |
(config)# commit | Committing the configuration to apply in running configuration |
(config)#router bgp 100 | Enter Router BGP mode |
(config-router)# mpls-nexthop-tracking | Enable MPLS Next Hop tracking |
(config-router)#allocate-label all | Allocate labels for all IPv4 prefixes advertised |
(config-router)#neighbor 1.1.1.1 remote-as 100 | Add loopback ip of PE1 as neighbor with neighbor AS |
(config-router)#neighbor 1.1.1.1 update- source lo | Update the source for that particular neighbor as loopback interface |
(config-router)# neighbor 1.1.1.1 fall-over bfd multihop | Enabling BFD at BGP level for particular neighbor. |
(config-router)#neighbor 3.3.3.3 remote-as 100 | Add loopback ip of ABR2 as neighbor with neighbor AS |
(config-router)#neighbor 3.3.3.3 update- source lo | Update the source for that particular neighbor as loopback interface |
(config-router)# neighbor 3.3.3.3 fall-over bfd multihop | Enabling BFD at BGP level for particular neighbor. |
(config-router)# address-family ipv4 unicast | Enter address-family ipv4 unicast mode |
(config-router-af)# network 2.2.2.2/32 | Advertise a route via iBGP connection. |
(config-router-af)#exit-address-family | Exit from address family IPv4 unicast |
(config-router)#address-family ipv4 labeled- unicast | Enter into labeled-unicast address family |
(config-router-af)#neighbor 1.1.1.1 activate | Activate the neighbor inside labeled-unicast address family |
(config-router-af)# neighbor 1.1.1.1 route-reflector-client | Configure the router as Route-reflector (RR) and Neighbor router as its client. |
(config-router-af)# neighbor 1.1.1.1 next-hop-self | Enable next hop self for the particular neighbor inside address family IPv4 labeled unicast. |
(config-router-af)#neighbor 3.3.3.3 activate | Activate the neighbor inside labeled-unicast address family |
(config-router-af)# neighbor 3.3.3.3 route-reflector-client | Configure the router as Route-reflector (RR) and Neighbor router as its client. |
(config-router-af)# neighbor 3.3.3.3 next-hop-self | Enable next hop self for the particular neighbor inside address family IPv4 labeled unicast. |
(config-router-af)#exit-address-family | Exit from address family IPv4 labeled unicast |
(config-router)#exit | Exit from router BGP mode |
(config)# commit | Committing the configuration to apply in running configuration |
(config)#end | Exit from config mode into privilege mode |
#configure terminal | Enter the Configure mode. |
(config)#interface lo | Enter interface mode |
(config-if)#ip address 3.3.3.3/32 | Configure the IP address of the interface loopback |
(config-if)#exit | Exit interface mode |
(config)# commit | Committing the configuration to apply in running configuration |
(config)# router ldp | Configure Router LDP instance |
(config)# commit | Committing the configuration to apply in running configuration |
(config)# bfd interval 3 minrx 3 multiplier 3 | Configure BFD single-hop sessions timer and reception interval in millisecond and the Hello multiplier. |
(config)# commit | Committing the configuration to apply in running configuration |
(config)#interface xe5 | Enter interface mode |
(config-if)#ip address 20.20.40.38/31 | Configure the IP address on the interface |
(config-if)#label-switching | Enable label-switching on interface |
(config-if)# enable-ldp ipv4 | Enable LDP process on interface |
(config-if)#exit | Exit interface mode. |
(config)#interface xe10 | Enter interface mode |
(config-if)#ip address 20.20.40.49/31 | Configure the IP address on the interface |
(config-if)#label-switching | Enable label-switching on interface |
(config-if)# enable-ldp ipv4 | Enable LDP process on interface |
(config-if)#exit | Exit interface mode. |
(config)# commit | Committing the configuration to apply in running configuration |
(config)# enable ext-ospf-multi-inst | Enable multiple-instance capability. |
(config)# commit | Committing the configuration to apply in running configuration |
(config)#router ospf 2 | Configure the routing process OSPF with process id |
(config)# bfd all-interfaces | Enable BFD for all neighbors. |
(config)# redistribute connected | Redistribute connected routes. |
(config-router)#network 3.3.3.3/32 area 0 | Define the interface on which OSPF runs, and associate the area ID (0) with the interface (area ID 0 specifies the backbone area). |
(config-router)#network 20.20.40.48/31 area 0 | Define the interface on which OSPF runs, and associate the area ID (0) with the interface (area ID 0 specifies the backbone area). |
(config-router)#exit | Exit from router ospf mode |
(config)#router ospf 3 | Configure the routing process OSPF with process id |
(config)# bfd all-interfaces | Enable BFD for all neighbors. |
(config-router)#network 2.2.2.2/32 area 0 instance-id 3 | Advertise the network in Area 0 with an instance ID of 2. |
(config-router)#network 20.20.40.38/31 area 0 | Define the interface on which OSPF runs, and associate the area ID (0) with the interface (area ID 0 specifies the backbone area). |
(config-router)#exit | Exit from router ospf mode |
(config)# commit | Committing the configuration to apply in running configuration |
(config)#bgp nexthop-trigger enable | Enable Nexthop tracking. |
(config)# commit | Committing the configuration to apply in running configuration |
(config)#router bgp 100 | Enter Router BGP mode |
(config-router)# mpls-nexthop-tracking | Enable MPLS Next Hop tracking |
(config-router)#allocate-label all | Allocate labels for all IPv4 prefixes advertised |
(config-router)#neighbor 4.4.4.4 remote-as 100 | Add loopback ip of PE2 as neighbor with neighbor AS |
(config-router)#neighbor 4.4.4.4 update- source lo | Update the source for that particular neighbor as loopback interface |
(config-router)# neighbor 4.4.4.4 fall-over bfd multihop | Enabling BFD at BGP level for particular neighbor. |
(config-router)#neighbor 2.2.2.2 remote-as 100 | Add loopback ip of ABR1 as neighbor with neighbor AS |
(config-router)#neighbor 2.2.2.2 update- source lo | Update the source for that particular neighbor as loopback interface |
(config-router)# neighbor 2.2.2.2 fall-over bfd multihop | Enabling BFD at BGP level for particular neighbor. |
(config-router)# address-family ipv4 unicast | Enter address-family ipv4 unicast mode |
(config-router-af)# network 2.2.2.2/32 | Advertise a route via iBGP connection. |
(config-router-af)#exit-address-family | Exit from address family IPv4 unicast |
(config-router)#address-family ipv4 labeled- unicast | Enter into labeled-unicast address family |
(config-router-af)#neighbor 2.2.2.2 activate | Activate the neighbor inside labeled-unicast address family |
(config-router-af)# neighbor 2.2.2.2 route-reflector-client | Configure the router as Route-reflector (RR) and Neighbor router as its client. |
(config-router-af)# neighbor 2.2.2.2 next-hop-self | Enable next hop self for the particular neighbor inside address family IPv4 labeled unicast. |
(config-router-af)#neighbor 4.4.4.4 activate | Activate the neighbor inside labeled-unicast address family |
(config-router-af)# neighbor 4.4.4.4 route-reflector-client | Configure the router as Route-reflector (RR) and Neighbor router as its client. |
(config-router-af)# neighbor 4.4.4.4 next-hop-self | Enable next hop self for the particular neighbor inside address family IPv4 labeled unicast. |
(config-router-af)#exit-address-family | Exit from address family IPv4 labeled unicast |
(config-router)#exit | Exit from router BGP mode |
(config)# commit | Committing the configuration to apply in running configuration |
(config)#end | Exit from config mode into privilege mode |
#configure terminal | Enter the Configure mode. |
(config)#interface lo | Enter interface mode |
(config-if)#ip address 4.4.4.4/32 secondary | Configure the IP address of the interface loopback |
(config-if)#exit | Exit interface mode |
(config)# commit | Committing the configuration to apply in running configuration |
(config)# router ldp | Configure Router LDP instance |
(config)# commit | Committing the configuration to apply in running configuration |
(config)# bfd interval 3 minrx 3 multiplier 3 | Configure BFD single-hop sessions timer and reception interval in millisecond and the Hello multiplier. |
(config)# commit | Committing the configuration to apply in running configuration |
(config)#interface xe5 | Enter interface mode |
(config-if)#ip address 20.20.40.39/31 | Configure the IP address on the interface |
(config-if)#label-switching | Enable label-switching on interface |
(config-if)# enable-ldp ipv4 | Enable LDP process on interface |
(config-if)#exit | Exit interface mode. |
(config)# commit | Committing the configuration to apply in running configuration |
(config)#router ospf 3 | Configure the routing process OSPF with process id |
(config)# bfd all-interfaces | Enable BFD for all neighbors. |
(config-router)#network 3.3.3.3/32 area 0 | Define the interface on which OSPF runs, and associate the area ID (0) with the interface (area ID 0 specifies the backbone area). |
(config-router)#network 20.20.40.38/31 area 0 | Define the interface on which OSPF runs, and associate the area ID (0) with the interface (area ID 0 specifies the backbone area). |
(config-router)#exit | Exit from router ospf mode |
(config)# commit | Committing the configuration to apply in running configuration |
(config)#bgp nexthop-trigger enable | Enable Nexthop tracking. |
(config)# commit | Committing the configuration to apply in running configuration |
(config)#router bgp 100 | Enter Router BGP mode |
(config-router)# mpls-nexthop-tracking | Enable MPLS Next Hop tracking |
(config-router)#allocate-label all | Allocate labels for all IPv4 prefixes advertised |
(config-router)#neighbor 1.1.1.1 remote-as 100 | Add loopback ip of PE1 as neighbor with neighbor AS |
(config-router)#neighbor 1.1.1.1 update- source lo | Update the source for that particular neighbor as loopback interface |
(config-router)# neighbor 1.1.1.1 fall-over bfd multihop | Enabling BFD at BGP level for particular neighbor. |
(config-router)#neighbor 3.3.3.3 remote-as 100 | Add loopback ip of ABR2 as neighbor with neighbor AS |
(config-router)#neighbor 3.3.3.3 update- source lo | Update the source for that particular neighbor as loopback interface |
(config-router)# neighbor 3.3.3.3 fall-over bfd multihop | Enabling BFD at BGP level for particular neighbor. |
(config-router)# address-family ipv4 unicast | Enter address-family ipv4 unicast mode |
(config-router-af)# network 4.4.4.4/32 | Advertise a route via iBGP connection. |
(config-router-af)#exit-address-family | Exit from address family IPv4 unicast |
(config-router)#address-family ipv4 labeled- unicast | Enter into labeled-unicast address family |
(config-router-af)#neighbor 3.3.3.3 activate | Activate the neighbor inside labeled-unicast address family |
(config-router-af)#exit-address-family | Exit from address family IPv4 labeled unicast |
(config-router)#address-family vpnv4 unicast | Enter into vpnv4 unicast address family |
(config-router-af)#neighbor 1.1.1.1 activate | Activate the neighbor inside vpnv4 address family |
(config-router-af)#exit-address-family | Exit from address family vpnv4 |
(config-router)#exit | Exit from router BGP mode |
(config)# commit | Committing the configuration to apply in running configuration |
(config)#end | Exit from config mode into privilege mode |