!! Building configuration...
!! IOS XR Configuration 7.10.2
!! Last configuration change at Tue Jun 18 17:35:35 2024 by clab
!
hostname R6
username clab
 group root-lr
 group cisco-support
 secret 10 $6$.GEDG12oXox6BG1.$4mrX1bfpDT4ubkpzjh.QEjtR5ZOa3HsXijOZJhIqmsffBaKQCECTO.LdXK6XW1jbbCfeBZGxDA/4lSARNwtHE1
!
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 6.6.6.6 255.255.255.255
 ipv6 address 2002::6/128
!
interface Loopback56
 ipv4 address 56.56.56.56 255.255.255.255
 ipv6 address 2002::56/128
!
interface MgmtEth0/RP0/CPU0/0
 no shutdown
 ipv4 address 172.20.20.5 255.255.255.0
 ipv6 address 2001:172:20:20::5/64
 ipv6 address 2001:172:20:20::10/64
!
interface GigabitEthernet0/0/0/0
 no shutdown
 ipv4 address 10.100.13.6 255.255.255.0
 ipv6 address 2001:100:13::6/64
 lldp
  enable
 !
!
interface GigabitEthernet0/0/0/2
 no shutdown
 ipv4 address 10.100.8.6 255.255.255.0
 ipv6 address 2001:100:8::6/64
 lldp
  enable
 !
!
interface GigabitEthernet0/0/0/3
 no shutdown
 ipv4 address 10.100.6.6 255.255.255.0
 ipv6 address 2001:100:6::6/64
 lldp
  enable
 !
!
interface GigabitEthernet0/0/0/4
 no shutdown
 ipv4 address 10.100.9.6 255.255.255.0
 ipv6 address 2001:100:9::6/64
 lldp
  enable
 !
!
route-policy NHS
  set next-hop self
end-policy
!
route-policy SID($SID)
  set label-index $SID
end-policy
!
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 isis 1
 is-type level-2-only
 net 49.0006.0006.0006.00
 distribute link-state instance-id 101
 address-family ipv4 unicast
  metric-style wide
  mpls traffic-eng level-2-only
  mpls traffic-eng router-id Loopback0
  segment-routing mpls
 !
 address-family ipv6 unicast
  metric-style wide
  single-topology
  segment-routing mpls
 !
 interface Loopback0
  address-family ipv4 unicast
   prefix-sid index 6
  !
  address-family ipv6 unicast
   prefix-sid index 1006
  !
 !
 interface Loopback56
  address-family ipv4 unicast
   prefix-sid index 56 n-flag-clear
  !
  address-family ipv6 unicast
   prefix-sid index 1056 n-flag-clear
  !
 !
 interface GigabitEthernet0/0/0/2
  point-to-point
  address-family ipv4 unicast
  !
  address-family ipv6 unicast
  !
 !
 interface GigabitEthernet0/0/0/3
  point-to-point
  address-family ipv4 unicast
  !
  address-family ipv6 unicast
  !
 !
!
router isis 2
 is-type level-2-only
 net 49.0006.0006.0006.00
 distribute link-state instance-id 102
 address-family ipv4 unicast
  metric-style wide
  mpls traffic-eng level-2-only
  mpls traffic-eng router-id Loopback0
  segment-routing mpls
 !
 address-family ipv6 unicast
  metric-style wide
  single-topology
  segment-routing mpls
 !
 interface Loopback0
  address-family ipv4 unicast
   prefix-sid index 6
  !
  address-family ipv6 unicast
   prefix-sid index 1006
  !
 !
 interface Loopback56
  address-family ipv4 unicast
   prefix-sid index 56 n-flag-clear
  !
  address-family ipv6 unicast
   prefix-sid index 1056 n-flag-clear
  !
 !
 interface GigabitEthernet0/0/0/0
  point-to-point
  address-family ipv4 unicast
  !
  address-family ipv6 unicast
  !
 !
 interface GigabitEthernet0/0/0/4
  point-to-point
  address-family ipv4 unicast
  !
  address-family ipv6 unicast
  !
 !
!
router bgp 65002
 bgp router-id 6.6.6.6
 ibgp policy out enforce-modifications
 address-family ipv4 unicast
  network 6.6.6.6/32 route-policy SID(6)
  allocate-label all
 !
 address-family ipv6 unicast
  network 2002::6/128 route-policy SID(1006)
  allocate-label all
 !
 address-family link-state link-state
 !        
 address-family ipv4 sr-policy
 !
 address-family ipv6 sr-policy
 !
 neighbor 1.1.1.1
  remote-as 65002
  update-source Loopback0
  address-family ipv4 labeled-unicast
   route-reflector-client
   route-policy NHS out
  !
  address-family link-state link-state
   route-reflector-client
  !
  address-family ipv4 sr-policy
   route-reflector-client
  !
 !
 neighbor 2.2.2.2
  remote-as 65002
  update-source Loopback0
  address-family ipv4 labeled-unicast
   route-reflector-client
   route-policy NHS out
  !
 !
 neighbor 2002::1
  remote-as 65002
  update-source Loopback0
  address-family ipv6 labeled-unicast
   route-reflector-client
   route-policy NHS out
  !
 !
 neighbor 2002::2
  remote-as 65002
  update-source Loopback0
  address-family ipv6 labeled-unicast
   route-reflector-client
   route-policy NHS out
  !
 !
 neighbor 2002::11
  remote-as 65002
  update-source Loopback0
  address-family ipv6 labeled-unicast
   route-reflector-client
   route-policy NHS out
  !
 !
 neighbor 2002::12
  remote-as 65002
  update-source Loopback0
  address-family ipv6 labeled-unicast
   route-reflector-client
   route-policy NHS out
  !
 !
 neighbor 11.11.11.11
  remote-as 65002
  update-source Loopback0
  address-family ipv4 labeled-unicast
   route-reflector-client
   route-policy NHS out
  !
 !
 neighbor 12.12.12.12
  remote-as 65002
  update-source Loopback0
  address-family ipv4 labeled-unicast
   route-reflector-client
   route-policy NHS out
  !
  address-family link-state link-state
   route-reflector-client
  !
  address-family ipv4 sr-policy
   route-reflector-client
  !
 !
!
mpls oam
!
rsvp
 interface GigabitEthernet0/0/0/0
  bandwidth 10000000
 !
 interface GigabitEthernet0/0/0/2
  bandwidth 10000000
 !
 interface GigabitEthernet0/0/0/3
  bandwidth 10000000
 !
 interface GigabitEthernet0/0/0/4
  bandwidth 10000000
 !
!         
mpls traffic-eng
 interface GigabitEthernet0/0/0/0
  attribute-names BLUE
  admin-weight 500
 !
 interface GigabitEthernet0/0/0/2
  attribute-names BLUE
  admin-weight 500
 !
 interface GigabitEthernet0/0/0/3
  attribute-names YELLOW
  admin-weight 500
 !
 interface GigabitEthernet0/0/0/4
  attribute-names BLUE 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
