log stdout
!
interface lo
 ip ospf network point-to-point
 ip ospf passive
exit
!
interface r2-eth0
 ip ospf network point-to-point
 ip ospf hello-interval 1
exit
!
interface r2-eth1
 ip ospf network point-to-point
 ip ospf hello-interval 1
exit
!
router ospf
 ospf router-id 192.0.2.2
 network 192.0.2.2/32 area 0.0.0.0
 network 192.168.1.0/24 area 0.0.0.0
 network 192.168.2.0/24 area 0.0.0.0
 passive-interface lo
 capability opaque
 mpls-te on
 mpls-te router-address 192.0.2.2
 segment-routing on
 segment-routing global-block 1000 10000 local-block 36000 36999
 segment-routing node-msd 8
 segment-routing prefix 192.0.2.2/32 index 22
exit
!
