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

猜你喜欢

转载自www.cnblogs.com/cation/p/11346513.html