H3C 基本操作指令
<SW1>
Display ipinterface brief——檢視裝置所有接口的相關資訊(包括IP、實體層、鍊路層協定狀态等)
Display version——————檢視裝置IOS版本資訊,裝置啟動時間、接口卡資訊
<SW3>dir———————————檢視H3C裝置硬碟空間大小,及存儲的資料資訊。
<SW3>display current-configuration——檢視目前配置資訊(即時資訊),裝置斷電或重新開機後丢失
<SW3>display Saved-configration————查配置看start-config配置檔案,該配置永久儲存,斷電重新開機後加載該項
使用者模式下是無法對裝置進行配置添加及修改。如果需要對配置進行修改,需要進入到系統模式。
使用者模式切換到系統試圖
System-view
系統模式下能夠執行使用者模式的所有檢視指令
Debug調試指令隻能在使用者模式使用,dir檢視硬碟flash資訊隻能在使用者模式下
Debug:協定工作的詳細過程資訊。
[sw1]display ip interface brief————觀察裝置接口狀态、接口IP、接口描述等資訊
*down:administratively down
...........
.........
......
...........
進入系統模式
進入某個接口,給該接口配置IP位址
interface eth0/1/0
ip address 192.168.1.100 24或者192.168.1.100 255.255.255.0
undo shut-------------------------配置IP後将端口激活
quit 退一步系統模式,quit退一步使用者模式
ctrl+Z
[SW1]display ip routing-table----------------------檢視路由表資訊
指令級别
·通路級(0級)
——網絡診斷工具指令、從本裝置出發通路外部裝置指令
·監控級(1級)
——用于系統維護、業務故障診斷的指令
·系統級(2級)
——業務配置指令
·管理級(3級)
——關系到系統基本運作,系統支撐子產品的指令

常用裝置管理指令
·配置裝置名稱
[H3C]sysname ?
TEXT Host name(1 to 30 characters)
·配置系統時間
[H3C]clock datetime ?
TIME Specify the time(HH:MM:SS)
·顯示系統時間
[H3C]display clock
·配置歡迎/提示資訊
[H3C]header ?
incoming Specift 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
·檢視版本資訊
<H3C>display version
·檢視目前配置
<H3C>display current-configuration
·顯示接口資訊
<H3C>display interface
·顯示器接口IP狀态與配置資訊
<H3C>display ip interface brief
·顯示系統運作統計資訊
<H3C>display diagnostic-information