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