ENSP基础命令

1、
<>——代表模式 用户模式——简单的查看和测试
Huawei——设备名称
在这里插入图片描述
2、system—view
[Huawei]
[]——系统模式 可以配置
在这里插入图片描述
3、[huawei]quit //退出模式

在这里插入图片描述
4、[huawei]sysname HCNA //修改设备名称
display clock //查看时间
2019-08-27 03:01:34
Tuesday
Time Zone(Default Zone Name) : UTC+00:00
在这里插入图片描述
5、clock datetime 11:57:34 2019-9-22 //修改设备时间
在这里插入图片描述
6、save //保存配置(不保存配置重启设备后丢失)
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
在这里插入图片描述
7、display current-configuration //查看当前配置
在这里插入图片描述
8、[HCNA]user-interface console 0 //进入设备console口
在这里插入图片描述
9、[HCNA-ui-console0]authentication-mode password //修改认证模式为密码认证
在这里插入图片描述
10、[HCNA-ui-console0]set authentication password cipher hcna123 //配置密码
在这里插入图片描述
11、[HCNA-ui-console0]user privilege level 15 //配置用户权限
12、reset saved-configuration //清除保存的配置
在这里插入图片描述

  • 命令帮助系统:
    tab键: 自动补全命令
    ?: 查看未知的命令
    ↑ 返回上一命令
    ↓ 返回下一命令
    Ctrl+A/E 回到当前行的最前/后端
    Ctrl+C 停止当前运行的命令
    Ctrl+Z 直接回到用户模式

[HCNA]user-interface console ?
INTEGER<0-0> The first user terminal interface to be configured
在这里插入图片描述
命令格式 命令解释

  • 8
    点赞
  • 54
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值