hostname R4
username clab
 group root-lr
 group cisco-support
 secret 10 $6$tzXiI0zc9ZuG7I0.$4ANCdNWpspyg3nHPCqJ/NU4A4esOqZuJxGkm9bXmw/AcMoRHlCSfmr1b10kl20lwMRExwH95.GROIinuUnfpx/
!
grpc
 no-tls
 address-family dual
!
line default
 transport input ssh
!
call-home
 service active
 contact smart-licensing
 profile CiscoTAC-1
  active
  destination transport-method email disable
  destination transport-method http
 !
!
netconf-yang agent
 ssh
!
interface Loopback0
 ipv4 address 4.4.4.4 255.255.255.255
!
interface MgmtEth0/RP0/CPU0/0
 no shutdown
 ipv4 address 172.20.20.7 255.255.255.0
 ipv6 address 2001:172:20:20::7/64
!
interface GigabitEthernet0/0/0/0
 no shutdown
 ipv4 address 10.100.5.4 255.255.255.0
 lldp
  enable
 !
!
interface GigabitEthernet0/0/0/1
 no shutdown
 ipv4 address 10.100.3.4 255.255.255.0
 lldp
  enable
 !
!
interface GigabitEthernet0/0/0/2
 no shutdown
 ipv4 address 10.100.6.4 255.255.255.0
 lldp
  enable
 !
!
interface GigabitEthernet0/0/0/3
 no shutdown
 ipv4 address 10.100.8.4 255.255.255.0
 lldp
  enable
 !
!
route-policy PASS
  pass
end-policy
!
router static
 address-family ipv4 unicast
  0.0.0.0/0 MgmtEth0/RP0/CPU0/0 172.20.20.1
 !
 address-family ipv6 unicast
  ::/0 MgmtEth0/RP0/CPU0/0 2001:172:20:20::1
 !
!
router ospf 1
 router-id 4.4.4.4
 segment-routing mpls
 address-family ipv4 unicast
 area 0
  mpls traffic-eng
  segment-routing mpls
  interface Loopback0
   passive enable
   prefix-sid index 4
  !
  interface GigabitEthernet0/0/0/0
   network point-to-point
  !
  interface GigabitEthernet0/0/0/1
   network point-to-point
  !
  interface GigabitEthernet0/0/0/2
   network point-to-point
  !
 !
 mpls traffic-eng router-id 4.4.4.4
!
router bgp 65002
 bgp router-id 4.4.4.4
 address-family ipv4 unicast
 !
 address-family ipv6 unicast
 !
 address-family link-state link-state
 !
 neighbor 1.1.1.1
  remote-as 65002
  update-source Loopback0
  address-family link-state link-state
  !
 !
 neighbor 10.100.8.101
  remote-as 101
  egress-engineering
  address-family ipv4 unicast
   route-policy PASS in
   route-policy PASS out
  !
 !
!
mpls oam
!
rsvp
 interface GigabitEthernet0/0/0/0
  bandwidth 10000000
 !
 interface GigabitEthernet0/0/0/1
  bandwidth 10000000
 !
 interface GigabitEthernet0/0/0/2
  bandwidth 10000000
 !
!
mpls traffic-eng
 interface GigabitEthernet0/0/0/0
  attribute-names BLUE YELLOW
  admin-weight 500
 !
 interface GigabitEthernet0/0/0/1
  attribute-names YELLOW
  admin-weight 500
 !
 interface GigabitEthernet0/0/0/2
  attribute-names YELLOW
  admin-weight 500
 !
 affinity-map BLUE bit-position 0
 affinity-map YELLOW bit-position 1
!
segment-routing
 local-block 15000 15999
!
lldp
!
ssh server v2
ssh server netconf vrf default
end

