zoukankan      html  css  js  c++  java
  • CISCO实验记录二:路由器基本操作

    一、路由器基本操作要求

    1、设置路由器本地时间

    2、启用光标跟随

    3、设置路由器标语信息和描述信息

    4、为接口配置描述信息

    5、快速恢复接口到出厂设置

    二、路由器基本操作命令

    1、设置路由器本地时间

    hehe#clock set 15:38:0 13 aug 2019  //设置时间

    hehe#show clock  //查看时间

    15:38:3.608 UTC Tue Aug 13 2019

    2、启用光标跟随

    hehe(config)#line console 0  //设置console界面

    hehe(config-line)#logging synchronous 

    hehe(config)#line vty 0 4  //设置VTY界面

    hehe(config-line)#logging synchronous 

    3、设置路由器标语信息和描述信息

    hehe(config)#banner motd #

    Enter TEXT message. End with the character '#'.

    why you are here?#

    C:>telnet 192.168.0.1

    Trying 192.168.0.1 ...Open

    why you are here?

    4、为接口配置描述信息

    hehe(config)#interface gigabitEthernet 0/0/0

    hehe(config-if)#description ISP

    hehe#show running-config

    !

    interface GigabitEthernet0/0/0

    description ISP

    ip address 192.168.0.1 255.255.255.0

    duplex auto

    speed auto

    !

    5、快速恢复接口到出厂设置

    hehe(config)#default interface gigabitEthernet 0/0/0

    hehe#show running-config

    !

    interface GigabitEthernet0/0/0

    no ip address

    duplex auto

    speed auto

    !

    三、路由器基本操作解析

    1、光标跟随

    光标跟随是指在输入指令时不会被log或debug命令产生的调试信息中断,默认关闭

  • 相关阅读:
    酷狗大数据平台架构是如何重构的
    分层架构,前后端分离有啥坏处?
    Redis快速入门及应用
    Kafka不只是个消息系统
    提高代码质量:如何编写函数
    jquery 回车事件
    程序员的薪资是如何确定出来的?
    HTTP 错误 500.21
    制作手机浏览器显示格式的HTML页面
    操作必须使用一个可更新的查询。
  • 原文地址:https://www.cnblogs.com/cation/p/11346513.html
Copyright © 2011-2022 走看看