配置交换机WEB管理.docx
《配置交换机WEB管理.docx》由会员分享,可在线阅读,更多相关《配置交换机WEB管理.docx(9页珍藏版)》请在冰豆网上搜索。
![配置交换机WEB管理.docx](https://file1.bdocx.com/fileroot1/2022-12/12/a444bde1-c504-4498-a719-b2044256d12d/a444bde1-c504-4498-a719-b2044256d12d1.gif)
配置交换机WEB管理
配置交换机WEB管理
h3c交换机设置
简介:
在华为公司的Quidway系列WEB网管以太网交换机上,用户可以利用网管功能,以WE方式非常直观地管理、维护以太网交换机。
以太网交换机中提供了一个内置的WEBServer,与以太网交换机相连的PC通过浏览器访问与以太网交换机管理VLAN的IP地址对应的主页,WE删管程序运行在该主页上,用户就可以通过PC对以太网交换机进行管理。
以下型号的以太网交换机都支持WE删管功能:
S2403H、S2403H-EI、S2008-EI、S2016-EI、S2026、S2016、S2008、S3026、S3026E、S3026G、S3026C、S3026T、S3026C-PW、RS3526、S3526C、S3526E、S2026C-SI、S2026Z-SI、S3026C-SI、S3026S-SI、S3026G-SI、S3050C、E026-SI、E026、E050、S3552G、S3552P、S3528G、S3528P、S3552F-SI、S3552F-HI、S5012G、S5012T-12/10GBC、S5024G-24/20TP启用WE删管功能:
当交换机已经具备网管功能时,需启用该功能后方可进行WE胸管操作。
启用方法如下:
第一步:
通过console口搭建配置环境。
建立本地配置环境,只需将
PC机(或终端)的串口通过配置电缆与以太网交换机的Console口
连接。
第二步:
在PC机上运行终端仿真程序(如Windows3.X的Terminal或Windows9X的超级终端等),设置终端通信参数为:
波特率为9600bit/s、8位数据位、1位停止位、无校验和无流控,并选择终端类型为VT100。
第三步:
给以太网交换机加电,加电后PC机终端上将显示以太网交换机自检信息,自检结束后提示用户键入回车,之后将出现命令行提示符(如).
第四步:
通过Console口在超级终端中执行相关命令以下为设置过程:
Starting
换机的启动)
*******************************************
QuidwayS3026GBOOTROM,Version160
*******************************************
Copyright(C)
2000-2004byHUAWETIECHNOLOGI
ECSO
.,LTD.
CreationDate
:
Nov032004,18:
41:
59
CPUType
:
MIPS
CPUClockSpeed:
150MHz
MemorySize:
64MB
InitializeLS66LTSUOK!
SDRAMselftestOK!
FLASHselftestOK!
CPLDselftestOK!
SwitchchipselftestOK!
SwitchSDRAMselftestOK!
PHYselftestOK!
Pleasecheckportledsfinished!
TheswitchMacis:
00E0-FC5B-2B82
PressCtrl-BtoenterBootMenu...0
Password:
(默认密码为空)
BOOTMENU(主菜单)
1.Downloadapplicationfiletoflash
2.Selectapplicationfiletoboot
3.Displayallfilesinflash
4.Deletefilefromflash
5.Modifybootrompassword
0.Reboot
Enteryourchoice(0-5):
3
No.FileName
FileSize(bytes)(查看电擦写存储器中的文件)
1WnmVfsFile.zip
447060
2*S3026EFGCT-CPWR-VRP310-r0027.bin3374364
3snmpboots8
4vrpcfg.txt
1433
Freespace:
4105216bytes
ThecurrentapplicationfileisS3026EFGCT-CPWR-VRP310-r0027.bin
PleasepressENTER.
(华为交换机的命令行提示符)
%Jun2017:
18:
312006QuidwaySHELL/5/LOGIN:
ConsoleloginfromAux0/0
[Quidway]intefacevian1(进入管理VLAN默认的ID为1)
[Quidway-Vian-inteface1]undoipaddress(取消管理VLAN原
有的IP地址)
[Quidway-Vian-interface1]
%Jun2017:
19:
152006QuidwayIFNET/5/UPDOWN:
LineprotocoiontheinterfaceVian
-interface1turnsintoDOWNstate
[Quidway-Vian-interface1]
[Quidway-Vian-interface1]ipaddress192.168.1.234
255.255.255.0(配置以太网交换机管理VLAN的IP地址,建议与管
理PC终端在同一网段)
[Quidway-Vlan-interface1]
%Jun2017:
21:
052006QuidwayIFNET/5/UPDOWN:
LineprotocolontheinterfaceVlan
-interface1turnsintoUPstate
quit
[Quidway]local-useradmin(添加以太网交换机的Telnet用户,设置用户名为admin)
Newlocaluseradded.
[Quidway-luser-admin]service-typetelnetlevel3(设置管理级
别为3即超级用户)
[Quidway-luser-admin]passwordsimpleadmin(设置密码为admin)
[Quidway-luser-admin]
%Jun2017:
33:
442006QuidwaySHELL/5/LOGIN:
Consoleloginfrom
Aux0/0
ftp192.168.1.3(登录FTP服务器)
Trying...
PressCTRL+Ktoabort
Connected.
220sklf-cb7d530cb9MicrosoftFTPService(Version5.0).
User(none):
ftp(输入FTP用户名)
331Anonymousaccessallowed,sendidentity(e-mailname)aspassword.
Password:
(FTP密码)
230-Hi
230Anonymoususerloggedin.
[ftp]getS3026EFGTC_PWR-VRP310-R0037.bin(下载目标文件)
200PORTcommandsuccessful.
150OpeningASCIImodedataconnectionfor
S3026EFGTC_PWR-VRP310-R0037.bin(35575
76bytes).
226Transfercomplete.
FTP:
3557576byte(s)receivedin153.659second(s)23.00Kbyte(s)/sec.
[ftp]quit
221
?
(显示可用命令)
Userviewcommands:
boot
Setbootoption
cd
Changethecurrentpath
clock
Specifythesystemclock
cluster
Runclustercommand
copy
Copythefile
debugging
Debuggingfunctions
delete
Deletethefile
dir
Displaythefilelistinsystem
display
Displaycurrentsysteminformation
format
Formatthedevice
free
Clearuserterminalinterface
ftp
OpenFTPconnection
language-modeSpecifythelanguageenvironment
lock
Lockcurrentuserterminalinterface
mkdir
Createnewdirectory
more
Displaythespecifiedfile
move
Movethefile
ntdp
RunNTDPcommands
ping
Pingfunction
pwd
Displaythecurrentpath
quit
Exitfromcurrentcommandview
reboot
Resetswitch
rename
Renamefileordirectory
reset
Resetoperation
rmdir
Deleteexistingdirectory
save
Savecurrentconfiguration
send
interface
Sendinformationtootheruserterminal
stacking
Runcommandonstackswitch
super
Privilegespecifieduserprioritylevel
system-viewEnterthesystemview
telnet
EstablishoneTELNETconnection
temperature-limitSettemperaturelimit
terminalSpecifytheterminalcharacteristics
tracertTraceroutefunction
undeleteUndeletethedeletedfile
undoUndoacommandorsettoitsdefault
status
save(保存设置)
Thiswillsavetheconfigurationintheflashmemory.
Theswitchconfigurationswillbewrittentoflash.
Areyousure?
[Y/N]y
Nowsavingcurrentconfigurationtoflashmemory.
Pleasewaitforawhile...
Currentconfigurationsavedtoflashmemorysuccessfully.reboot
ThiswillrebootSwitch.Continue?
[Y/N]y
%Jun2017:
42:
522006QuidwayDEV/5/DEV_LOG:
Switchisrebooted.
Starting
*******************************************
QuidwayS3026GBOOTROM,Version160
*******************************************
Copyright(C)2000-2004byHUAWEITECHNOLOGIESCO.,LTD.
CreationDate:
Nov032004,18:
41:
59
CPUType:
MIPS
CPUClockSpeed:
150MHz
MemorySize:
64MB
InitializeLS66LTSUOK!
SDRAMselftestOK!
FLASHselftestOK!
CPLDselftestOK!
SwitchchipselftestOK!
SwitchSDRAMselftestOK!
PHYselftestOK!
Pleasecheckportledsfinished!
TheswitchMacis:
00E0-FC5B-2B82
PressCtrl-BtoenterBootMenu...0
Password:
BOOTMENU
1.Downloadapplicationfiletoflash
2.Selectapplicationfiletoboot
3.Displayallfilesinflash
4.Deletefilefromflash
5.Modifybootrompassword
0.Reboot
Enteryourchoice(0-5):
2
No.FileNameFile
Size(bytes)(选择默认程序)
1WnmVfsFile.zip
447060
2*S3026EFGCT-CPWR-VRP310-r0027.bin
3374364
3snmpboots8
4vrpcfg.txt
1507
5S3026EFGTC_PWR-VRP310-R0037.bin
3557576
Freespace:
546816bytes
ThecurrentapplicationfileisS3026EFGCT-CPWR-VRP310-r0027.bin
Pleaseinputthefilenumbertoboot:
5
Nexttime,S3026EFGTC_PWR-VRP310-R0037.binwillbecomedefaultbootfile!
DoyouwanttorunS3026EFGTC_PWR-VRP310-R0037.bnionw?
YesorNo(Y/N)y
Starting...
********************************************************************************
*Copyright(c)1998-2006HuaweiTechnologiesCo.,Ltd.Allrightsreserved.*
*Withouttheowner'spriorwrittenconsent,
*
*nodecompilingorreverse-engineeringshallbeallowed.
*
***********************************************************
*********************
UserinterfaceAux0/0isavailable
PleasepressENTER.
ftp192.168.1.3
Trying...
PressCTRL+Ktoabort
Connected.
220sklf-cb7d530cb9MicrosoftFTPService(Version5.0).
User(none):
ftp
331Anonymousaccessallowed,sendidentity(e-mailname)aspassword.
Password:
230-Hi
230Anonymoususerloggedin.
[ftp]getwnm222-0005.zip(此文件为WEB^管程序)200PORTcommandsuccessful.
150OpeningASCIImodedataconnectionforwnm2.2.2-0005.zip(447827bytes).
226Transfercomplete.
FTP:
447827byte(s)receivedin19.788second(s)22.00Kbyte(s)/sec.
[ftp]dir(查看FTP服务器上可供下载的文件)
200PORTcommandsuccessful.
150OpeningASCIImodedataconnectionfor/bin/ls.
03-31-0611:
14AM
168775Quidway
S3026GTC-PWR-VRP310-R0.pdf
03-25-0603:
39PM3557576
S3026EFGTC_PWR-VRP310-R0037.bin
07-27-0502:
56PM447827wnm2.2.2-0005.zip
226Transfercomplete.
FTP:
218byte(s)receivedin0.302second(s)721.00byte(s)/sec.
WE管理
在浏览器的地址栏输入192.168.1.234即可登陆到交换机的界面.
18/18