zoukankan      html  css  js  c++  java
  • CISCO实验记录一:路由器基本配置

    一、路由器基本配置要求

    1、设置路由器名为:hehe

    2、设置特权模式下password为ccna,secret为ccnp,vty线路密码为ccie

    3、所有明文密码都加密

    二、路由器基本配置命令

    1、设置路由器名为:hehe

    Router#configure terminal  //进入配置模式

    Enter configuration commands, one per line. End with CNTL/Z.

    Router(config)#hostname hehe //设置hostname

    hehe(config)#

    2、设置特权模式下password为ccna,secret为ccnp,vty线路密码为ccie

    hehe#configure terminal

    Enter configuration commands, one per line. End with CNTL/Z.

    hehe(config)#enable password ccna  //特权模式的password密码

    hehe(config)#enable secret ccnp  //特权模式的secret密码

    hehe(config)#line vty 0 4  //启用0-4号5个vty

    hehe(config-line)#password ccie  //登录的password

    hehe(config-line)#login  //启用密码验证,no login关闭密码验证

    3、所有明文密码都加密

    hehe(config)#service password-encryption

    三、路由器基本配置解析

    1、新设备如何连接

    新到的路由器可以通过console口与电脑连接,默认波特率为9600即可自动与设备连接

    2、password、secret

    password是早期设备的密码协议,默认是明文保存的

    secret是最常用的密码方式,是MD5加密的

    3、vty

    vty支持多种协议,常见的有ssh、telnet等,默认telnet协议。

    line vty 0 4 是开启0到4号5个vty线路,表明同时允许5个用户登录设备

    4、明文密码的加密

    使用service password-encryption命令可以将设备上所有明文密码都加密

  • 相关阅读:
    MFC之绘制线条
    CDC类详解
    MFC之消息映射机制实现方法
    VS2008如何自动添加消息映射
    MFC框架程序剖析
    Visual Assist 相同内容高亮显示
    Win32 Console Application、Win32 Application、MFC三者之间的联系和区别
    win32应用程序创建流程
    BigDecimal最基础用法【转】
    html 高亮显示表格当前行【转】
  • 原文地址:https://www.cnblogs.com/cation/p/11346186.html
Copyright © 2011-2022 走看看