[运维] 华为交换机使用笔记

密码重置与初始化 原文地址

  1. 华为交换机Console密码重置
    1、通过Console口连接交换机,并重启交换机。
    2、当界面出现以下打印信息时,及时按下快捷键“Ctrl+B”并输入BootROM/BootLoad密码,进入BootROM/BootLoad主菜单
    3、密码: Admin@huawei.com A必须大写。
    4、选着7 Clear password for console user (选择清除console用户密码模式)。
    5、选择1 Boot with default mode(键入1启动默认模式),进入后更改Console 及telnet密码。

  2. 设备初始化
    1、登录华为交换机
    2、输入:reset saved-configuration 接着问你是否初始化 选择“Y”
    3、初始化之后,需要重启交换机才能生效 “reboot”

  3. 默认用户名和密码
    华为交换机的默认用户名是admin,密码是admin@huawei.com

用户管理

  1. 修改console密码 原文地址:华为交换机用户登录与密码修改
system-view
[HUAWEI] user-interface console 0
[HUAWEI-ui-console0] authentication-mode password
[HUAWEI-ui-console0] set authentication password cipher Huawei@123
[HUAWEI-ui-console0] return

常用命令

  1. 查看全部端口的配置
<HUAWEI>display current-configuration
<HUAWEI>display current-configuration interface
  1. 查看指定端口的配置
    display current-configuration interface <int-type int-number>
<HUAWEI>display current-configuration interface GigabitEthernet0/0/1

interface <int-type int-number> 进入端口配置模式

[HUAWEI]interface GigabitEthernet0/0/1
[HUAWEI]display this 
  1. 查看所有端口的详细状态信息
<HUAWEI>display interface
  1. 查看指定端口的详细状态信息
<HUAWEI>display interface GigabitEthernet0/0/1
  1. 查看所有端口的简要状态信息
<HUAWEI>display interface brief
  1. 查看接口描述信息
<HUAWEI>display interface description
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值