商城 设为首页注册本站  论坛  繁體中文

慧民电脑芯片级维修-电脑技巧
手机 | MP3 | MP4 | 显卡 | 主板 | 显示器 | 光存储 | 笔记本 | 网络设备 | 移动存储 | 数码相机
键鼠 | CPU | 音箱 | GPS | 电视 | 服务器 | 投影机 | 机箱电源 | 品牌电脑 | 办公打印 |
| 网站首页 | Cisco | Windows | Linux | Java | Dotnet | Oracle | 网页设计 | 平面设计 | 安全 | 软件应用 | 电脑维修 | 办公维修 |
您现在的位置: 电脑技巧 >> Cisco >> 路由技术 >> 路由配置 >> Cisco正文

路由安全:AAA加密本地认证

文章来源:56Cto 作者:小流氓 更新时间:2008-11-20 23:04:30 【 】 【加入收藏

   

    第一步:预配置

    Router>en
    Router#conf t
    Enter configuration commands, one per line.  End with CNTL/Z.
    Router(config)#no ip domain-lo
    Router(config)#
    Router(config)#line con 0
    Router(config-line)#no exec-t
    Router(config-line)#logg s
    Router(config-line)#ho R1

    R1(config)#inter lo0
    R1(config-if)#ip add 1.1.1.1 255.255.255.0
    R1(config-if)#inter e0/0
    R1(config-if)#ip add 192.168.1.1 255.255.255.0
    R1(config-if)#no shut


    Router>en
    Router#conf t
    Enter configuration commands, one per line.  End with CNTL/Z.
    Router(config)#no ip domain-lo
    Router(config)#
    Router(config)#line con 0
    Router(config-line)#no exec-t
    Router(config-line)#logg s
    Router(config-line)#ho R2
    R2(config)#inter lo0
    R2(config-if)#ip add 2.2.2.2 255.255.255.0
    R2(config-if)#inter e0/0
    R2(config-if)#ip add 192.168.1.2 255.255.255.0
    R2(config-if)#no shut


    第二步:配置本地认证:


    R1(config)#aaa new
    R1(config)#aaa new-model
    R1(config)#aaa authentication login default local
    R1(config)#username norvel password norvel

 

    第三步:调式;

    R1#ping 192.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

    R1#debug aaa 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)

 

    R2#telnet 192.168.1.1
    Trying 192.168.1.1 ... Open


    User Access Verification

    Username: norvel
    Password:

    R1>


 

  • 上一篇Cisco:

  • 下一篇Cisco:
  • 最 新 热 门
     CDMA无线网络优化流程与方法
     Wi-Fi探查连接工具帮无线网络管理连接
     无线路由器天线扫描无线信号
     从技术角度看11n走向无线前端的难度
     2008年盘点:从企业应用解析802.11n
     企业网络遭受ARP攻击 需提升网络安全
     与时俱进 分钟级别WEP破解全功略
     不可不知的路由交换安全七宗罪
     无线大讲堂 你的企业无线网络安全吗?
     网管支招:小技巧让企业无线安全上一台阶
    最 新 推 荐
     网络设备功能最大化 思科路由器一专多能
     OSPF路由协议概念解释和特性介绍
     Windows软件路由器的配置
     路由安全:AAA加密本地认证
     配置无线路由器需要注意五个方面
     隧道模式下IPv6穿越IPv4网络的技术分析与实…
     思科路由器上配置Cisco IOS防火墙
     路由器私网客户端访问同网段服务器公网IP
     关于校园网访问地址流量控制
     路由交换实例:三个接口上的RACL 配置
    相 关 文 章

    无线路由器天线扫描无线信号
    不可不知的路由交换安全七宗罪
    无线大讲堂 你的企业无线网络安全吗?
    网管支招:小技巧让企业无线安全上一台阶
    对江西某电信服务器的一次安全检查
    网络安全防御 全面封阻六种主要网络威胁
    浅析自适应算法 提升企业防火墙的安全途径
    专家谈:采用UTM实现立体安全的VPN体系
    双出口策略路由出问题
    Cisco路由器全局、接口、协议调试指南

    | 设为首页 | 加入收藏 | 联系站长 | 友情链接 | 版权申明 | 网站公告

      Copyright 2006-2008 pcjx.com All Rights Reserved
    电脑技巧 版权所有 粤ICP备06059145号 地图
    门市地址:广东省佛山市南海区黄岐黄海路133号
    本网站所有内容未经许可不得转载或做其他使用
    电话:0757-81139980 QQ:83306923