R1#configure terminal | Enter configure mode. |
R1(config)#interface lo | Enter interface mode. |
R1(config-if)#ipv6 address cafe:1:2::11/128 | Configure IPv6 address of the loopback interface. |
R1(config-if)#ip address 11.11.11.11/32 secondary | Configure ip address on the loopback interface as secondary |
R1(config-if)#ipv6 router isis 1 | Make the interface part of the router ISIS 1 instance. |
R1(config-if)#exit | Exit interface mode. |
R1(config)#interface eth1 | Enter interface mode. |
R1(config-if)#ipv6 address 2424::1/64 | Configure the IPv6 address of the interface. |
R1(config-if)#ipv6 router isis 1 | Make the interface part of the router ISIS 1 instance. |
R1(config)#interface eth2 | Enter interface mode. |
R1(config-if)#ipv6 router isis 1 | Make the interface part of the router ISIS 1 instance. |
R1(config-if)#ipv6 address 65::2/64 | Configure the IPv6 address of the interface. |
R1(config-if)#exit | Exit interface mode |
R1(config)#interface eth3 | Enter interface mode. |
R1(config-if)#ipv6 router isis 1 | Make the interface part of the router ISIS 1 instance. |
R1(config-if)#ipv6 address 2002::1/64 | Configure the IPv6 address of the interface. |
R1(config-if)#exit | Exit interface mode |
R1(config)#router isis 1 | Set the routing process ID as 1 |
R1(config-router)#is-type level-2 | Configure is-type as level-2 |
R1(config-router)#metric-style wide level-2 | Configure wide metric-style |
R1(config-router)# net 49.0001.0000.0000.0001.00 | Configure Network entity title (NET). |
R1(config-router)#mpls traffic-eng ipv6 router-id cafe:1:2::11 | Configure Ipv6 router-id |
R1(config-router)#mpls traffic-eng level-2 | Configure mpls traffic engineering for level-2 |
R1(config-router)#distribute bgp-ls | Link State distribution to BGP |
R1(config-router)# address-family ipv6 | Enter Address-family ipv6 |
R1(config-router-af)# multi-topology level-2 | Enable Multi-Topology |
R1(config-router-af)#segment-routing srv6 | Enable srv6 under ipv6 address-family |
R1(config-router-af-srv6)# srv6-locator R1_locator | Name to srv6 locator |
R1(config-router-af-srv6)#exit-srv6 | Exit srv6 mode |
R1(config-router-af)#exit-address-family | Exit address-family ipv6 |
R1(config-router)#exit | Exit router mode. |
R1(config)# router bgp 1000 | Configure router BGP in AS 1000 |
R1(config-router)# neighbor 65::1 remote-as 1000 | Configure neighbor in remote-as 1000 |
R1(config-router)# neighbor 2002::2 remote-as 1 | Configure neighbor with remote-as 1 |
R1(config-router)# address-family link-state link-state | Enter link-state Address family mode |
R1(config-router-af)# neighbor 65::1 activate | Activate IBGP-LS neighbor |
R1(config-router-af)# neighbor 2002::2 activate | Activate EBGP-LS neighbor |
R1(config-router-af)#exit-address-family | Exit from Address Family configuration mode |
R1(config)#segment-routing | Configuring segment-routing |
R1(config-sr)#srv6 | Segment-Routing over IPv6 Data-Plane |
R1(config-srv6)#locators | Configure SRv6 locators |
R1(config-srv6-loc)#locator R1_locator | Locator name as R1_locator |
R1(config-srv6-loc-conf)# prefix cafe:1:2:a11::/64 | Ipv6 prefix for locator |
R1(config-srv6-loc-conf)#exit-locator | Exit from locator mode |
R1(config-srv6-loc)#exit-locators | Exit from srv6 locators configuration mode |
R1(config-srv6)#exit-srv6 | Exit from srv6 configuration mode |
R1(config-router)#commit | Commit the transaction |
R2#configure terminal | Enter configure mode. |
R2(config)#interface lo | Enter interface mode. |
R2(config-if)# ip address 12.12.12.12/32 secondary | Configure ip address on the loopback interface as secondary |
R2(config)#interface eth1 | Enter interface mode. |
R2(config-if)# ipv6 address 2424::2/64 | Configure the IPv6 address of the interface. |
R2(config-if)#ipv6 router isis 1 | Make the interface part of the router isis 1 instance. |
R2(config-if)#exit | Exit interface mode. |
R2(config)#router isis 1 | Set the routing process ID as 1 |
R2(config-router)#is-type level-2 | Configure is-type as level-2 |
R2(config-router)#metric-style wide level-2 | Configure wide metric-style |
R2(config-router)# net 49.0001.0000.0000.0002.00 | Configure Network entity title (NET). |
R2(config-router)#mpls traffic-eng level-2 | Configure mpls traffic engineering for level-2 |
R2(config-router)# address-family ipv6 | Enter Address-family ipv6 |
R2(config-router-af)#exit-address-family | Exit address family ipv6 |
R2(config-router)#commit | Commit the transaction |
R2(config-router)#exit | Exit router mode. |
R3#configure terminal | Enter configure mode. |
R3(config)#interface lo | Enter interface mode. |
R3(config-if)# ip address 13.13.13.13/32 secondary | Configure ip address on the loopback interface as secondary |
R3(config)#interface eth2 | Enter interface mode. |
R3(config-if)# ipv6 address 65::1/64 | Configure the IPv6 address of the interface. |
R3(config-router)#exit | Exit router mode. |
R3(config)# router bgp 1000 | Configure router BGP in AS 1000 |
R3(config-router)# neighbor 65::2 remote-as 1000 | Configure neighbor in remote-as 1000 |
R3(config-router)# address-family link-state link-state | Enter link-state Address family mode |
R3(config-router-af)# neighbor 65::2 activate | Activate IBGP-LS neighbor |
R3(config-router-af)#exit-address-family | Exit from Address Family configuration mode |