1. 程式人生 > >華為設備的基本配置

華為設備的基本配置

ret terminal 登陸 修改 密碼 auth mod ati -c

<Huawei> //用戶視圖

<huawei> system-view
[ huawei ] //系統試圖

[huawei]interface ethernet 0/0/1
[huawei-ethernet0/0/1] //接口視圖

[huawei]ospf
[huawei-ospf-1] //協議視圖

quit 或 return //返回上一層
ctrl+z //返回用戶視圖

1. 修改設備名:

         1. [huawei]sysname HAHA
         2. [HAHA]
2. 查看設備VRP版本:

    1. <huawei>display version
3. 設備密碼設置:

    1. 使用密碼登陸終端

        1. <huawei>system-view
        2. [huawei]user-interface console 0
        3. [huawei-ui-console0]authentication-mode password

    2. 使用賬戶和密碼登錄終端

        1. [Huawei]aaa
        2. [Huawei-aaa]local-user admin01 password cipher admin01
        3. [Huawei-aaa]local-user admin01 service-type terminal
        4. [Huawei-aaa]quit
        5. [Huawei]user-interface console 0
        6. [Huawei-ui-console0]authentication-mode aaa

華為設備的基本配置