如何初始化配置H3C交换机

上传人:mg****2 文档编号:146771447 上传时间:2020-10-04 格式:DOC 页数:6 大小:38.50KB
返回 下载 相关 举报
如何初始化配置H3C交换机_第1页
第1页 / 共6页
如何初始化配置H3C交换机_第2页
第2页 / 共6页
如何初始化配置H3C交换机_第3页
第3页 / 共6页
如何初始化配置H3C交换机_第4页
第4页 / 共6页
如何初始化配置H3C交换机_第5页
第5页 / 共6页
点击查看更多>>
资源描述

《如何初始化配置H3C交换机》由会员分享,可在线阅读,更多相关《如何初始化配置H3C交换机(6页珍藏版)》请在金锄头文库上搜索。

1、 . . . .如何初始化配置H3C交换机配置了一批H3C 3100交换机。现将配置过程中的方法总结下1、连接配置电缆1.1 将配置电缆的DB-9孔式插头接到要对交换机进行配置的PC的串口上;1.2 将配置电缆的 RJ-45 的一端连到交换机的 Console 口上。2、设置终端参数2.1 打开 PC,并在 PC 上运行终端仿真程序(如超级终端)2.2 设置终端参数(以 Windows XP 的超级终端为例)2.2.1 参数要求:波特率为9600,数据位为8,奇偶校验为无,停止位为1,流量控制为无2.2.2 在超级终端属性对话框中选择【文件/属性】菜单项,进入属性窗口。点击属性窗口中的“设置”

2、页签,进入属性设置窗口,在其中选择终端仿真为 VT100,选择完成后,单击按钮。3、起动交换机接通交换机电源,起动交换机。4、设置交换机名称 system-view / 进入系统视图模式H3C sysnameh3c-3100 / 为设备命名h3c-3100注:修改交换机名称,只需重新输入 sysname XXXX 就可以重命名为:XXXX5、设置 VLAN 管理地址h3c-3100 interface vlan-interface 1 / 进入 VLAN 1h3c-3100 ip address 192.168.12.11 255.255.255.0 / 设置VLAN 1 的管理地址为:192

3、.168.12.11/24注:修改地址不需用 undo 命令,只需重新输入 ip address 命令即可用新地址替换原地址h3c-3100 ip address 192.168.12.12 255.255.255.0 / 修改 ip 为:192.168.12.12/246、设置默认网关路由如果不设置路由,交换机将不能与LAN外通信h3c-3100 ip route-static 0.0.0.0 255.255.255.0 192.168.12.1/ 设置 192.168.12.1/24 为网关路由地址注:修改、替换网关路由,需首先用 undo 命令删除原来的路由h3c-3100 undo i

4、p route-static 0.0.0.0 255.255.255.0 192.168.12.1 / 删除原有路由h3c-3100 ip route-static 0.0.0.0 255.255.255.0 192.168.12.254 / 设置新的网关路由7、设置 Console 用户登陆的口令认证Console 用户有如下三种认证方式:None: 不需要口令认证Password: 需要简单的本地口令认证,包含明文(Simple)和密文(cipher)Scheme:通过 RADIUS 服务器或本地提供用户名和认证口令配置命令如下: system-viewH3C user-interface

5、 aux 0H3C-ui-aux0 authentication-mode passwordH3C-ui-aux0 set authentication password simple h3c退出重新启动后,交换机提示用户输入访问口令Login authenticationPassword:用户的命令控制级别设置H3C-ui-aux0 user privilege level 0H3C super password level 1 simple 111111H3C super password level 2 simple 222222H3C super password level 3 si

6、mple 3333338、TELNET密码验证配置h3c-3100 user-interface vty 0 4h3c-3100-ui-vty0-4 authentication-mode password / 设置认证方式为密码验证h3c-3100-ui-vty0-4 set authentication password simple h3c / 设置登陆验证密码为h3c(明文保存)h3c-3100-ui-vty0-4 user privilege level 3 / 设置登陆用户的级别为最高级3(缺省为1)9、TELNET本地用户名和密码验证配置需要输入用户名和密码才可以登陆交换机。h3

7、c-3100 user-interface vty 0 4h3c-3100-ui-vty0-4 authentication-mode schemeh3c-3100-ui-vty0-4 local-user h3c / 设置本地用户名为:h3ch3c-3100-user-h3c password simple h3c / 设置验证密码为:h3c (明码保存)h3c-3100-user-h3c service-type telnet level 3 / 设置为TELNET服务,级别为310、保存交换机配置h3c-3100 saveh3c-3100 quit至此,可以断开与交换机的Console口

8、的连接,转而通过交换机的网络接口连接PC,通过 Telnet 登陆,对交换机进行进一步的管理和配置。11、如果忘记登陆密码11.1、重新启动该设备,在启动阶段看到显示“press ctrl-b to enter boot menu”界面时按Ctrl和B键。这样将进入启动菜单,一般这个密码是不会被设置的,默认是空口令,直接回车即可。如果这个密码也被设置那么我们就只有将设备返厂维修了。11.2、当交换机显示出boot menu界面时,我们会看到有9个选项 BOOT MENU1. Download application file to flash2. Select application file

9、 to boot3. Display all files in flash4. Delete file from flash5. Modify bootrom password6. Enter bootrom upgrade menu7. Skip current configuration file8. Set bootrom password recovery9. Set switch startup mode0. RebootEnter your choice(0-9):依次为:download application file to flash - 下载配置文件到flash中selec

10、t application file to boot - 选择要启动的配置文件display all files in flash- 显示flash中保存的所有配置文件信息delete file from flash - 删除flash中的配置文件modify bootrom password - 修改boot menu的密码enter bootrom upgrade menu - 进入bootrom升级菜单skip current configuration file - 启动加载时跳过当前配置文件set bootrom password recovery - 设置bootrom恢复密码se

11、t switch startup mode - 设置交换机启动模式reboot - 重新启动交换机选择 7.skip current configuration file(启动加载时跳过当前配置文件)即可。11.3、选择skip current configuration file(启动加载时跳过当前配置文件)后,继续选择 0.Reboot 来重新启动交换机,不过这次启动和以往不同的是将不加载当前的configuration file配置文件,也就是说里面设置的密码验证都将暂时无效。11.4、再次启动交换机自检完毕后就会显示startup configuration is skipped,us

12、er interface aux0 is available的信息,这表明当前的配置文件没有加载,用户顺利进入 aux0 即 console 控制台管理界面,不用输入任何密码就可以近来了。11.5、通过user-interface aux 0进入console设置模式,然后通过authentication-mode none将控制台验证密码取消。最后千万不要忘记使用save将修改保存,否则重新启动后又将回到之前的配置文件,同样需要密码验证了。 system-viewH3C user-interface aux 0H3C-ui-aux0 authentication-mode noneH3C-u

13、i-aux0 quitH3C quit save12、如何恢复出厂设置reset saved-configurationThe saved configuration file will be erased. Are you sure? Y/N: y / 提示是否擦除配置文件Configuration in the device is being cleared.Please wait .Configuration in the device is cleared. rebootThis command will reboot the system. Since the current configuration may have been changed, all changes may be lost if you continue. Continue? Y/N Y/提示是否重启设备,按Y将重新启动【提示】擦除配置文件后,必须要重启设备后才能恢复到出厂设置。c. . . .

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 大杂烩/其它

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号