!! Building configuration...
!! IOS XR Configuration 7.10.2
!! Last configuration change at Fri May 31 17:44:52 2024 by clab
!
hostname ISP
username clab
 group root-lr
 group cisco-support
 secret 10 $6$je8bT/emtLQy3T/.$kqwR43XSOo1Th6ZuzqXB1/T5wcByCr0Zml8tjXs5N54sc9qS2.pWDiZO3pwmdIcvfbHNWLY/ETds/PPhqaq.B0
!
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.6 255.255.255.0
 ipv6 address 2001:172:20:20::6/64
!
interface GigabitEthernet0/0/0/0
 no shutdown
 vrf ISP1
 ipv4 address 10.100.26.101 255.255.255.0
 ipv6 address 2001:100:26::101/64
 lldp
  enable
 !
!
interface GigabitEthernet0/0/0/1
 no shutdown
 vrf ISP2
 ipv4 address 10.100.27.102 255.255.255.0
 ipv6 address 2001:100:27::102/64
 lldp
  enable
 !
!
interface GigabitEthernet0/0/0/2
 no shutdown
 vrf ISP3
 ipv4 address 10.100.28.103 255.255.255.0
 ipv6 address 2001:100:28::103/64
 lldp
  enable  
 !
!
interface GigabitEthernet0/0/0/3
 no shutdown
 vrf ISP4
 ipv4 address 10.100.29.104 255.255.255.0
 ipv6 address 2001:100:29::104/64
 lldp
  enable
 !
!
interface GigabitEthernet0/0/0/4
 no shutdown
 vrf ISP5
 ipv4 address 10.100.30.105 255.255.255.0
 ipv6 address 2001:100:30::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.26.5
   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:26::5
   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.27.5
   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:27::5
   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.28.12
   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:28::12
   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.29.15
   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:29::15
   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.30.16
   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:30::16
   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
