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