cisco路由怎么AAA加密本地认证
思科cisco依靠自身的技术和对网络经济模式的深刻理解,使他成为了网络应用的成功实践者之一,其制造的路由器也是全球顶尖的,那么你知道cisco路由怎么AAA加密本地认证吗?下面是读文网小编整理的一些关于cisco路由怎么AAA加密本地认证的相关资料,供你参考。
cisco路由AAA加密本地认证的方法:
第一步:预配置
Router>en
Routeconft
Enter configuration commands, one per line. End with CNTL/Z.
Router(confignoip domain-lo
Router(config)#
Router(config)linecon 0
Router(config-linenoexec-t
Router(config-lineloggs
Router(config-linehoR1
R1(configinterlo0
R1(config-ifipadd 1.1.1.1 255.255.255.0
R1(config-ifintere0/0
R1(config-ifipadd 192.168.1.1 255.255.255.0
R1(config-ifnoshut
Router>en
Routeconft
Enter configuration commands, one per line. End with CNTL/Z.
Router(confignoip domain-lo
Router(config)#
Router(config)linecon 0
Router(config-linenoexec-t
Router(config-lineloggs
Router(config-linehoR2
R2(configinterlo0
R2(config-ifipadd 2.2.2.2 255.255.255.0
R2(config-ifintere0/0
R2(config-ifipadd 192.168.1.2 255.255.255.0
R2(config-ifnoshut
第二步:配置本地认证:
R1(configaaanew
R1(configaaanew-model
R1(configaaaauthentication login default local
R1(configusernamenorvel password norvel
第三步:调式;
R1ping192.168.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 28/40/64 ms
Rdebugaaa authentication
User Access Verification
Username: nor
*Mar 1 00:20:28.243: AAA/BIND(00000003): Bind i/f
*Mar 1 00:20:28.247: AAA/AUTHEN/LOGIN (00000003): Pick method list 'default'
Username: norvel
Password:
R1>en
R1#
*Mar 1 00:20:35.447: AAA: parse name=tty0 idb type=-1 tty=-1
*Mar 1 00:20:35.447: AAA: name=tty0 flags=0x11 type=4 shelf=0 slot=0 adapter=0 port=0 channel=0
*Mar 1 00:20:35.451: AAA/MEMORY: create_user (0x637813FC) user='norvel' ruser='NULL' ds0=0 port='tty0' rem_addr='async' authen_type=ASCII service=ENABLE priv=15 initial_task_id='0', vrf= (id=0)
*Mar 1 00:20:35.451: AAA/AUTHEN/START (4286150664): port='tty0' list='' action=LOGIN service=ENABLE
*Mar 1 00:20:35.455: AAA/AUTHEN/START (4286150664): console enable - default to enable password (if any)
*Mar 1 00:20:35.455: AAA/AUTHEN/START (4286150664): Method=ENABLE
R1#co
*Mar 1 00:20:35.455: AAA/AUTHEN(4286150664): can't find any passwords
*Mar 1 00:20:35.459: AAA/AUTHEN(4286150664): Status=ERROR
*Mar 1 00:20:35.459: AAA/AUTHEN/START (4286150664): Method=NONE
*Mar 1 00:20:35.459: AAA/AUTHEN(4286150664): Status=PASS
*Mar 1 00:20:35.463: AAA/MEMORY: free_user (0x637813FC) user='norvel' ruser='NULL' port='tty0' rem_addr='async' authen_type=ASCII service=ENABLE priv=15 vrf= (id=0)
R2telnet192.168.1.1
Trying 192.168.1.1 ... Open
User Access Verification
Username: norvel
Password:
R1>