生活随笔
收集整理的這篇文章主要介紹了
华为云基础代码1
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
[HUAWEI] 代表系統(tǒng)視圖 system-view (sys) 進入系統(tǒng)視圖[HUAWEI]sysname OOO (sys OOO) 配置主機名為wangbaoyan[HUAWEI]dis int b 查看所有接口狀態(tài)[HUAWEI]int e0/0/1 進入接口0/0/1[HUAWEI-Ethernet0/0/1]shutdown 關(guān)閉接口0/0/1[HUAWEI-Ethernet0/0/1]undo shutdown 打開接口0/0/1[HUAWEI-Ethernet0/0/1]q 退出接口視圖0/0/1到系統(tǒng)視圖[HUAWEI]q 退出系統(tǒng)視圖----------到用戶視圖[Huawei]display saved-configuration 查看設(shè)備保存的信息(硬盤)[Huawei]display current-configuration 查看設(shè)備當前配置的信息(內(nèi)存)reset saved-configuration 擦除存儲設(shè)備中的配置文件compare configuration 比較當前配置信息與存儲設(shè)備中的保存文件是否一致[HUAWEI]dis int b 查看所有接口的狀態(tài)[HUAWEI-Ethernet0/0/1]dis this 查看當前接口信息save 保存
The current configuration will be written to the device.
Are you sure to continue?[Y/N]Y Y是的
[Huawei] dis mac-address 查看當前mac地址緩存表[HUAWEI-Ethernet0/0/1]undo negotiation auto 關(guān)閉自動協(xié)商[Huawei-Ethernet0/0/1]speed 100 調(diào)至速率100M[Huawei-Ethernet0/0/1]duplex full 調(diào)至全雙工模式、 解釋 full Full-Duplex mode(全雙工模式) half Half-Duplex mode(半雙工模式)[Huawei]dis mac-address 查看mac 地址信息reset arp all 清除mac地址表
Warning: This operation will reset all static and dynamic ARP entries, and clear
the configurations of all static ARP, continue?[Y/N]:Y
總結(jié)
以上是生活随笔為你收集整理的华为云基础代码1的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。