• 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!!! &

    五.对串行口进行描述

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

    所有文章仅为作为自己笔记,方便查阅.
  • 相关阅读:
    Java线程池之ThreadPoolExecutor
    React Native开发环境的搭建
    Android Lint——内嵌于Android Studio的代码优化工具
    Android异步处理技术
    NavigationView的头部的事件监听
    进程间通信之AIDL
    跨进程通信之Messenger
    Android 进程增加存活率
    android MVP模式思考
    Vim学习
  • 原文地址:https://www.cnblogs.com/guns/p/13471230.html
Copyright © 2020-2023  润新知