交换机常用命令及console口配置

1.常用查看命令

display current-configuration    //查看当前所有配置
display ip interface brief    //查看所有三层接口摘要(IP地址、连通状态)
display interface g0/0/1 //查看g0/0接口详细信息,(g槽位号/子卡号/接口号)
display version    //查看硬件版本信息
display this       //查看当前视图下配置了哪些参数

2.常用操作命令

<h3c>sysname sw1 更改名字
<h3c>reboot 重启设备
[H3C]save 保存配置
<h3c>reset saved-configuration 还原出厂配置,重启前选N不要保存后生效
[H3C]undo 反向清除,可加在其它命令前
[H3C]shudown 关闭端口; undo shutdown 开启端口
<h3c> undo terminal monitor //关闭当前终端的警告信息
[h3c] undo info-center enable //关闭所有信息日志记录
[h3c] info-center enable //开启所有信息日志记录

3.配置Console口登录

1)密码 认证
[H3C1]user-interface console 0                 进入console 视图
[H3C-line-console0]authentication-mode password 认证模式为password
[H3C-line-console0]set authentication password simple huawei123  
2)无需认证
[H3C1]user-interface console 0                进入console 视图
[H3C-line-console0]authentication-mode none  认证模式为none 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值