思科路由器的基本配置(1-2)

1.思科CLI 4种模式的图片

这里写图片描述

2.四种模式

用户模式

Router>enable

可执行的命令:ping telnet tracerounte

特权模式

Router#

可执行的命令
show:配置信息查看
1)show ip interface brief 查看设备IP简要信息
2)show startup-config 显示已保存的配置信息
3)show running-config 显示当前运行配置的信息

全局配置模式
该参数可以对设备全局参数进行配置

进入全局配置模式
Router#configure terminal
进入成功
Router(config)#

例:
1.更改设备命名

hostname

2.设备每月提示信息

banner moth #
test new a day #

3.设置登录提示信息

banner login #
welcome to login!#

特殊模式

进入特殊模式
RA(config)# ip addresss 192.168.1.1 255.255.255.0

可执行的命令

RA(config-if)#description 注释      为端口注释
RA(config-if)#duplex full/half/auto(默认)  全双工传输/半双工传输/默认
RA(config-if)#speed auto/10/100  速率为自动/10m/100m
RA(config-if)#no shutdown     激活端口(最重要)        
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章