H3C交换机配置WEB界面 把交换机恢复出厂设置: 在交换机启动的过程出现提示按CTRL+B的时候按下CTRL+B, 进入BIOS界面 **************************************************************************** * * * H3C S5110-52P BootWare, Version 1.11 * * * **************************************************************************** Copyright (c) 2004-2014 Hangzhou H3C Technologies Co., Ltd. Compiled Date : Jul 11 2014 17:08:02 CPU Type : MIPS34kc CPU L1 Cache : 32KB CPU Clock Speed : 650MHz Memory Type : DDR3 SDRAM Memory Size : 128MB Memory Speed : 200MHz BootWare Size : 3MB Flash Size : 32MB BootWare Validating... Press Ctrl+B to enter extended boot menu... BootWare password: Not required. Please press Enter to continue. 在这个视图下选择6进入重启不运行当前文件, ====================================================== |<1> Boot System | |<2> Enter Serial SubMenu | |<3> Enter Ethernet SubMenu | |<4> File Control | |<5> Restore to Factory Default Configuration | |<6> Skip Current System Configuration | |<7> BootWare Operation Menu | |<8> Clear Super Password | |<9> Storage Device Operation | |<0> Reboot | ============================================================================ Ctrl+Z: Access EXTEND-ASSISTANT MENU Ctrl+F: Format File System Enter your choice(0-9): "6" 然后按"0"对交换机进行重启 重启后: sys “进入系统视图” [H3C]undo ip http enable “关闭远程访问” [H3C]ip http enable “开启远程访问” [H3C]local-user admin “进入ADMIN用户对admin进行配置” [H3C-luser-admin]password simple qitian20190305 “对admin这个用户设置密码” [H3C-luser-admin]authorization-attribute level 3 “给ADMIN用户的权限提升到最高” [H3C-luser-admin]service-type web ‘让ADMIN这个用户可以进行登录WEB’ [H3C-luser-admin]quit "退出" [H3C]vlan 10 “创建VLAN10” [H3C-vlan10]quit “退出” [H3C]interface Vlan-interface 10 “进入vlan10进行配置“ [H3C-Vlan-interface10]ip address 192.168.1.1 24 ”给VLAN10添加IP“ [H3C-Vlan-interface10]quit ”退出“ [H3C-GigabitEthernet1/0/48]port access vlan 10 ‘把48端口添加到VLAN10里面’ save ‘保存退出’//切记切记