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命令可以将设备上所有明文密码都加密

  • 相关阅读:
    时间选择器和日期选择器
    paip.c++ qt 项目工程互相引用的方法
    leetcode_question_85 Largest Rectangle in Histogram
    在VirtualBox虚拟机上采集Fedora15系统
    Oracle
    VC6.0调试大全
    oracle中的exists 和not exists 用法详解
    vi常用命令
    【虚拟化实战】容灾设计之四VPLEX
    CentOS6.3 安装配置 ant
  • 原文地址:https://www.cnblogs.com/cation/p/11346186.html
Copyright © 2011-2022 走看看