华为R/S基本配置

设置时间:

<Huawei>clock timezone BJ add 08:00

<Huawei>clock datetime 15:00:00 2018-04-22

登录提示:

[Huawei]header login information "welcome!"

[Huawei]header shell information "HI!"

配置console口登录认证及超时时间:

[Huawei]user-interface console 0

[Huawei-ui-console0]authentication-mode password

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

[Huawei-ui-console0]idle-timeout 5

用户配置:

[Huawei]user-interface vty 0 4

[Huawei-ui-vty0-4]authentication-mode password

[Huawei-ui-vty0-4]set authentication password cipher wyt0219

[Huawei-ui-vty0-4]user privilege level 10

aaa

[Huawei]aaa

[Huawei-aaa]local-user leqee password cipher wyt0219

[Huawei-aaa]local-user leqee service-type telnet

[Huawei-aaa]local-user leqee privilege level 3

[Huawei-ui-vty0-4]authentication-mode aaa

文件管理:

<Huawei>dir 打开目录

<Huawei>mkdir flash:/backup 新建BACKUP文件夹

<Huawei>copy vrpcfg.zip flash:/backup/ 复制

<Huawei>move vrpcfg1.zip flash:/backup/ 移动

<Huawei>delete vrpcfg2.zip 删除

<Huawei>undelete vrpcfg2.zip 恢复删除

<Huawei>delete /force vrpcfg2.zip 强制删除

<Huawei>dir /all 查看所有

<Huawei>tftp 192.168.9.163 put flash:/vrpcfg.zip vrpcfg.zip 传输到电脑

<Huawei>tftp 192.168.9.163 get vrpcfg.zip flash:/vrpcfg.zip 从电脑传输到路由

<Huawei>ftp 192.168.9.163

[Huawei-ftp]get vrpcfg.zip flash flash:/vrpcfg.zip

[Huawei-ftp]put flash:/vrpcfg.zip vrpcfg.zip

设置系统启动:

<Huawei>startup saved-configuration vrpcfg.zip

<Huawei>reboot

SSH远程登录

stelnet server enable

ssh server port 55522

aaa

authentication-scheme default

authorization-scheme default

accounting-scheme default

domain default

domain default_admin

local-user adminnidaye password cipher 123123

local-user adminnidaye privilege level 15

local-user adminnidaye service-type telnet ssh web http

user-interface vty 0 4

authentication-mode aaa

user privilege level 15

protocol inbound all