1上的基本配置 
en
conf t
no ip do lo
line con 0
logg s
no exec-t
exi
ho r1
line vty 0 4        配置本地登录
transport input ssh telnet        指定vty线路传输协议为ssh
exit
ip http server     启用HTTP服务
ip http authentication enable     开启认证服务模式
^Z
 
conf t
int e1/0
ip ad 192.168.1.2 255.255.255.0
no sh
int e0/0
ip ad 172.16.18.101 255.255.0.0
no sh
 
int lo 0
ip ad 1.1.1.1 255.255.255.0
no sh
^Z
 r2上的基本配置
 en
conf t
no ip do lo
line con 0
logg s
no exec-t
exit
ho r2
ip http server    开启HTTP服务
ip http authentication enable     开启认证模式服务
int e1/0
ip ad 192.168.1.3 255.255.255.0
no sh
int e0/0
ip ad 172.16.18.102 255.255.0.0
no sh
int lo 0
ip ad 2.2.2.2 255.255.255.0
no sh
exit
^Z
 
SDM配置×××_SDM配置VPN
 
 
 
 
SDM配置×××_SDM配置VPN_02
 
 
 
 
 
SDM配置×××_职场_03
 
 
 
 
SDM配置×××_休闲_04
 
 
 
SDM配置×××_SDM配置VPN_05
 
 
 
 
SDM配置×××_点对点VPN_06
 
 
 
SDM配置×××_SDM配置VPN_07