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