sh run
Building configuration... Current configuration : 1466 bytes !
version 12.2
service timestamps debug uptime service timestamps log uptime no service password-encryption !
hostname R1 ! !
ip subnet-zero ! !
no ip domain-lookup !
ip audit notify log ip audit po max-events 100 !
crypto isakmp policy 1 encr 3des
authentication pre-share group 2
crypto isakmp key cisco address 200.1.1.2 ! !
crypto ipsec transform-set cisco ah-sha-hmac esp-3des !
crypto map vpn local-address Serial1/0
crypto map vpn 10 ipsec-isakmp set peer 200.1.1.2 set transform-set cisco match address 100 !
call rsvp-sync ! ! ! ! ! ! !
!
interface Loopback0
ip address 192.168.1.1 255.255.255.0 !
interface Tunnel0
ip address 172.16.1.1 255.255.255.0 tunnel source Serial1/0 tunnel destination 200.1.1.2 crypto map vpn !
interface FastEthernet0/0 no ip address shutdown duplex auto speed auto !
interface Serial1/0
ip address 200.1.1.1 255.255.255.0 serial restart-delay 0 crypto map vpn !
interface Serial1/1
no ip address shutdown
serial restart-delay 0 !
interface Serial1/2 no ip address shutdown
serial restart-delay 0 !
interface Serial1/3 no ip address shutdown
serial restart-delay 0 !
router ospf 1 router-id 1.1.1.1 log-adjacency-changes
network 172.16.1.1 0.0.0.0 area 0 network 192.168.1.1 0.0.0.0 area 0 !
ip classless ip http server
access-list 100 permit gre host 200.1.1.1 host 200.1.1.2 非常重要
dial-peer cor custom ! line con 0 exec-timeout 0 0 logging synchronous line aux 0 line vty 0 4 ! end
----------------------------------------------------------------------------------------------------------------------------------- R2的配置: sh run
Building configuration... Current configuration : 1466 bytes !
version 12.2
service timestamps debug uptime service timestamps log uptime
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库GRE over IPsec 与IPsec over GRE的区别(2)在线全文阅读。
相关推荐: