欢迎光临
汇潮网让我们一起学习进步

S5700交换机密码忘记解决

hvchao阅读(4381)

S5700交换机console密码恢复:

1. 重启交换机

BIOS loading …
Copyright (c) 2008-2013 HUAWEI TECH CO., LTD.
Basic BootROM version : 181 Compiled at Jun 29 2013, 10:18:52

Press Ctrl+B to enter BootROM menu … 3
password:

bootrom默认密码一般是admin@huawei.com
Admin@huawei.com. The BootROM menu is as follows:

BootROM  MENU

1. Boot with default mode
2. Enter serial submenu
3. Enter startup submenu
4. Enter ethernet submenu
5. Enter file system submenu
6. Modify BootROM password
7. Clear password for console user
8. Reboot

Enter your choice(1-8): 7

Note: Clear password for console user? Yes or No(Y/N): y

Clear password for console user successfully. Choose “1” to boot, then set a new password.
Note: Do not choose “8. Reboot” or power off the device, otherwise this operation will not take effect.

BootROM  MENU

1. Boot with default mode
2. Enter serial submenu
3. Enter startup submenu
4. Enter ethernet submenu
5. Enter file system submenu
6. Modify BootROM password
7. Clear password for console user
8. Reboot

Enter your choice(1-8): 1   //这是重点哈,如果你reboot了,那你继续接着搞,不过对流程又熟悉了一遍

Loading “flash:/s5700ei-v200r003c00spc300.cc” ……………………………………………….. done
Decompressing VRP software ………………………………………… done
There is no record in region Exception.

Initializing DEV module …………………………………………… done

Initializing hardware system ………………………………………. done
Begin to start the system …

Initializing VFS ………………………………. done
Checking startup system-software …………………………………… done
Reading PAF file …………………………………………………. done
Initializing VOS monitor ……………………….. done
CFM initialization advance ……………………… done
Initializing PAT ………………………………. done
Initializing HA ……………………………….. done
VFS registering to HA ………………………….. done

VRP root begin …

VRP root end
VRP task initialization begin …
Init the Device Link………….OK
CFG initialization begin ……………………….. done
CFM initialization begin ……………………….. done
CLI initialization begin ……………………….. done
Registering VRP all link command begin …………… done
Creating task begin …
Creating task end
Task initialization begin …
Task initialization end

Cmd registering begin …
Cmd registering end

Recover configuration…OK!
Press ENTER to get started.

An initial password is required for the first login via the console.
Continue to set it? [Y/N]: y
Set a password and keep it safe. Otherwise you will not be able to login via the console.

Please configure the login password (8-16)
Enter Password:
Confirm Password

华为交换机配置Telnet远程

hvchao阅读(4165)

  1. 用system-view命令

    进入[]模式

    配置连接地址为192.168.1.1
    [switch]vlan 1
    [switch-vlan10]quit
    [switch]interface vlan 1
    [switch-vlanif1]ip address 192.168.1.1 24   //保证和路由器的IP在同一网段
    [switch-vlanif1]quit
  2. 输入AAA进入aaa配置模式

    华为交换机配置Telnet远程;华为交换机Telnet
  3. 接着设置admin密码

    [Quidway-aaa]local-user admin password simple 1qaz2wsx

    示例设置用户名为:admin 密码:1qaz2wsx

    华为交换机配置Telnet远程;华为交换机Telnet
  4. 然后设置登陆权限  设置管理权限为3级

    [Quidway-aaa]local-user admin privilege level 3

    华为交换机配置Telnet远程;华为交换机Telnet
  5. 接下来设置登录类型

    [Quidway-aaa]local-user admin service-type telnet

    华为交换机配置Telnet远程;华为交换机Telnet
  6. 进入认证配置模式

    [Quidway]user-interface vty 0 4

    华为交换机配置Telnet远程;华为交换机Telnet
  7. 设置aaa认证

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

    华为交换机配置Telnet远程;华为交换机Telnet
  8. 使用disp curr查看当前配置

    如下面的配置

    华为交换机配置Telnet远程;华为交换机Telnet
  9. 然后再pc上用telnet登陆

华为交换机怎么设置VLAN

hvchao阅读(2481)

<Quidway>  system veiw (进入系统视图)

[Quidway]vlan 10(创建vlan 10)

[Quidway]vlan batch 10 to 12 (创建vlan 10 11 12)
[Quidway]interface vlan 10 (进入VLAN 10)

[Quidway]ip address 172.16.10.1 24(设置VLAN 10的IP为172.16.10.1,掩码为24位)
[Quidway]undo vlan 10 (删除vlan 10)
[Quidway]q(退出视图模式)
<Quidway>save(保持配置)