H3C Comware的視圖模式
1.用戶(hù)視圖:查看系統(tǒng)的硬件和系統(tǒng)的信息
2.系統(tǒng)視圖(類(lèi)似于Cisco的配置模式)
3.路由協(xié)議視圖
4.接口視圖
5.用戶(hù)界面視圖
各種視圖之間的關(guān)系
命令級(jí)別
H3C的Comware訪問(wèn)級(jí)別
1.訪問(wèn)級(jí)(0)
簡(jiǎn)單測(cè)試命令:ping debugging
2.監(jiān)控級(jí)(1)
具有完整查看命令和測(cè)試命令
3.系統(tǒng)級(jí)(2)
修改網(wǎng)絡(luò)設(shè)備的配置權(quán)限
4.管理級(jí)(3)
設(shè)備支撐業(yè)務(wù)的操作
命令行幫助特性
命令行歷史記錄功能
查看歷史命令記錄
display history-command
翻閱和調(diào)出歷史記錄中的某一條命令
用<↑>或<Ctrl+P>捷鍵調(diào)出上一條歷史命令
用<↓>或<CtrI+N>捷鍵調(diào)出下一條歷史命令
命令行編輯功能
分頁(yè)顯示
常用設(shè)備管理命令
配置設(shè)備名稱(chēng)(Cisco:hostname)
[H3C]sysname?
TEXT Host name (1 to 30 characters)
配置系統(tǒng)時(shí)間(Cisco:clock set HH:MM:SS 日 月 年)
<H3C>clock datetime?
TIME Specify the time (HH:MM:SS)
顯示系統(tǒng)時(shí)間(Cisco:show clock)
<H3C>display clock
配置歡迎I提示信息
[H3C]header?
incoming Specify the banner of the terminal user-interface
legal Specify the legal banner
login Specify the login authentication banner
motd Specify the banner of today
shell Specify the session banner
查看版本信息(Cisco:show version)
<H3C>display version
查看當(dāng)前運(yùn)行配置(Cisco:show run)
<H3C>display current-configuration
查看保存配置(Cisco:show startup-config)
<H3C>display saved-configuration
顯示接口信息(Cisco:show interface 接口名)
<H3C>display interface
顯示接口IP狀態(tài)與配置信息(Cisco:show ip interface brief)
<H3C>display ip interface brief
顯示系統(tǒng)運(yùn)行統(tǒng)計(jì)信息(Cisco:show tech-support)
<H3C>display diagnostic-information
路由器Telnet服務(wù)配置命令
1.配置主機(jī)終端和路由器之間能夠進(jìn)行通信
interface Ethernet0/0
undo shutdown(開(kāi)啟接口)
port link-mode route
ip address ip地址 子網(wǎng)掩碼
2.打開(kāi)Telnet的服務(wù)
[R1]telnet server enable
3.進(jìn)入用戶(hù)界面視圖,配置認(rèn)證的方式
[R1]user-interface vty 0 4
[R1-ui-vty0-4]authentication-mode password
4.配置認(rèn)證的密鑰
[R1-ui-vty0-4]set authentication password 用戶(hù)名 密碼






