9.4r2 GRE encapsulated in IPSEC
Router-2
!!
!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.1 255.255.255.255 proposal
crypto ipsec
set
crypto map
set
set peer 20.20.20.1 mode transport
set
interface FastEthernet1 description
ip address 80.80.80.1 255.255.255.0 no shutdown
interface FastEthernet2 description
ip address 20.20.20.2 255.255.255.0 no shutdown
interface Vpn1
ip
set protocol gre set active
set peer 20.20.20.1 set heartbeat 3 3
ip address 192.168.1.2 255.255.255.0 ip firewall disable
ip ospf cost 100
ip ospf
router ospf 1
network 80.80.80.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_2(config)#aaa user 20.20.20.1
XSR-1805_2(config-aaa)#password XSR
Configuration Guide | Page 38 of 55 |