9.4r1 GRE encapsulated in IPSEC
Router-1
!!
!Version 6.0.0.0, Built Sep 14 2003, 11:09:28
hostname
crypto isakmp proposal
group 5 lifetime 10800
access-list 101 permit gre any any
crypto isakmp peer 20.20.20.2 255.255.255.255 proposal
crypto ipsec
set
crypto map gre-map1 75
set
set peer 20.20.20.2 mode transport
!
interface FastEthernet1 description
ip address 10.10.10.1 255.255.255.0 no shutdown
!
interface FastEthernet2 description
ip address 20.20.20.1 255.255.255.0 no shutdown
!
interface Vpn1
ip
set protocol gre set active
set peer 20.20.20.2 set heartbeat 3 3
ip address 192.168.1.1 255.255.255.0 ip firewall disable
ip ospf cost 100
ip ospf
!
router ospf 1
network 10.10.10.0 0.0.0.255 area 0.0.0.0 network 192.168.1.0 0.0.0.255 area 0.0.0.0
!
end
XSR-1805_1(config)#aaa user 20.20.20.2
XSR-1805_1(config-aaa)#password XSR
Configuration Guide | Page 37 of 55 |