Код:
# AAA
create authen server_host 192.168.1.15 protocol radius port 1812 key "123456" timeout 5 retransmit 2
config authen server_group radius delete server_host 192.168.1.15 protocol radius
config authen server_group radius add server_host 192.168.1.15 protocol radius
config authen_login default method local
create authen_login method_list_name rad_ext
config authen_login method_list_name rad_ext method radius
config authen_enable default method local_enable
create authen_enable method_list_name rad_ext_ena
config authen_enable method_list_name rad_ext_ena method radius
config authen application console login default
config authen application console enable default
config authen application telnet login method_list_name rad_ext
config authen application telnet enable method_list_name rad_ext_ena
config authen application ssh login default
config authen application ssh enable default
config authen application http login method_list_name rad_ext
config authen application http enable method_list_name rad_ext_ena
config authen parameter response_timeout 0
config authen parameter attempt 3
enable authen_policy
config admin local_enable
admin
admin
DES-3028:4#sh log
Command: show log
Index Data Time Log Text
----- ---------- -------- ------------------------------------------------------
33 2009-03-11 17:35:36 Successful Enable Admin through Web from 192.168.1.15 authenticated by AAA server 192.168.1.15 (Username: user)
32 2009-03-11 17:35:11 Successful login through Web from 192.168.1.15 authenticated by AAA server 192.168.1.15 (Username: user)