aaa new-model(開啓AAA認證)安全
aaa authentication login eza local (命名eza,對eza認證)
aaa authorization network ezo local(命名ezo,對ezo的事件受權)
username oyster password cisco(建立用戶名密碼)ide
crypto isakmp policy 10(Ipsec 階段一的安全參數配置)
encr 3des
hash md5
authentication pre-share
group 2加密
ip local pool ez 192.168.2.1 192.168.2.30(Easy ××× 接入後所分配的地址)
crypto isakmp client configuration group myez(Easy ×××的組和密碼配置)
key 123456
pool ezspa
crypto ipsec transform-set tim esp-3des esp-md5-hmac(IPSec階段二的配置)
crypto dynamic-map ezmap 10(動態加密圖)
set transform-set tim
reverse-route(反向路由注入)
(如下是對Easy ×××的認證,受權配置,list是調用上面的AAA的配置名)
crypto map tom client authentication list eza
crypto map tom isakmp authorization list ezo
crypto map tom client configuration address respond
crypto map tom 10 ipsec-isakmp dynamic ezmap(最後,動態加密圖必須有靜態綁定)3d
interface FastEthernet0/1
crypto map tom(綁定到接口)orm