华为 Quidway S3026 交换机 配置实例

 

一、设置管理VLAN

1.进入系统视图

<Quidway>system-view
Enter system view , return user view with Ctrl+Z.

2.创建VLAN25,并将以太网端口0/1加入到VLAN25中。
[Quidway]vlan 25
[Quidway-vlan25]port eth0/1
[Quidway-vlan25]quit

3.指定VLAN25为管理VLAN
[Quidway]management-vlan 25
[Quidway]interface vlan-interface 25
[Quidway-Vlan-interface25]
%Jan 1 12:04:37 2002 Quidway L2INF/5/VLANIF LINK STATUS CHANGE:Slot=1;
Vlan-interface25: turns into UP state

4.设置VLAN25的IP地址为192.168.0.200

[Quidway-Vlan-interface25]ip address 192.168.0.200 255.255.255.0
[Quidway-Vlan-interface25]
%Jan 1 12:04:57 2002 Quidway IFNET/5/UPDOWN:Slot=1;Line protocol on the interfa
ce Vlan-interface25 turns into UP state

[Quidway-Vlan-interface25]quit

5.将2-22端口分别设置为不同的VLAN。

[Quidway]vlan 2

[Quidway-vlan2]port eth0/2

[Quidway-vlan2]quit

...........

6.设置isolate-user-vlan

[Quidway]vlan 23

[Quidway-vlan23]port eth0/23 eth0/24

[Quidway-vlan23]isolate-user-vlan enable

[Quidway-vlan23]quit

[Quidway]isolate-user-vlan 23 secondary 2 to 22

[Quidway]isolate-user-vlan 23 secondary 25

7.配置WEB管理

[Quidway]local-user admin //建立web管理的登陆用户名
New local user added.
[Quidway-luser-admin]service-type telnet level 3 //
设定登陆用户的权限
[Quidway-luser-admin]password simple aaa //
设定登陆用户的密码
[Quidway-luser-admin]quit
[Quidway]quit

8.退出系统设置,并保存配置。

[Quidway]quit
<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...

Save current configuration to flash memory successfully.

9.重启交换机

<Quidway>reboot

 

注:

中端和高端的交换机都不支持WEB网管。另外有些不能配置管理接口的低端交换机也不支持。
不支持的有:S5516,S65XX,S8016,S85XX,S20XXB,S20XXC,S21XX-SI,S2403,S2403F,S2024M,S3025M,S3026FM/FS S3526 EFM/FS

可以支持WEB网管的有:S2403H,S21XX-EI,S20XX-EI,S2403-EI,S20XX-SI,S30XX- SI,S31XX,S3026/FM/FS,S3026C/EFM,E026/E050,S3050,S50XX,S3526,S3526C/E,S3528/S3552,S39XX,S56XX.

<Quidway>
<Quidway>dir
Directory of flash:/

-rwxrwxrwx 1 noone nogroup 2751260 Apr 02 2000 00:36:49 S2000-VRP310-r0018-32-a.app
-rwxrwxrwx 1 noone nogroup 8 Apr 02 2000 00:41:16 snmpboots
-rwxrwxrwx 1 noone nogroup 442799 Apr 02 2000 00:16:37 wnm2.2.2-0004.zip-----这个文件就是WEB要用到的,必须有。

3381248 bytes total (182272 bytes free)

<Quidway>
<Quidway>sys
Enter system view, return to user view with Ctrl+Z.
[Quidway]local user1------------------------创建用户名user1 密码:quidway
New local user added.
[Quidway-luser-user1]password simple quidway
[Quidway-luser-user1]service-type telnet level 3------------->类型为TELNET,权限为3级(最高)
[Quidway-luser-user1]

 

问:

交换机启动时,超级终端显示如下,之后按什么键都没反应,包括Ctrl+B
starting......


*******************************************
* *
* Quidway S3026 BOOTROM, Version 140 *
* *
*******************************************

Copyright(C) 2000-2002 by HUAWEI TECHNOLOGIES CO.,LTD.
Creation Date : Sep 20 2002, 10:15:35
CPU Type : ARM
CPU Clock Speed : 62.5Mhz
Memory Size : 24MB


Please check port leds...
Initialize LS42LTSU ......................OK!
SDRAM selftest............................OK!
FLASH selftest............................OK!
Interrupt selftest........................OK!
Switch chip selftest......................OK!
Port 25 has no module
Port 26 has no module
PHY selftest..............................OK!
The switch Mac is: 00-E0-FC-12-3B-4C


Press Ctrl-B to enter Boot Menu... 0
Auto-booting...
Decompress Image...........................................................done!


Starting ...


Line Aux0 is available



Press ENTER to get started.

答:

把超级终端的数据流控改成“无”

你可能感兴趣的:(职场,休闲,交换机,华为3026)