zoukankan      html  css  js  c++  java
  • Cisco_基本配置命令

    基本配置

    1. 修改名称
    2. 设置password,secret,vty,并要求所有密码都加密
    3. 关闭域名查找,命令输入同步。
    4. 设置登录提示信息
    5. 对串行口进行描述

     

         R1#

         R1#en

         R1#enable

         R1#conf

         R1#configure t

         R1#configure terminal

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

         R1(config)#hostname Router01

    二.设置password,secret,vty,并要求所有密码都加密

    • password配置     

    Router01#

    Router01#enable pass

    Router01#enable passw

    Router01#en

    Router01#enable

    Router01#conf

    Router01#configure

    Router01#configure t

    Router01#configure terminal

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

    Router01(config)#enable pass

    Router01(config)#enable password router01

     

     

    • serret设置

    Router01(config)#enab
    Router01(config)#enable ser
    Router01(config)#enable s
    Router01(config)#enable secret router02

    • VTY设置

    Router01(config)#li
    Router01(config)#lin
    Router01(config)#line vty 0 4
    Router01(config-line)#pass
    Router01(config-line)#password router03
    Router01(config-line)#exit
    Router01(config-line)#exit
    Router01(config)#ser
    Router01(config)#service pass
    Router01(config)#service password-encryption

     三.关闭域名查找,命令输入同步。

    Router01#en
    Router01#enable
    Router01#conf
    Router01#configure t
    Router01#configure terminal
    Enter configuration commands, one per line. End with CNTL/Z.
    Router01(config)#no ip do
    Router01(config)#no ip domain-lo
    Router01(config)#no ip domain-lookup
    Router01(config)#lin
    Router01(config)#line co
    Router01(config)#line console 0
    Router01(config-line)#logg
    Router01(config-line)#logging
    Router01(config-line)#logging sy
    Router01(config-line)#logging synchronous
    Router01(config-line)#exec-
    Router01(config-line)#exec-c
    Router01(config-line)#exec-tm
    Router01(config-line)#exec-te
    Router01(config-line)#exec-te
    Router01(config-line)#exec-t
    Router01(config-line)#exec-timeout 0 0
    Router01(config-line)#exit

     

     

    四.设置登录提示信息

    Router01#en
    Router01#enable
    Router01#conf
    Router01#configure t
    Router01#configure terminal
    Enter configuration commands, one per line. End with CNTL
    Router01(config)#ban
    Router01(config)#banner mo
    Router01(config)#banner motd &
    Router01(config)#banner motd & wel
    Router01(config)#banner motd & welcome welcome to ccna lab!!! &

    五.对串行口进行描述

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~学习中待续~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    所有文章仅为作为自己笔记,方便查阅.
  • 相关阅读:
    react中React.createRef()的使用
    react中this指向问题
    react中对props进行限制
    react中this问题
    react 中this问题
    类中方法的this
    类中方法的this
    react中render函数里面的this指向?
    Android一对一直播系统源码开发,仿朋友圈发布动态的实现
    Android游戏陪玩源码开发中,阴影效果的实现
  • 原文地址:https://www.cnblogs.com/guns/p/13471230.html
Copyright © 2011-2022 走看看