華為交換機(jī)s5700簡(jiǎn)單配置?
基本配置:
#添加VLAN
<Quidway> system-view
[Quidway] vlan 10
[Quidway-vlan10] quit
#設(shè)定端口模式
<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
#設(shè)置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
#開(kāi)啟http 服務(wù)
< 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
設(shè)置電腦 ip和192.168.0.253 在同一網(wǎng)段并且電腦能夠和192.168.0.253ping通
檢測(cè)方法:瀏覽器打開(kāi)http://192.168.0.253
User:admin Pwd:admin
#重啟
[Quidway] reboot