生活随笔
收集整理的這篇文章主要介紹了
华为云基础代码1
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
[HUAWEI] 代表系統視圖 system-view (sys) 進入系統視圖[HUAWEI]sysname OOO (sys OOO) 配置主機名為wangbaoyan[HUAWEI]dis int b 查看所有接口狀態[HUAWEI]int e0/0/1 進入接口0/0/1[HUAWEI-Ethernet0/0/1]shutdown 關閉接口0/0/1[HUAWEI-Ethernet0/0/1]undo shutdown 打開接口0/0/1[HUAWEI-Ethernet0/0/1]q 退出接口視圖0/0/1到系統視圖[HUAWEI]q 退出系統視圖----------到用戶視圖[Huawei]display saved-configuration 查看設備保存的信息(硬盤)[Huawei]display current-configuration 查看設備當前配置的信息(內存)reset saved-configuration 擦除存儲設備中的配置文件compare configuration 比較當前配置信息與存儲設備中的保存文件是否一致[HUAWEI]dis int b 查看所有接口的狀態[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 關閉自動協商[Huawei-Ethernet0/0/1]speed 100 調至速率100M[Huawei-Ethernet0/0/1]duplex full 調至全雙工模式、 解釋 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
總結
以上是生活随笔為你收集整理的华为云基础代码1的全部內容,希望文章能夠幫你解決所遇到的問題。
如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。