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 激活端口(最重要)