基本配置:
#添加VLAN
<Quidway> system-view
[Quidway] vlan 10
[Quidway-vlan10] quit
#设定端口模式
<Quidway> system-view
[Quidway] int gigabitethernet 0/0/21
[Quidway-GigabitEthernet0/0/21] port link-type access
[Quidway-GigabitEthernet0/0/21]quit
#将端口加入Vlan
<Quidway> system-view
[Quidway] vlan 10
[Quidway-vlan10] port gigabitethernet 0/0/21
[Quidway- vlan10] quit
#设置VLAN IP(管理IP)
<Quidway> system-view
[Quidway] interface vlanif 10
[Quidway-Vlanif10] ip address 192.168.0.253 255.255.255.0
[Quidway- Vlanif10] shutdown
[Quidway- Vlanif10] undo shutdown
#开启http 服务
< Quidway >dir
Directory of flash:/
Idx Attr Size(Byte) Date Time FileName
0 -rw- 955 Feb 09 2012 16:16:09 private-data.txt
1 -rw- 1,089,840 Jan 01 1970 00:02:05 S5700SI-V100R005C01SPC100.web
.zip
2 -rw- 10,215,068 Oct 01 2008 00:02:28 S5700SI-V100R005C01SPC100.cc
3 -rw- 626,426 Jan 01 1970 00:03:17 s27_37_57-v100r005sph008.pat
4 -rw- 12,240 Jan 01 1970 00:03:19 $_patchstate_reboot
5 -rw- 706 Feb 09 2012 17:33:05 vrpcfg.zip
31,620 KB total (19,928 KB free)
< Quidway >system-view
[Quidway]http server load S5700SI-V100R005C01SPC100.web.zip
[Quidway]http server enable
设置电脑 ip和192.168.0.253 在同一网段并且电脑能够和192.168.0.253ping通
检测方法:浏览器打开http://192.168.0.253
User:admin Pwd:admin
#重启
[Quidway] reboot