|
在华为公司的Quidway系列WEB网管以太网交换机上,用户可以利用网管功能,以WEB方式非常直观地管理、维护以太网交换机。以太网交换机中提供了一个内置的WEB Server,与以太网交换机相连的PC通过浏览器访问与以太网交换机管理VLAN的IP地址对应的主页,WEB网管程序运行在该主页上,用户就可以通过PC对以太网交换机进行管理。
以下型号的以太网交换机都支持WEB网管功能:
S2403H、S2403H-EI、S2008-EI、S2016-EI、S2026、S2016、S2008、S3026、S3026E、S3026G、S3026C、S3026T、S3026C-PWR、S3526、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
启用WEB网管功能:
当交换机已经具备网管功能时,需启用该功能后方可进行WEB网管操作。启用方法如下:
第一步:通过console口搭建配置环境。建立本地配置环境,只需将PC机(或终端)的串口通过配置电缆与以太网交换机的Console口连接。
第二步:在PC机上运行终端仿真程序(如Windows 3.X的Terminal或Windows 9X的超级终端等),设置终端通信参数为:波特率为9600bit/s、8位数据位、1位停止位、无校验和无流控,并选择终端类型为VT100。
第三步:给以太网交换机加电,加电后PC机终端上将显示以太网交换机自检信息,自检结束后提示用户键入回车,之后将出现命令行提示符(如<Quidway>).
第四步:通过Console口在超级终端中执行相关命令.
以下为设置过程:
Starting...... (交换机的启动)
*******************************************
* *
* Quidway S3026G BOOTROM, Version 160 *
* *
*******************************************
Copyright(C) 2000-2004 by HUAWEI TECHNOLOGIES CO.,LTD.
Creation Date : Nov 03 2004, 18:41:59
CPU Type : MIPS
CPU Clock Speed : 150MHz
Memory Size : 64MB
Initialize LS66LTSU.......................OK!
SDRAM selftest............................OK!
FLASH selftest............................OK!
CPLD selftest.............................OK!
Switch chip selftest......................OK!
Switch SDRAM selftest.....................OK!
PHY selftest..............................OK!
Please check port leds..............finished!
The switch Mac is: 00E0-FC5B-2B82
Press Ctrl-B to enter Boot Menu... 0
Password: (默认密码为空)
BOOT MENU (主菜单)
1. Download application file to flash
2. Select application file to boot
3. Display all files in flash
4. Delete file from flash
5. Modify bootrom password
0. Reboot
Enter your choice(0-5): 3
No. File Name File Size(bytes) (查看电擦写存储器中的文件)
===========================================================================
1 WnmVfsFile.zip 447060
2 * S3026EFGCT-CPWR-VRP310-r0027.bin 3374364
3 snmpboots 8
4 vrpcfg.txt 1433
Free space: 4105216 bytes
The current application file is S3026EFGCT-CPWR-VRP310-r0027.bin
Please press ENTER.
<Quidway> (华为交换机的命令行提示符)
%Jun 20 17:18:31 2006 Quidway SHELL/5/LOGIN: Console login from Aux0/0
[Quidway]interface vlan1 (进入管理VLAN,默认的ID为1)
[Quidway-Vlan-interface1]undo ip address (取消管理VLAN原有的IP地址)
[Quidway-Vlan-interface1]
%Jun 20 17:19:15 2006 Quidway IFNET/5/UPDOWNine protocol on the interface Vlan
-interface1 turns into DOWN state
[Quidway-Vlan-interface1]
[Quidway-Vlan-interface1]ip address 192.168.1.234 255.255.255.0 (配置以太网交换机管理VLAN的IP地址,建议与管理PC终端在同一网段)
[Quidway-Vlan-interface1]
%Jun 20 17:21:05 2006 Quidway IFNET/5/UPDOWNine protocol on the interface Vlan
-interface1 turns into UP state
quit
[Quidway]local-user admin (添加以太网交换机的Telnet用户,设置用户名为admin)
New local user added.
[Quidway-luser-admin]service-type telnet level 3 (设置管理级别为3即超级用户)
[Quidway-luser-admin]password simple admin (设置密码为admin)
[Quidway-luser-admin]
<Quidway>
%Jun 20 17:33:44 2006 Quidway SHELL/5/LOGIN: Console login from Aux0/0
<Quidway>ftp 192.168.1.3 (登录FTP服务器)
Trying ...
Press CTRL+K to abort
Connected.
220 sklf-cb7d530cb9 Microsoft FTP Service (Version 5.0).
User(none):ftp (输入FTP用户名)
331 Anonymous access allowed, send identity (e-mail name) as password.
Password: (FTP密码)
230-Hi
230 Anonymous user logged in.
[ftp]get S3026EFGTC_PWR-VRP310-R0037.bin (下载目标文件)
200 PORT command successful.
150 Opening ASCII mode data connection for S3026EFGTC_PWR-VRP310-R0037.bin(35575
76 bytes).
226 Transfer complete.
FTP: 3557576 byte(s) received in 153.659 second(s) 23.00Kbyte(s)/sec.
[ftp]quit
221
<Quidway>? (显示可用命令)
User view commands:
boot Set boot option
cd Change the current path
clock Specify the system clock
cluster Run cluster command
copy Copy the file
debugging Debugging functions
delete Delete the file
dir Display the file list in system
display Display current system information
format Format the device
free Clear user terminal interface
ftp Open FTP connection
language-mode Specify the language environment
lock Lock current user terminal interface
mkdir Create new directory
more Display the specified file
move Move the file
ntdp Run NTDP commands
ping Ping function
pwd Display the current path
quit Exit from current command view
reboot Reset switch
rename Rename file or directory
reset Reset operation
rmdir Delete existing directory
save Save current configuration
send Send information to other user terminal interface
stacking Run command on stack switch
super Privilege specified user priority level
system-view Enter the system view
telnet Establish one TELNET connection
temperature-limit Set temperature limit
terminal Specify the terminal characteristics
tracert Trace route function
undelete Undelete the deleted file
undo Undo a command or set to its default status
<Quidway>save (保存设置)
This will save the configuration in the flash memory.
The switch configurations will be written to flash.
Are you sure?[Y/N]y
Now saving current configuration to flash memory.
Please wait for a while...
Current configuration saved to flash memory successfully.
<Quidway>reboot
This will reboot Switch. Continue? [Y/N] y
%Jun 20 17:42:52 2006 Quidway DEV/5/DEV_LOG:
Switch is rebooted.
Starting......
*******************************************
* *
* Quidway S3026G BOOTROM, Version 160 *
* *
*******************************************
Copyright(C) 2000-2004 by HUAWEI TECHNOLOGIES CO.,LTD.
Creation Date : Nov 03 2004, 18:41:59
CPU Type : MIPS
CPU Clock Speed : 150MHz
Memory Size : 64MB
Initialize LS66LTSU.......................OK!
SDRAM selftest............................OK!
FLASH selftest............................OK!
CPLD selftest.............................OK!
Switch chip selftest......................OK!
Switch SDRAM selftest.....................OK!
PHY selftest..............................OK!
Please check port leds..............finished!
The switch Mac is: 00E0-FC5B-2B82
Press Ctrl-B to enter Boot Menu... 0
Password:
BOOT MENU
1. Download application file to flash
2. Select application file to boot
3. Display all files in flash
4. Delete file from flash
5. Modify bootrom password
0. Reboot
Enter your choice(0-5): 2
No. File Name File Size(bytes) (选择默认程序)
===========================================================================
1 WnmVfsFile.zip 447060
2 * S3026EFGCT-CPWR-VRP310-r0027.bin 3374364
3 snmpboots 8
4 vrpcfg.txt 1507
5 S3026EFGTC_PWR-VRP310-R0037.bin 3557576
Free space: 546816 bytes
The current application file is S3026EFGCT-CPWR-VRP310-r0027.bin
Please input the file number to boot: 5
Next time, S3026EFGTC_PWR-VRP310-R0037.bin will become default boot file!
Do you want to run S3026EFGTC_PWR-VRP310-R0037.bin now? Yes or No(Y/N)y
Starting ...
********************************************************************************
* Copyright (c) 1998-2006 Huawei Technologies Co., Ltd. All rights reserved. *
* Without the owner's prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
********************************************************************************
User interface Aux0/0 is available
Please press ENTER.
<Quidway>
<Quidway>ftp 192.168.1.3
Trying ...
Press CTRL+K to abort
Connected.
220 sklf-cb7d530cb9 Microsoft FTP Service (Version 5.0).
User(none):ftp
331 Anonymous access allowed, send identity (e-mail name) as password.
Password:
230-Hi
230 Anonymous user logged in.
[ftp]get wnm2.2.2-0005.zip (此文件为WEB网管程序)
200 PORT command successful.
150 Opening ASCII mode data connection for wnm2.2.2-0005.zip(447827 bytes).
226 Transfer complete.
FTP: 447827 byte(s) received in 19.788 second(s) 22.00Kbyte(s)/sec.
[ftp]dir (查看FTP服务器上可供下载的文件)
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
03-31-06 11:14AM 168775 Quidway S3026GTC-PWR-VRP310-R0037版本说明书
.pdf
03-25-06 03:39PM 3557576 S3026EFGTC_PWR-VRP310-R0037.bin
07-27-05 02:56PM 447827 wnm2.2.2-0005.zip
226 Transfer complete.
FTP: 218 byte(s) received in 0.302 second(s) 721.00byte(s)/sec.
在浏览器的地址栏输入192.168.1.234即可登陆到交换机的WEB管理界面. |
|