首页 > 代码库 > 华为路由器基本配置

华为路由器基本配置

华为路由器基本配置

1.进入视图模式

<Huawei>sys

<Huawei>system-view

Enter system view, return user view with Ctrl+Z.

[Huawei]

2.进入console

[Huawei]user-interface console 0

[Huawei-ui-console0]

2.1设置console口认证模式为密码认证

[Huawei-ui-console0]authentication-mode password

Please configure the login password (maximum length 16):huawei

2.2设置加密认证

[Huawei-ui-console0]set authentication password  cipher huawei

[Huawei-ui-console0]quit

2.3保存配置退出

[Huawei]quit

<Huawei>save

  The current configuration will be written to the device.

  Are you sure to continue? (y/n)[n]:y

  It will take several minutes to save configuration file, please wait..........

....

  Configuration file had been saved successfully

  Note: The configuration file will take effect after being activated

<Huawei>

 

华为路由器基本配置