!! Building configuration...
!! IOS XR Configuration 7.10.2
!! Last configuration change at Fri Apr 19 16:27:31 2024 by clab
!
hostname ISP
username clab
 group root-lr
 group cisco-support
 secret 10 $6$GJt1h/JyEPDo4h/.$0w66fHjo8JJcDVKmajjMwRa2.gOseGkJtVKneoe60jdtOpE5CbGffJkecxUOmf4hrRISI0au8HSHWyCdZZ/V61
!
grpc
 no-tls
 address-family dual
!
vrf ISP1
 rd 101:101
!
vrf ISP2
 rd 102:102
!
vrf ISP3
 rd 103:103
!
vrf ISP4
 rd 104:104
!
vrf ISP5
 rd 105:105
!
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 100.1.1.1 255.255.255.255
!
interface Loopback1
 vrf ISP1
 ipv4 address 172.16.101.1 255.255.255.255
 ipv6 address 2002:101::1/128
!
interface Loopback2
 vrf ISP2
 ipv4 address 172.16.102.1 255.255.255.255
 ipv6 address 2002:102::1/128
!
interface Loopback3
 vrf ISP3
 ipv4 address 172.16.103.1 255.255.255.255
 ipv6 address 2002:103::1/128
!
interface Loopback4
 vrf ISP4
 ipv4 address 172.16.104.1 255.255.255.255
 ipv6 address 2002:104::1/128
!
interface Loopback5
 vrf ISP5
 ipv4 address 172.16.105.1 255.255.255.255
 ipv6 address 2002:105::1/128
!
interface MgmtEth0/RP0/CPU0/0
 no shutdown
 ipv4 address 172.20.20.10 255.255.255.0
 ipv6 address 2001:172:20:20::a/64
!
interface GigabitEthernet0/0/0/0
 no shutdown
 vrf ISP1
 ipv4 address 10.100.16.101 255.255.255.0
 ipv6 address 2001:100:16::101/64
 lldp
  enable
 !
!
interface GigabitEthernet0/0/0/1
 no shutdown
 vrf ISP2
 ipv4 address 10.100.17.102 255.255.255.0
 ipv6 address 2001:100:17::102/64
 lldp
  enable
 !
!
interface GigabitEthernet0/0/0/2
 no shutdown
 vrf ISP3
 ipv4 address 10.100.18.103 255.255.255.0
 ipv6 address 2001:100:18::103/64
 lldp
  enable  
 !
!
interface GigabitEthernet0/0/0/3
 no shutdown
 vrf ISP4
 ipv4 address 10.100.19.104 255.255.255.0
 ipv6 address 2001:100:19::104/64
 lldp
  enable
 !
!
interface GigabitEthernet0/0/0/4
 no shutdown
 vrf ISP5
 ipv4 address 10.100.20.105 255.255.255.0
 ipv6 address 2001:100:20::105/64
 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 bgp 1
 bgp router-id 100.1.1.1
 address-family ipv4 unicast
 !
 address-family vpnv4 unicast
 !
 address-family ipv6 unicast
 !
 address-family vpnv6 unicast
 !
 vrf ISP1
  address-family ipv4 unicast
   network 172.16.101.1/32
  !
  address-family ipv6 unicast
   network 2002:101::1/128
  !
  neighbor 10.100.16.2
   remote-as 65002
   local-as 101 no-prepend replace-as
   address-family ipv4 unicast
    route-policy PASS in
    route-policy PASS out
   !
  !
  neighbor 2001:100:16::2
   remote-as 65002
   local-as 101 no-prepend replace-as
   address-family ipv6 unicast
    route-policy PASS in
    route-policy PASS out
   !
  !
 !
 vrf ISP2
  address-family ipv4 unicast
   network 172.16.102.1/32
  !
  address-family ipv6 unicast
   network 2002:102::1/128
  !
  neighbor 10.100.17.6
   remote-as 65002
   local-as 102 no-prepend replace-as
   address-family ipv4 unicast
    route-policy PASS in
    route-policy PASS out
   !
  !
  neighbor 2001:100:17::6
   remote-as 65002
   local-as 102 no-prepend replace-as
   address-family ipv6 unicast
    route-policy PASS in
    route-policy PASS out
   !
  !
 !
 vrf ISP3
  address-family ipv4 unicast
   network 172.16.103.1/32
  !
  address-family ipv6 unicast
   network 2002:103::1/128
  !
  neighbor 10.100.18.5
   remote-as 65002
   local-as 103 no-prepend replace-as
   address-family ipv4 unicast
    route-policy PASS in
    route-policy PASS out
   !
  !
  neighbor 2001:100:18::5
   remote-as 65002
   local-as 103 no-prepend replace-as
   address-family ipv6 unicast
    route-policy PASS in
    route-policy PASS out
   !
  !
 !
 vrf ISP4
  address-family ipv4 unicast
   network 172.16.104.1/32
  !
  address-family ipv6 unicast
   network 2002:104::1/128
  !
  neighbor 10.100.19.11
   remote-as 65002
   local-as 104 no-prepend replace-as
   address-family ipv4 unicast
    route-policy PASS in
    route-policy PASS out
   !
  !
  neighbor 2001:100:19::11
   remote-as 65002
   local-as 104 no-prepend replace-as
   address-family ipv6 unicast
    route-policy PASS in
    route-policy PASS out
   !
  !
 !
 vrf ISP5
  address-family ipv4 unicast
   network 172.16.105.1/32
  !
  address-family ipv6 unicast
   network 2002:105::1/128
  !
  neighbor 10.100.20.11
   remote-as 65002
   local-as 105 no-prepend replace-as
   address-family ipv4 unicast
    route-policy PASS in
    route-policy PASS out
   !
  !
  neighbor 2001:100:20::11
   remote-as 65002
   local-as 105 no-prepend replace-as
   address-family ipv6 unicast
    route-policy PASS in
    route-policy PASS out
   !
  !
 !
!
ssh server v2
ssh server netconf vrf default
end
