当前位置:文档之家› 防火墙技术实验分析报告范本

防火墙技术实验分析报告范本

Client:
Client(config)#int f0/0
Client(config-if)#ip add 192.168.2.2 255.255.255.0
Client(config-if)#no shut
Client(config)#no ip routing
Client(config)#ip default-gateway 192.168.2.254
NAS(config)#exi
NAS#exi
[Connection to192.168.139.254 closed byforeign host]
Client#----------授权成功--------------------
审计(accounting)用default验证:
Client#telnet 192.168.139.254
NAS(config)#aaa accounting commands 15 default start-stop group tacacs+-----命令审计方式------
Client:
将enable加入AAA认证里的验证结果:
lient#telnet 192.168.139.254
Trying192.168.139.254 ... Open
Client#
授权(authorization)验证结果:
Client#telnet 192.168.139.254
Trying 192.168.139.254...Open
Username:cisco
Password:
NAS#-----------直接进入特权模式--------------
NAS#conf t
防火墙技术实验报告
时刻:2012-03-13
实验名称:
简单的AAA配置
班 级
计算机网络技术100#
姓名
#
实验内容
1、拓扑图:
2、实验设备:
1).用一台PC机桥接到VMware内win server2003服务器;
2).用两台Router c3600,一台做NAS、一台做Client;
3、实验步骤:
NAS:
Trying to authenticate with Servergroup tacacs+
Sending password
User successfully authenticated--------认证成功---------
NAS#
NAS(config)#aaa authentication enable default group tacacs+
Trying192.168.139.254... Open
Username:cisco
Password:
NAS#conft
Enter configurationcommands, one perline.End with CNTL/Z.
NAS(config)#end
NAS#sh running-config
NAS(config-if)#no shut
NAS(config)#username cisco privilege 15 password cisco
NAS(config)#enable secret cisco--------配置enable密码--------
NAS(config)#aaa new-model--------开启AAA功能--------
NAS#shversion
NAS#exi
[Connectionto192.168.139.254closedbyforeign host]
Client#
审计(accounting)用commands验证:
Client#telnet 192.168.139.254
UserAccessVerification
Username:cisco
Password:
NAS>en
Password:
NAS#conf t
NAS(config-if)#end
NAS#exi--------------------验证成功--------------------
[Connectionto192.168.139.254closed byforeign host]
NAS(config)#line con 0
NAS(config-line)#login authenticationlhy
NAS(config-line)#exi
NAS(config)#tacacs-server host 192.168.139.4 key cisco----配置共享key----
NAS(config)#aaa authen loginciscogroup tacacs+ local
NAS(config)#aaa authen loginlhynone
NAS(config)#line vty 0 15
NAS(config-line)#login authenciscoБайду номын сангаас
NAS(config-line)#exi
NAS(config)#int f1/0
NAS(config-if)#ip add 192.168.139.254 255.255.255.0
NAS(config-if)#no shut
NAS(config)#int f0/0
NAS(config-if)#ip add 192.168.2.254 255.255.255.0
Client#ping 192.168.139.254
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.139.254, timeout is 2 seconds:
!!!!!
在VMware中配置:
NAS:
NAS#test aaa group tacacs+cisco cisconew-code
--------将enable加入AAA认证中---------
NAS(config)#aaa authorization exec default group tacacs+
NAS(config)#aaa accounting exec default start-stop group tacacs+-----默认审计方式------
相关主题