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命令产生的调试信息中断,默认关闭

  • 相关阅读:
    适配器模式
    代理模式
    单例模式
    构建者(建造者)模式
    js Math方法
    补零
    js中十进制与二进制、八进制、十六进制的互相转换
    js生成一个范围内随机数Math.random
    js不改变原数组的情况下取数值数组的最大值和最小值
    自己封装方法,功能跟数组的indexof一样
  • 原文地址:https://www.cnblogs.com/cation/p/11346513.html
Copyright © 2011-2022 走看看