返回列表 发帖

[技术文章] H3C交换机配置IP 配置VLAN的方法

一、连接电脑与交换机
使用配置电缆(RS232-RJ45)连接电脑串口和交换机Console口,使用Xshell 6软件进行登录,参数如下:
新建连接:
名称:H3C
协议:SERIAL
SSH/SERIAL参数:默认(COM1/9600/8/1/None/None)
二、设置IP
Xshell登录交换机,交换机断电再送电,根据如下粗体部分设置:
<H3C>sys
System View: return to User View with Ctrl+Z.
[H3C]int vlan 1
[H3C-Vlan-interface1]ip address 192.168.1.135 24
[H3C-Vlan-interface1]quit
[H3C]ip http enable
[H3C]ip https enable
[H3C]local-user admin
New local user added.
[H3C-luser-manage-admin]password simple admin
[H3C-luser-manage-admin]service-type http https
[H3C-luser-manage-admin]authorization-attribute user-role network-admin
[H3C-luser-manage-admin]quit
[H3C]save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup-20190706.cfg]
(To leave the existing filename unchanged, press the enter key):回车
Validating file. Please wait...
Saved the current configuration to mainboard device successfully.
三、划分VLAN
通过浏览器访问交换机IP设置VLAN即可。
欢迎光临:逐梦论坛

返回列表

Powered by Discuz! 7.2   论坛QQ群:逐梦论坛群

© 2001-2021 Comsenz Inc. 鲁公网安备 37120302000001号