configure terminal | Enter configure mode |
(config)#interface lo | Enter interface mode |
(config-if)#ip address 2.2.2.2/32 secondary | Assign the IPv4 address |
(config-if)#exit | Exit interface mode |
(config)#interface xe1 | Enter Interface mode |
(config-if)#ip address 10.10.12.1/24 | Assign IPv4 address |
(config-if)#label-switching | Enabling label switching capability on router |
(config-if)#commit | Commit the transaction. |
configure terminal | Enter configure mode |
(config)#interface lo | Enter interface mode |
(config-if)#ip address 4.4.4.4/32 secondary | Assign the IPv4 address |
(config-if)#exit | Exit interface mode |
(config)#interface xe1 | Enter Interface mode |
(config-if)#ip address 10.10.12.2/24 | Assign IPv4 address |
(config-if)#label-switching | Enabling label switching capability on router |
(config-if)#commit | Commit the transaction. |
(config)#interface xe2 | Enter Interface mode |
(config-if)#ip address 10.10.13.1/24 | Assign IPv4 address |
(config-if)#label-switching | Enabling label switching capability on router |
(config-if)#commit | Commit the transaction. |
configure terminal | Enter configure mode |
(config)#interface lo | Enter interface mode |
(config-if)#ip address 3.3.3.3/32 secondary | Assign the IPv4 address |
(config-if)#exit | Exit interface mode |
(config)#interface xe2 | Enter Interface mode |
(config-if)#ip address 10.10.13.2/24 | Assign IPv4 address |
(config-if)#label-switching | Enabling label switching capability on router |
(config-if)#commit | Commit the transaction. |
configure terminal | Enter configure mode |
(config)#router ospf 100 | Configure the routing process and specify the Process ID (100) |
(config-router)#network 10.10.12.0/24 area 0 | Define the interface on which OSPF runs and associate the area ID (0) with the interface |
(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 |
(config-router)#commit | Commit the transaction. |
configure terminal | Enter configure mode |
(config)#router ospf 100 | Configure the routing process and specify the Process ID (100) |
(config-router)#network 10.10.12.0/24 area 0 | Define the interface on which OSPF runs and associate the area ID (0) with the interface |
(config-router)#network 10.10.13.0/24 area 0 | Define the interface on which OSPF runs and associate the area ID (0) with the interface |
(config-router)#network 4.4.4.4/32 area 0 | Define the interface on which OSPF runs and associate the area ID (0) with the interface |
(config-router)#commit | Commit the transaction. |
configure terminal | Enter configure mode |
(config)#router ospf 100 | Configure the routing process and specify the Process ID (100) |
(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 |
(config-router)#commit | Commit the transaction. |
configure terminal | Enter configure mode |
(config)#router ldp | Enter router mode for LDP |
(config-router)#exit | Exit router mode |
(config)#interface xe1 | Enter interface mode |
(config-if)#enable-ldp ipv4 | Enabling LDP on interface |
(config-if)#commit | Commit the transaction. |
configure terminal | Enter configure mode |
(config)#router ldp | Enter router mode for LDP |
(config-router)#exit | Exit router mode |
(config)#interface xe1 | Enter interface mode |
(config-if)#enable-ldp ipv4 | Enabling LDP on interface |
(config-if)#exit | Exit interface mode |
(config)#interface xe2 | Enter interface mode |
(config-if)#enable-ldp ipv4 | Enabling LDP on interface |
(config-if)#commit | Commit the transaction. |
configure terminal | Enter configure mode |
(config)#router ldp | Enter router mode for LDP |
(config-router)#exit | Exit router mode |
(config)#interface xe2 | Enter interface mode |
(config-if)#enable-ldp ipv4 | Enabling LDP on interface |
(config-if)#commit | Commit the transaction. |
configure terminal | Enter configure mode |
(config)#router rsvp | Enter Configure Router mode |
(config-router)#rsvp-path p1 mpls | Enter the path mode for RSVP P1. |
(config-path)#10.10.12.2 loose | Configure loose path |
(config-path)#exit | Exit Configure Router mode |
(config)#rsvp-trunk t1 | Configure RSVP trunk t1 |
(config-rsvp)#primary path p1 | Specify an RSVP path to be used |
(config-rsvp)#from 2.2.2.2 | Assign the source loopback address to the RSVP trunk |
(config-rsvp)#to 3.3.3.3 | Assign the source loopback address to the to the RSVP trunk |
(config-rsvp)#exit | Exit RSVP trunk mode |
(config)#interface xe1 | Enter the interface mode |
(config-if)#enable-rsvp | Enable RSVP in interface |
(config-if)#commit | Commit the transaction. |
configure terminal | Enter configure mode |
(config)#router rsvp | Enter Configure Router mode |
(config-router)#exit | Exit Configure Router mode |
(config)#interface xe1 | Enter the interface mode |
(config-if)#enable-rsvp | Enable RSVP in interface |
(config-if)#exit | Exit interface mode |
(config)#interface xe2 | Enter the interface mode |
(config-if)#enable-rsvp | Enable RSVP in interface |
(config-if)#commit | Commit the transaction. |
configure terminal | Enter configure mode |
(config)#router rsvp | Enter Configure Router mode |
(config-router)#rsvp-trunk t1 | Configure RSVP trunk t1 |
(config-rsvp)#from 3.3.3.3 | Assign the source loopback address to the RSVP trunk |
(config-rsvp)#to 2.2.2.2 | Assign the source loopback address to the to the RSVP trunk |
(config-rsvp)#exit | Exit RSVP trunk mode |
(config)#interface xe2 | Enter the interface mode |
(config-if)#enable-rsvp | Enable RSVP in interface |
(config-if)#commit | Commit the transaction. |
#configure terminal | Enter the configure terminal |
(config)#router bgp 100 | Enter the Router BGP mode, ASN: 100 |
(config-router)#bgp router-id 2.2.2.2 | Router identifier for BGP |
(config-router)#exit | Exit router BGP mode |
(config)#router ldp | Enter the Router LDP mode |
(config-router)#exit | Exit the Router LDP mode |
(config)#router bgp 100 | Enter the Router BGP mode, ASN: 100 |
(config-router)#neighbor 3.3.3.3 remote-as 100 | Configuring ABR1 as iBGP neighbor using it's loopback IP |
(config-router)#neighbor 3.3.3.3 update-source 2.2.2.2 | Source of routing updates |
(config-router)#address-family vpnv4 unicast | Configure VPNv4 address family |
(config-router-af)#neighbor 3.3.3.3 activate | Activate the VPN neighbor |
(config-router-af)exit-address-family | Exit address family mode |
(config-router)#address-family ipv4 unicast | Configure IPv4 address family |
(config-router-af)#neighbor 3.3.3.3 activate | Activate the IPv4 neighbor |
(config-router-af)#commit | Commit the transaction. |
#configure terminal | Enter the configure terminal |
(config)#router bgp 100 | Enter the Router BGP mode, ASN: 100 |
(config-router)#bgp router-id 3.3.3.3 | Router identifier for BGP |
(config-router)#exit | Exit router BGP mode |
(config)#router ldp | Enter the Router LDP mode |
(config-router)#exit | Exit the Router LDP mode |
(config)#router bgp 100 | Enter the Router BGP mode, ASN: 100 |
(config-router)#neighbor 2.2.2.2 remote-as 100 | Configuring ABR1 as iBGP neighbor using it's loopback IP |
(config-router)#neighbor 2.2.2.2 update-source 3.3.3.3 | Source of routing updates |
(config-router)#address-family vpnv4 unicast | Configure VPNv4 address family |
(config-router-af)#neighbor 2.2.2.2 activate | Activate the VPN neighbor |
(config-router-af)exit-address-family | Exit address family mode |
(config-router)#address-family ipv4 unicast | Configure IPv4 address family |
(config-router-af)#neighbor 2.2.2.2 activate | Activate the IPv4 neighbor |
(config-router-af)#commit | Commit the transaction. |
#configure terminal | Enter the configure terminal |
(config)#ip vrf ComB | Configure VRF instance |
(config-vrf)#rd 2:1 | Configure Router Distinguisher value |
(config-vrf)#exit | Exit VRF mode |
(config)#ip vrf ComA | Configure VRF instance |
(config-vrf)#rd 1:2 | Configure Router Distinguisher value |
(config-vrf)#exit | Exit VRF mode |
(config)#commit | Commit the transaction. |
#configure terminal | Enter the configure terminal |
(config)#ip vrf ComB | Configure VRF instance |
(config-vrf)#rd 1:2 | Configure Router Distinguisher value |
(config-vrf)#exit | Exit VRF mode |
(config)#ip vrf ComA | Configure VRF instance |
(config-vrf)#rd 2:1 | Configure Router Distinguisher value |
(config-vrf)#exit | Exit VRF mode |
(config)#commit | Commit the transaction. |
#configure terminal | Enter the configure terminal |
(config)#interface xe48 | Enter interface mode |
(config-if)#ip vrf forwarding ComB | Bind the VRF instance to the interface |
(config-if)exit | Exit interface mode |
(config)#interface xe49 | Enter interface mode |
(config-if)#ip vrf forwarding ComA | Bind the VRF instance to the interface |
(config-if)#ip address 192.16.2.2/24 | Assign IPv4 address |
(config-if)exit | Exit interface mode |
(config)#interface xe48 | Enter interface mode |
(config-if)#ip vrf forwarding ComA | Bind the VRF instance to the interface |
(config-if)#ip address 168.12.0.3/24 | Assign IPv4 address |
(config-if)exit | Exit interface mode |
(config)#commit | Commit the transaction. |
#configure terminal | Enter the configure terminal |
(config)#interface xe48 | Enter interface mode |
(config-if)#ip vrf forwarding ComA | Bind the VRF instance to the interface |
(config-if)#ip address 192.16.4.2/24 | Assign IPv4 address |
(config-if)exit | Exit interface mode |
(config)#interface xe49 | Enter interface mode |
(config-if)#ip vrf forwarding ComB | Bind the VRF instance to the interface |
(config-if)#ip address 168.12.4.2/24 | Assign IPv4 address |
(config-if)exit | Exit interface mode |
(config)#commit | Commit the transaction. |
#configure terminal | Enter the configure terminal |
(config)#ip vrf ComA | Configure VRF instance |
(config-vrf)#rd 2:2 | Configure Router Distinguisher value |
(config-vrf)#route-target both 200:1 | Configure route-target as both |
(config-vrf)#exit | Exit VRF mode |
(config)#ip vrf ComB | Configure VRF instance |
(config-vrf)#rd 1:1 | Configure Router Distinguisher value |
(config-vrf)#route-target both 100:1 | Configure route-target as both |
(config-vrf)#exit | Exit VRF mode |
(config)#commit | Commit the transaction. |
#configure terminal | Enter the configure terminal |
(config)#ip vrf ComA | Configure VRF instance |
(config-vrf)#rd 2:1 | Configure Router Distinguisher value |
(config-vrf)#route-target both 200:1 | Configure route-target as both |
(config-vrf)#exit | Exit VRF mode |
(config)#ip vrf ComB | Configure VRF instance |
(config-vrf)#rd 1:2 | Configure Router Distinguisher value |
(config-vrf)#route-target both 100:1 | Configure route-target as both |
(config-vrf)#exit | Exit VRF mode |
(config)#commit | Commit the transaction. |
#configure terminal | Enter the configure terminal |
(config)#ip vrf ComA | Configure VRF instance |
(config-vrf)#rd 2:2 | Configure Router Distinguisher value |
(config-vrf)#route-target both 200:1 | Configure route-target as both |
(config-vrf)#exit | Exit VRF mode |
(config)#ip vrf ComB | Configure VRF instance |
(config-vrf)#rd 1:1 | Configure Router Distinguisher value |
(config-vrf)#route-target both 100:1 | Configure route-target as both |
(config-vrf)#exit | Exit VRF mode |
(config)#commit | Commit the transaction. |
#configure terminal | Enter the configure terminal |
(config)#ip vrf ComA | Configure VRF instance |
(config-vrf)#rd 2:1 | Configure Router Distinguisher value |
(config-vrf)#route-target both 200:1 | Configure route-target as both |
(config-vrf)#exit | Exit VRF mode |
(config)#ip vrf ComB | Configure VRF instance |
(config-vrf)#rd 1:2 | Configure Router Distinguisher value |
(config-vrf)#route-target both 100:1 | Configure route-target as both |
(config-vrf)#exit | Exit VRF mode |
(config)#commit | Commit the transaction. |
configure terminal | Enter configure mode |
(config)#router bgp 100 | Enter BGP router mode |
(config-router)#address-family ipv4 unicast | Enter address family mode |
(config-router-af)#redistribute connected | Redistribute connected addresses |
(config-router-af)#exit-address-family | Exit address family mode |
(config-router)#address-family ipv4 vrf ComA | Enter the IPv4 address family for VRF comA |
(config-router)#neighbor 192.16.2.3 remote-as 65001 | Specify the neighbor |
(config-router-af)#neighbor 192.16.2.3 activate | Activate the neighbor |
(config-router-af)#exit-address-family | Exit address family mode |
(config-router)#address-family ipv4 vrf ComB | Enter the IPv4 address family for VRF comA |
(config-router)#neighbor 168.12.0.2 remote-as 65003 | Specify the neighbor |
(config-router-af)#neighbor 192.12.0.2 activate | Activate the neighbor |
(config-router-af)#exit-address-family | Exit address family mode |
(config-router)#commit | Commit the transaction |
configure terminal | Enter configure mode |
(config)#router bgp 100 | Enter BGP router mode |
(config-router)#address-family ipv4 unicast | Enter address family mode |
(config-router-af)#redistribute connected | Redistribute connected addresses |
(config-router-af)#exit-address-family | Exit address family mode |
(config-router)#address-family ipv4 vrf ComA | Enter the IPv4 address family for VRF comA |
(config-router)#neighbor 192.16.4.3 remote-as 65004 | Specify the neighbor |
(config-router-af)#neighbor 192.16.4.3 activate | Activate the neighbor |
(config-router-af)#exit-address-family | Exit address family mode |
(config-router)#address-family ipv4 vrf ComB | Enter the IPv4 address family for VRF comA |
(config-router)#neighbor 168.12.4.1 remote-as 65005 | Specify the neighbor |
(config-router-af)#neighbor 192.12.4.1 activate | Activate the neighbor |
(config-router-af)#exit-address-family | Exit address family mode |
(config-router)#commit | Commit the transaction |
configure terminal | Enter configure mode |
(config)#interface xe48 | Enter interface mode for xe48 |
(config-if)#ip address 168.12.0.2/24 | Assign IP address |
(config-if)#exit | Exit interface mode |
(config)#router bgp 65003 | Enter BGP router mode |
(config-router)#neighbor 168.12.0.3 remote-as 100 | Specify the neighbor |
(config-router)#address-family ipv4 unicast | Enter address family mode |
(config-router-af)#neighbor 168.12.0.3 activate | Activate the neighbor |
(config-router-af)#redistribute connected | Redistribute connected addresses |
(config-router-af)#commit | Commit the transaction |
configure terminal | Enter configure mode |
(config)#interface xe23 | Enter interface mode for xe48 |
(config-if)#ip address 192.12.4.1/24 | Assign IP address |
(config-if)#exit | Exit interface mode |
(config)#router bgp 65005 | Enter BGP router mode |
(config-router)#neighbor 192.12.4.2 remote-as 100 | Specify the neightbor |
(config-router)#address-family ipv4 unicast | Enter address family mode |
(config-router-af)#neighbor 192.12.4.2 activate | Activate the neighbor |
(config-router-af)#redistribute connected | Redistribute connected addresses |
(config-router-af)#commit | Commit the transaction |
configure terminal | Enter configure mode |
(config)#router ospf 101 comA | Enter OSPF router mode |
(config-router)#network 192.16.3.0/24 area 0 | Define the network on which OSPF runs and associate area ID |
(config-router)#redistribute bgp | Redistribute BGP |
(config-router)#exit | Exit router mode |
(config)#router ospf 102 comB | Enter OSPF router mode |
(config-router)#network 168.12.0.2/24 area 0 | Define the network on which OSPF runs and associate area ID |
(config-router)#redistribute bgp | Redistribute BGP |
(config-router)#commit | Commit the transaction |
(config-router)#exit | Exit router mode |
(config)#router bgp 100 | Enter the Router BGP mode, ASN: 100 |
(config-router)#address-family ipv4 vrf ComA | Configure VRF address family |
(config-router-af)#redistribute ospf | Redistribute OSPF |
(config-router-af)#exit-address-family | Exit address family mode |
(config-router)#address-family ipv4 vrf ComB | Configure VRF address family |
(config-router-af)#redistribute ospf | Redistribute OSPF |
(config-router-af)#redistribute rip | Redistribute RIP |
(config-router-af)#commit | Commit the transaction |
configure terminal | Enter configure mode |
(config)#router ospf 101 comA | Enter OSPF router mode |
(config-router)#network 192.16.4.0/24 area 0 | Define the network on which OSPF runs and associate area ID |
(config-router)#redistribute bgp | Redistribute BGP |
(config-router)#exit | Exit router mode |
(config)#router ospf 102 comB | Enter OSPF router mode |
(config-router)#network 168.12.0.3/24 area 0 | Define the network on which OSPF runs and associate area ID |
(config-router)#redistribute bgp | Redistribute BGP |
(config-router)#commit | Commit the transaction |
(config-router)#exit | Exit router mode |
(config)#router bgp 100 | Enter the Router BGP mode, ASN: 100 |
(config-router)#address-family ipv4 vrf ComA | Configure VRF address family |
(config-router-af)#redistribute ospf | Redistribute OSPF |
(config-router-af)#exit-address-family | Exit address family mode |
(config-router)#address-family ipv4 vrf ComB | Configure VRF address family |
(config-router-af)#redistribute ospf | Redistribute OSPF |
(config-router-af)#redistribute rip | Redistribute RIP |
(config-router-af)#commit | Commit the transaction |