#configure terminal | Enter Configure mode |
(config)#int lo | Enter interface mode |
(config-if)#ip add 1.1.1.1/32 secondary | Assign IP address to interface |
(config-if)#prefix-sid index 100 no-php | Configure sid value with no-php |
(config-if)#ip router isis 1 | Make the interface part of the router ISIS 1 instance. |
(config-if)#interface xe8 | Enter Interface mode |
(config-if)#load-interval 30 | Enable load interval |
(config-if)#ip address 10.1.1.1/30 | Assign IP address to interface |
(config-if)#mtu 9216 | Set the mtu size |
(config-if)#label-switching | Enable label switching. |
(config-if)#ip ospf network point-to-point | Enable network as point to point |
(config-if)#isis network point-to-point | Enable network as point to point |
(config-if)#ip router isis 1 | Make the interface part of the router ISIS 1 instance. |
(config-router)#router isis 1 | Set the routing process ID |
(config-router)#is-type level-2-only | Configure isis level2 |
(config-router)#metric-style wide | Configure Network entity title (NET). |
(config-router)#mpls traffic-eng router-id 1.1.1.1 | Enable mpls traffic eng router-id |
(config-router)#mpls traffic-eng level-2 | Enable MPLS Traffic Engineering as level-2 |
(config-router)#capability cspf | Enable capability cspf |
(config-router)#bfd all-interfaces | Enable bfd all interfaces |
(config-router)#net 49.0001.0000.0001.0011.00 | Configure network. |
(config-router)#isis segment-routing global block20000 23000 | Enable SRGB range under ISIS process |
(config-router)#segment-routing mpls | Enable segment routing mpls ISIS process. |
(config-router)#router ospf 1 | Entering router ospf. |
(config-router)#ospf router-id 1.1.1.1 | Configure OSPF router-id |
(config-router)#bfd all-interfaces | Enable bfd all interfaces |
(config-router)#network 1.1.1.1/32 area 0.0.0.0 | Configure network. |
(config-router)#network 10.1.1.0/24 area 0.0.0.0 | Configure network. |
(config-router)#ospf segment-routing global block | Enable SRGB range under OSPF process |
16000 19000 | |
(config-router)#segment-routing mpls | Enable segment routing mpls ISIS process. |
(config-router)#commit | Commit the configurations |
(config-router)#end | Return to privilege mode |
#configure terminal | Enter Configure mode |
(config)#int lo | Enter interface mode |
(config-if)#ip add 2.2.2.2/32 secondary | Assign IP address to interface |
(config-if)#prefix-sid index 200 no-php | Configure sid value with no-php |
(config-if)#ip router isis 1 | Make the interface part of the router ISIS 1 instance. |
(config-if)#interface xe8 | Enter interface mode |
(config-if)#load-interval 30 | Enable load interval |
(config-if)#ip address 10.1.1.2/30 | Assign IP address to interface |
(config-if)#mtu 9216 | Set the mtu size |
(config-if)#label-switching | Enable label switching. |
(config-if)#ip ospf network point-to-point | Enable network as point to point |
(config-if)#isis network point-to-point | Enable network as point to point |
(config-if)#ip router isis 1 | Make the interface part of the router ISIS 1 instance. |
(config-if)#interface ce0 | Enter interface mode |
(config-if)#load-interval 30 | Enable load interval |
(config-if)#ip address 20.1.1.1/30 | Assign IP address to interface |
(config-if)#mtu 9216 | Set the mtu size |
(config-if)#label-switching | Enable label switching. |
(config-if)#ip ospf network point-to-point | Enable network as point to point |
(config-if)#isis network point-to-point | Enable network as point to point |
(config-if)#ip router isis 1 | Make the interface part of the router ISIS 1 instance. |
(config-if)#router isis 1 | Set the routing process ID |
(config-router)#is-type level-2-only | Configure isis level2 |
(config-router)#metric-style wide | Configure Network entity title (NET). |
(config-router)#mpls traffic-eng router-id 2.2.2.2 | Enable mpls traffic eng router-id |
(config-router)#mpls traffic-eng level-2 | Enable MPLS Traffic Engineering as level-2 |
(config-router)#capability cspf | Enable capability cspf |
(config-router)#bfd all-interfaces | Enable bfd all interfaces |
(config-router)#net 49.0001.0000.0001.0022.00 | Configure network. |
(config-router)#isis segment-routing global block20000 23000 | Enable SRGB range under ISIS process |
(config-router)#segment-routing mpls | Enable segment routing mpls ISIS process. |
(config-router)#router ospf 1 | Entering router ospf. |
(config-router)#ospf router-id 2.2.2.2 | Configure OSPF router-id. |
(config-router)#bfd all-interfaces | Enable bfd all interfaces |
(config-router)#network 2.2.2.2/32 area 0.0.0.0 | Configures a network with the IP address 2.2.2.2 as a part of OSPF area 0.0.0.0 in a router's configuration |
(config-router)#network 10.1.1.0/24 area 0.0.0.0 | Configures a network with the IP address 10.1.1.0 as a part of OSPF area 0.0.0.0 in a router's configuration. |
(config-router)#network 20.1.1.0/24 area 0.0.0.0 | Configures a network with the IP address 20.1.1.0 as a part of OSPF area 0.0.0.0 in a router's configuration. |
(config-router)#ospf segment-routing global block 16000 19000 | Enable SRGB range under OSPF process |
(config-router)#segment-routing mpls | Enable segment routing mpls ISIS process. |
(config-router)#commit | Commit the configurations |
(config-router)#end | Return to privilege mode |
#configure terminal | Enter Configure mode |
(config)#int lo | Enter interface mode |
(config-if)#ip add 3.3.3.3/32 secondary | Assign IP address to interface |
(config-if)#prefix-sid index 300 no-php | Configure sid value with no-php |
(config-if)#ip router isis 1 | Make the interface part of the router ISIS 1 instance |
(config-if)#interface ce14 | Enter interface mode |
(config-if)#load-interval 30 | Enable load interval |
(config-if)#ip address 20.1.1.2/30 | Assign IP address to interface |
(config-if)#mtu 9216 | Set the mtu size |
(config-if)#label-switching | Enable label switching |
(config-if)#ip ospf network point-to-point | Enable network as point to point |
(config-if)#isis network point-to-point | Enable network as point to point |
(config-if)#ip router isis 1 | Make the interface part of the router ISIS 1 instance. |
(config-if)#route isis 1 | Set the routing process ID |
(config-router)#is-type level-2-only | Configure isis level2 |
(config-router)#metric-style wide | Configure Network entity title (NET). |
(config-router)#mpls traffic-eng router-id 3.3.3.3 | Enable mpls traffic eng router-id |
(config-router)#mpls traffic-eng level-2 | Enable MPLS Traffic Engineering as level-2 |
(config-router)#capability cspf | Enable capability cspf |
(config-router)#bfd all-interfaces | Enable bfd all interfaces |
(config-router)#net 49.0001.0000.0001.0033.00 | Configures a network with the address 49.0001.0000.0001.0033.00 in a ISIS configuration |
(config-router)#isis segment-routing global block 20000 23000 | Enable SRGB range under ISIS process |
(config-router)#segment-routing mpls | Enable segment routing mpls ISIS process. |
(config-router)#router ospf 1 | Entering router ospf. |
(config-router)#ospf router-id 3.3.3.3 | Configure OSPF router-id. |
(config-router)#bfd all-interfaces | Enable bfd all interfaces |
(config-router)#network 3.3.3.3/32 area 0.0.0.0 | Configures a network with the IP address 3.3.3.3 as a part of OSPF area 0.0.0.0 in a router's configuration. |
(config-router)#network 20.1.1.0/24 area 0.0.0.0 | Configures a network with the IP address 20.1.1.0 as a part of OSPF area 0.0.0.0 in a router's configuration. |
(config-router)#ospf segment-routing global block 16000 19000 | Enable SRGB range under OSPF process |
(config-router)#segment-routing mpls | Enable segment routing mpls ISIS process. |
(config-router)#commit | Commit the configurations |
(config-router)#end | Return to privilege mode |
#configure terminal | Enter Configure mode. |
(config)# ip vrf vrf100 | Create a new VRF named vrf100 |
(config-vrf)#rd 100:1 | Assign the route distinguisher (RD) value as 100:1 |
(config-vrf)#route-target both 100:1 | Import routes between route target (RT) ext-communities 100 and 1 |
(config-vrf)#exit | Exit VRF mode |
(config)#int xe4 | Enter Interface mode |
(config-if)#mtu 9216 | Set the mtu size |
(config-if)#exit | Exit Interface mode |
(config-if)#interface xe4.100 | Enter Interface mode |
(config-if)#encapsulation dot1q 100 | Configure encapsulation under a subinterface |
(config-if)#ip vrf forwarding vrf100 | Bind the interface connected to the CE1 router with VRF 100 |
(config-if)#ip address 100.1.1.1/24 | Assign IP address to interface |
(config-if)#mtu 9216 | Set the mtu size |
(config-if)#exit | Exit |
(config)#router bgp 65010 | Enter BGP router mode |
(config-router)#bgp router-id 1.1.1.1 | Configure BGP router-id |
(config-router)#neighbor 3.3.3.3 remote-as 65010 | Configure PE2 as an iBGP4+ neighbor |
(config-router)#neighbor 3.3.3.3 update-source lo | Update the source as loopback for iBGP peering with the remote PE2 router |
(config-router)#address-family vpnv4 unicast | address-family vpnv4 unicast |
(config-router-af)#neighbor 3.3.3.3 activate | Activate the PE1 neighbor in the vpnv4 address family |
(config-router-af)#exit-address-family | Exit |
(config-router)#address-family ipv4 vrf vrf100 | Enter the IPv4 address family for VRF 100 |
(config-router-af)#redistribute connected | Redistribute connected routes |
(config-router-af)#neighbor 100.1.1.2 remote-as 100 | Configure CE2 neighbor in the vrf address family |
(config-router-af)#neighbor 100.1.1.2 activate | Activate the CE2 neighbor |
(config-router-af)#exit-address-family | Exit form address family |
(config-router)#commit | Commit the configurations |
(config-router)#end | Return to privilege mode |
#configure terminal | Enter Configure mode. |
(config)#ip vrf vrf100 | Create a new VRF named vrf100 |
(config-vrf)#rd 10:100 | Assign the route distinguisher (RD) value as 10:100 |
(config-vrf)#route-target both 10:100 | Import routes between RT ext-communities 10 and 100 |
(config-vrf)#int ce2 | Enter Interface mode |
(config-if)#mtu 9216 | Set the mtu size |
(config-if)#interface ce2.100 | Enter Interface mode |
(config-if)#encapsulation dot1q 100 | Configure encapsulation under a subinterface |
(config-if)#ip vrf forwarding vrf100 | Bind the interface connected to the CE1 router with VRF 100 |
(config-if)#ip address 200.1.1.1/24 | Assign IP address to interface |
(config-if)#mtu 9216 | Set the mtu size |
(config)#router bgp 65010 | Enter BGP router mode |
(config-router)#bgp router-id 3.3.3.3 | Configure BGP router-id |
(config-router)#neighbor 1.1.1.1 update-source lo | Configure PE2 as an iBGP4+ neighbor |
(config-router)#neighbor 1.1.1.1 remote-as 65010 | Update the source as loopback for iBGP peering with the remote PE2 router |
(config-router)#address-family vpnv4 unicast | address-family vpnv4 unicast |
(config-router-af)#neighbor 1.1.1.1 activate | Activate the PE1 neighbor in the vpnv4 address family |
(config-router-af)#exit-address-family | Exit |
(config-router)#address-family ipv4 vrf vrf100 | Enter the IPv4 address family for VRF 100 |
(config-router-af)#redistribute connected | Redistribute connected routes |
(config-router-af)#neighbor 200.1.1.2 remote-as 200 | Configure CE2 neighbor in the vrf address family |
(config-router-af)#neighbor 200.1.1.2 activate | Activate the CE2 neighbor |
(config-router-af)#exit-address-family | Exit form address family |
(config-router)#commit | Commit the configurations |
(config-router)#end | Return to privilege mode |
#configure terminal | Enter Configure mode. |
(config)#int xe4 | Enter Interface mode |
(config-if)#mtu 9216 | Set the mtu size |
(config-if)#interface xe4.100 | Enter Interface mode |
(config-if)#encapsulation dot1q 100 | Configure encapsulation under a subinterface |
(config-if)#load-interval 30 | Enable load interval |
(config-if)#ip address 100.1.1.2/24 | Assign IP address to interface |
(config-if)#mtu 9216 | Set the mtu size |
(config-if)#interface lo | Configure lo interface |
(config-if)#ip address 11.11.11.11/32 secondary | Assign IP address to interface |
(config-if)#router bgp 100 | Enter BGP router mode |
(config-router)#neighbor 100.1.1.1 remote-as 65010 | Configure BGP router-id |
(config-router)#address-family ipv4 unicast | Enter address-family vpnv4 mode |
(config-router-af)#neighbor 100.1.1.1 activate | mode Activate neighbor |
(config-router-af)#redistribute connected | Redistribute connected routes |
(config-router-af)#commit | Commit the configurations |
(config-router-af)#end | Return to privilege mode |
#configure terminal | Enter Configure mode. |
(config)#int ce0 | Enter Interface mode |
(config)#mtu 9216 | Set the mtu size |
(config)#interface ce0.100 | Enter Interface mode |
(config)#encapsulation dot1q 100 | Configure encapsulation under a subinterface |
(config)#load-interval 30 | Enable load interval |
(config)#ip address 200.1.1.2/24 | Assign IP address to interface |
(config)#mtu 9216 | Set the mtu size |
(config-if)#interface lo | Configure lo interface |
(config-if)#ip address 22.22.22.22/32 secondary | Assign IP address to interface |
(config-if)#router bgp 200 | Enter BGP router mode |
config-router)#neighbor 200.1.1.1 remote-as 65010 | Configure BGP router-id |
config-router-af)#address-family ipv4 unicast | Enter address-family ipv4 mode |
config-router-af)#neighbor 200.1.1.1 activate | mode Activate neighbor |
config-router-af)#redistribute connected | Redistribute connected routes |
(config)#commit | Commit the configurations |
(config)#end | Return to privilege mode |
#configure terminal | Enter Configure mode. |
(config)# hardware-profile filter twamp-ipv4 enable | Enable hardware filter for ipv4 to configure TWAMP meas- urement configs |
(config)#commit | Commit the configuration |
(config)# twamp-light control | Enable TWAMP light controller on PE1 |
(config-twamp-light-ctrl)# control-admin- state enable | Enable TWAMP Controller admin state |
(config-twamp-light-ctrl)#delay-profile interfaces | Enter in to delay profile mode |
(config-dp-intf)#mode two-way | Enter mode |
(config-dp-intf)#burst-count 1 | Enter burst count |
(config-dp-intf)#burst-interval 1000 | Configure burst interval value under delay profile mode |
(config-dp-intf)#interval 30 | Configure interval |
(config-dp-intf)#advertisement periodic threshold 10 | Configure advertisement periodic |
(config-dp-intf)#advertisement periodic minimum-change 1000 | Configure advertisement periodic minimum change |
(config-dp-intf)#advertisement accelerated | Configure advertisement accelerated |
(config-dp-intf)#advertisement accelerated threshold 20 | Configure advertisement accelerated threshold |
(config-dp-intf)#advertisement accelerated minimum-change 2000 | Configure advertisement accelerated minimum change |
(config-dp-intf)#int lo | Enter Interface Loopback mode |
(config-if)#loss-measurement dynamic | Configure loss measurement |
(config-if)#delay-measurement dynamic twamp reflector-ip 22.22.22.22 sender-ip 11.11.11.11 | Enter in to delay profile mode |
(config-if)#commit | Commit the configurations |
(config-if)#end | Return to privilege mode |
#configure terminal | Enter Configure mode. |
(config)# hardware-profile filter twamp-ipv4 enable | Enable hardware filter for ipv4 to configure TWAMP meas- urement configs |
(config)#commit | Commit the configuration |
(config)# twamp-light reflector | Enable TWAMP light Reflector on PE2 |
(config-twamp-light-ref)# reflec-tor-admin- state enable | Enable the TWAMP reflector admin state |
(config-twamp-light-ref)# reflector-name CE2-CE1-lo reflector-ip ipv4 22.22.22.22 | Configure TWAMP reflector IP as PE2 interface IP |
(config-twamp-light-ref)#commit | Commit the configurations |
(config-if)#end | Return to privilege mode |
#configure terminal | Enter Configure mode. |
(config)# hardware-profile filter twamp-ipv4 enable | Enable hardware filter for ipv4 to configure TWAMP meas- urement configs |
(config)#commit | Commit the configuration |
(config)# twamp-light control | Enable TWAMP light controller on CE1 |
(config-twamp-light-ctrl)# control-admin- state enable | Enable TWAMP Controller admin state |
(config-twamp-light-ctrl)#delay-profile interfaces | Enter in to delay profile mode |
(config-dp-intf)#mode two-way | Enter mode |
(config-dp-intf)#burst-count 1 | Enter burst count |
(config-dp-intf)#burst-interval 1000 | Configure burst interval value under delay profile mode |
(config-dp-intf)#interval 30 | Configure interval |
(config-dp-intf)#advertisement periodic threshold 10 | Configure advertisement periodic |
(config-dp-intf)#advertisement periodic minimum-change 1000 | Configure advertisement periodic minimum change |
(config-dp-intf)#advertisement accelerated | Configure advertisement accelerated |
(config-dp-intf)#advertisement accelerated threshold 20 | Configure advertisement accelerated threshold |
(config-dp-intf)#advertisement accelerated minimum-change 2000 | Configure advertisement accelerated minimum change |
(config-dp-intf)# int xe4.100 | Enter Interface Loopback mode |
(config-if)#loss-measurement dynamic | Configure loss measurement |
(config-if)# delay-measurement dynamic twamp reflector-ip 200.1.1.1 sender-ip 100.1.1.2 | Configure delay measurement on the interface |
(config-if)#commit | Commit the configurations |
(config-if)#end | Return to privilege mode |
#configure terminal | Enter Configure mode. |
(config)# hardware-profile filter twamp-ipv4 enable | Enable hardware filter for ipv4 to configure measurement configurations |
(config)#commit | Commit the configuration |
(config)# twamp-light reflector | Enable TWAMP light Reflector on PE2 |
(config-twamp-light-ref)# reflec-tor-admin- state enable | Enable the TWAMP reflector admin state |
(config-twamp-light-ref)# reflector-name RTR1-lo reflector-ip ipv4 200.1.1.1 vrf vrf100 | Configure TWAMP reflector IP as PE2 interface IP |
(config-twamp-light-ref)#commit | Commit the configurations |
(config-if)#end | Return to privilege mode |