华为基本命令

华为命令
[Huawei-Ethernet0/0/1]
0/0/1:第一个“0”代表槽位号,第二个“0”代表子卡号,“1”代表接口号
<Huawei>system-view 进入系统试图
[Huawei]interface GigabitEthernet 0/0/0 接口视图
[Huawei]quit 退出 ctrl+z
[Huawei]sysname 12 改名
[Huawei]display version 查看设备版本
[Huawei]display current-configuration 查看配置
(uawei]user-interface console 0
[Huawei-ui-console0]authentication-mode password
[Huawei-ui-console0]set authentication password simple 123
交换机设置明文和密文密码 *
[Huawei]user-interface console 0
[Huawei-ui-console0]authentication-mode password
[Huawei-ui-console0]set authentication password cipher 123)
([Huawei]user-interface console 0
[Huawei-ui-console0]authentication-mode password
Please configure the login password (maximum length 16):123
路由器设置密码)
([Huawei]aaa
[Huawei-aaa]local-user admin01 password cipher 123456
[Huawei]user-interface console 0
[Huawei-ui-console0]authentication-mode aaa
交换机设置用户
[Huawei]aaa
[Huawei-aaa]local-user admin01 password simple 123456
[Huawei]user-interface console 0
[Huawei-ui-console0]authentication-mode aaa)
([Huawei]aaa
[Huawei-aaa]local-user admin01 password cipher 123456
[Huawei]user-interface console 0
[Huawei-ui-console0]authentication-mode aaa
交换机设置用户)
<Huawei>save 保存
<Huawei>reboot 重启
<Huawei>reset saved-configuration 恢复出厂配置
([Huawei]user-interface console 0
[Huawei-ui-console0]idle-timeout 10 10
设置关闭时间)
([Huawei]user-interface 0
[Huawei-ui0]screen-length 24
设置显示命令行数)
<Huawei>undo terminal monitor 不起动提示

转载于:https://blog.51cto.com/13598094/2092246

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值