!
! Last configuration change at 22:58:48 UTC Thu Feb 4 2021
!
version 16.6
service timestamps debug datetime msec
service timestamps log datetime msec
platform qfp utilization monitor load 80
no platform punt-keepalive disable-kernel-core
platform console serial
!
hostname ASBR1
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
!
!
!
!
!
!
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
subscriber templating
! 
! 
! 
! 
!
!
!
multilink bundle-name authenticated
!
!
!
!
!
crypto pki trustpoint TP-self-signed-3018914147
 enrollment selfsigned
 subject-name cn=IOS-Self-Signed-Certificate-3018914147
 revocation-check none
 rsakeypair TP-self-signed-3018914147
!
!
crypto pki certificate chain TP-self-signed-3018914147
!
!
!
!
!
!
!
!
!
license udi pid CSR1000V sn 9IP4510X8K1
diagnostic bootup level minimal
spanning-tree extend system-id
!
!
!
!
redundancy
!
!
!
!
!
!
! 
!
!
!
!
!
!
!
!
!
!
!
!
! 
! 
!
!
interface Loopback0
 no shutdown
 ip address 2.2.2.2 255.255.255.255
!
interface GigabitEthernet1
 no shutdown
 description Inter-AS Link to ISP2
 ip address 192.168.117.1 255.255.255.252
 negotiation auto
 mpls bgp forwarding
 no mop enabled
 no mop sysid
!
interface GigabitEthernet2
 no shutdown
 description link to P1
 ip address 10.10.24.2 255.255.255.0
 ip router isis LAB
 negotiation auto
 mpls ip
 no mop enabled
 no mop sysid
 isis circuit-type level-2-only
!
interface GigabitEthernet3
 no shutdown
 no ip address
 shutdown
 negotiation auto
 no mop enabled
 no mop sysid
!
interface GigabitEthernet4
 no shutdown
 no ip address
 shutdown
 negotiation auto
 no mop enabled
 no mop sysid
!
router isis LAB
 net 49.0500.2222.2222.2222.00
 is-type level-2-only
 metric-style narrow
 passive-interface Loopback0
!
router bgp 500
 bgp log-neighbor-changes
 no bgp default ipv4-unicast
 neighbor 3.3.3.3 remote-as 500
 neighbor 3.3.3.3 update-source Loopback0
 neighbor 192.168.117.2 remote-as 600
 !
 address-family ipv4
  network 1.1.1.1 mask 255.255.255.255
  network 2.2.2.2 mask 255.255.255.255
  network 3.3.3.3 mask 255.255.255.255
  network 4.4.4.4 mask 255.255.255.255
  neighbor 3.3.3.3 activate
  neighbor 3.3.3.3 next-hop-self
  neighbor 3.3.3.3 send-label
  neighbor 192.168.117.2 activate
  neighbor 192.168.117.2 route-map FROM_AS600 in
  neighbor 192.168.117.2 route-map TO_AS600 out
  neighbor 192.168.117.2 send-label
 exit-address-family
 !
 address-family vpnv4
  neighbor 3.3.3.3 activate
  neighbor 3.3.3.3 send-community extended
  neighbor 3.3.3.3 next-hop-self
 exit-address-family
!
!
virtual-service csr_mgmt
!
ip forward-protocol nd
ip http server
ip http authentication local
ip http secure-server
!
!
!
ip prefix-list FROM_AS600 seq 10 permit 11.11.11.11/32
ip prefix-list FROM_AS600 seq 20 permit 22.22.22.22/32
ip prefix-list FROM_AS600 seq 30 permit 33.33.33.33/32
ip prefix-list FROM_AS600 seq 40 permit 44.44.44.44/32
!
ip prefix-list TO_AS600 seq 10 permit 1.1.1.1/32
ip prefix-list TO_AS600 seq 20 permit 2.2.2.2/32
ip prefix-list TO_AS600 seq 30 permit 3.3.3.3/32
ip prefix-list TO_AS600 seq 40 permit 4.4.4.4/32
!
!
route-map TO_AS600 permit 10 
 match ip address prefix-list TO_AS600
 set mpls-label
!
route-map FROM_AS600 permit 10 
 match ip address prefix-list FROM_AS600
 match mpls-label
!
!
!
control-plane
!
!
!
!
!
!
line con 0
 stopbits 1
line vty 0
 login
line vty 1
 login
 length 0
line vty 2 4
 login
!
!
!
!
!
!
end
