Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 4

!

! Last configuration change at 11:53:45 UTC Tue Jun 18 2024


!
version 15.9
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname site1
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
!
!
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
!
!
!
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
redundancy
!
!
!
!
crypto ikev2 proposal prop
encryption 3des
integrity md5
group 2
!
crypto ikev2 policy pol1
proposal prop
!
crypto ikev2 keyring key
peer site2
address 2.2.2.2
pre-shared-key cisco
!
!
!
crypto ikev2 profile prof
match identity remote address 2.2.2.2 255.255.255.255
authentication remote pre-share
authentication local pre-share
keyring local key
!
!
!
crypto ipsec transform-set ts esp-aes esp-sha-hmac
mode tunnel
!
!
!
!
crypto map cmap 10 ipsec-isakmp
set peer 2.2.2.2
set transform-set ts
set ikev2-profile prof
match address vpn
!
!
!
!
!
interface Loopback0
no shutdown
ip address 192.168.10.1 255.255.255.0
!
interface GigabitEthernet0/0
no shutdown
ip address 1.1.1.1 255.255.255.0
duplex auto
speed auto
media-type rj45
crypto map cmap
!
interface GigabitEthernet0/1
no shutdown
no ip address
shutdown
duplex auto
speed auto
media-type rj45
!
interface GigabitEthernet0/2
no shutdown
no ip address
shutdown
duplex auto
speed auto
media-type rj45
!
interface GigabitEthernet0/3
no shutdown
no ip address
shutdown
duplex auto
speed auto
media-type rj45
!
router ospf 1
network 1.1.1.0 0.0.0.255 area 0
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
ip access-list extended vpn
permit ip 192.168.10.0 0.0.0.255 192.168.20.0 0.0.0.255 log
ip access-list extended vpn1
!
ipv6 ioam timestamp
!
!
!
control-plane
!
banner exec ^C
**************************************************************************
* IOSv is strictly limited to use for evaluation, demonstration and IOS *
* education. IOSv is provided as-is and is not supported by Cisco's *
* Technical Advisory Center. Any use or disclosure, in whole or in part, *
* of the IOSv Software or Documentation to any third party for any *
* purposes is expressly prohibited except as otherwise authorized by *
* Cisco in writing. *
**************************************************************************^C
banner incoming ^C
**************************************************************************
* IOSv is strictly limited to use for evaluation, demonstration and IOS *
* education. IOSv is provided as-is and is not supported by Cisco's *
* Technical Advisory Center. Any use or disclosure, in whole or in part, *
* of the IOSv Software or Documentation to any third party for any *
* purposes is expressly prohibited except as otherwise authorized by *
* Cisco in writing. *
**************************************************************************^C
banner login ^C
**************************************************************************
* IOSv is strictly limited to use for evaluation, demonstration and IOS *
* education. IOSv is provided as-is and is not supported by Cisco's *
* Technical Advisory Center. Any use or disclosure, in whole or in part, *
* of the IOSv Software or Documentation to any third party for any *
* purposes is expressly prohibited except as otherwise authorized by *
* Cisco in writing. *
**************************************************************************^C
!
line con 0
line aux 0
line vty 0 4
login
transport input none
!
no scheduler allocate
!
end

You might also like