! Command: show running-config
! device: R1 (cEOSLab, EOS-4.31.2F-35442146.4312F (engineering build))
!
no aaa root
!
username admin privilege 15 role network-admin secret sha512 $6$4SIkC4r9k0p8mcgN$YD2qcQYepG0Knf8F0d27hoz/VuWmoCN92revqgNNo6CzSxuzTUBmRIHWBiGFT7anliK3XT5CqBS09buoX3auA0
!
transceiver qsfp default-mode 4x10G
!
service routing protocols model multi-agent
!
hostname R1
!
spanning-tree mode mstp
!
system l1
   unsupported speed action error
   unsupported error-correction action error
!
management api http-commands
   no shutdown
!
management api gnmi
   transport grpc default
!
management api netconf
   transport ssh default
!
interface Ethernet1
   no switchport
   ip address 10.100.1.1/24
   isis enable 1
   isis metric 100
   isis network point-to-point
   traffic-engineering
   traffic-engineering bandwidth 10 gbps
   traffic-engineering administrative-group 2
   traffic-engineering metric 500
!
interface Ethernet2
   no switchport
   ip address 10.100.2.1/24
   isis enable 1
   isis metric 100
   isis network point-to-point
   traffic-engineering
   traffic-engineering bandwidth 10 gbps
   traffic-engineering administrative-group 1
   traffic-engineering metric 500
!
interface Ethernet3
   no switchport
   ip address 10.100.3.1/24
   isis enable 1
   isis metric 100
   isis network point-to-point
   traffic-engineering
   traffic-engineering bandwidth 10 gbps
   traffic-engineering administrative-group 0
   traffic-engineering metric 500
!
interface Ethernet4
   no switchport
   ip address 10.100.21.1/24
   isis enable 1
   isis metric 100
   isis network point-to-point
   traffic-engineering
   traffic-engineering bandwidth 10 gbps
   traffic-engineering administrative-group 1
   traffic-engineering metric 500
!
interface Ethernet7
   no switchport
   ip address 192.168.0.101/24
!
interface Loopback0
   ip address 1.1.1.1/32
   node-segment ipv4 index 1
   isis enable 1
   isis passive
!
interface Loopback1
   description SERVICE_LOOPBACK
   ip address 100.1.1.1/32
!
interface Management0
   ip address 172.20.20.11/24
   ipv6 address 2001:172:20:20::b/64
!
ip routing
!
ip route 0.0.0.0/0 172.20.20.1
!
ipv6 route ::/0 2001:172:20:20::1
!
mpls ip
!
route-map DENY_ALL deny 10
!
route-map LP500 permit 10
   set local-preference 500
!
router bgp 65002
   router-id 1.1.1.1
   no bgp default ipv4-unicast
   neighbor 2.2.2.2 remote-as 65002
   neighbor 2.2.2.2 update-source Loopback0
   neighbor 5.5.5.5 remote-as 65002
   neighbor 5.5.5.5 update-source Loopback0
   neighbor 6.6.6.6 remote-as 65002
   neighbor 6.6.6.6 update-source Loopback0
   neighbor 11.11.11.11 remote-as 65002
   neighbor 11.11.11.11 update-source Loopback0
   neighbor 192.168.0.1 remote-as 65001
   !
   address-family ipv4 labeled-unicast
      neighbor 2.2.2.2 activate
      neighbor 5.5.5.5 activate
      neighbor 6.6.6.6 activate
      neighbor 11.11.11.11 activate
      neighbor 192.168.0.1 activate
      neighbor 192.168.0.1 route-map LP500 in
      neighbor 192.168.0.1 route-map DENY_ALL out
      network 100.1.1.1/32
   !
   address-family ipv4 sr-te
      neighbor 192.168.0.1 activate
   !
   address-family link-state
      neighbor 192.168.0.1 activate
      no neighbor 192.168.123.1 activate
      isis instance 1 identifier 101
!
router traffic-engineering
   segment-routing
   router-id ipv4 1.1.1.1
!
router isis 1
   net 49.0001.0001.0001.00
   is-type level-2
   !
   address-family ipv4 unicast
   !
   segment-routing mpls
      router-id 1.1.1.1
      no shutdown
   !
   traffic-engineering
      no shutdown
      is-type level-2
!
end
