NETGEAR 交换机的基本管理和端口配置

This utility will walk you thru assigning the IP address for the switch

management CPU. It will allow you to save the changes at the end. After

the session, simply use the newly assigned IP address to access the Web GUI using any public domain Web browser.

Admin password not defined. Do you want to change the password? (Y/N/Q) N //是否设置管理密码,选N表示不设置

The 'enable' password required for switch configuration via the command line interface is currently not configured. Do you wish to change it (Y/N/Q)? N //是否设置控制台特权密码(enable密码),选N表示不设置 Assigning an IP address to your switch management Current IP Address Configuration -------------------------------- IP Address Assignment Mode: DHCP

IP Address: 0.0.0.0 Subnet mask: 0.0.0.0 Default Router IP: 0.0.0.0

Would you like to assign an IP address now? (Y/D/N/Q/?)? Y //是否设置交换机IP

IP Address: 192.168.1.254 //交换机IP Network mask: 255.255.255.0 //子网掩码

Default Router IP: 192.168.1.1 //网关,即交换机缺省路由 Do you want to assign switch name and location information (Y/N/Q)? N

//是否设置交换机名和位置信息

There are changes detected, do you wish to save the changes permanently (Y/N)? Y //是否保存设置

The configuration changes have been saved successfully. Please enter 'show running-config' to see the final configuration. Thanks for using EzConfig!

(GSM7328S) >enable //进入特权模式 Password:

(GSM7328S) #show ip vlan //查看VLAN IP

MAC Address used by Routing VLANs: 00:1B:2F:B6:57:F4 Logical

VLAN ID Interface IP Address Subnet Mask ------- ----------- --------------- --------------- 1 0/2/1 192.168.1.254 255.255.255.0

--------------------------------------------------------------------------------------------------

注:此时设置的IP为交换机VLAN 1的IP地址,这个地址可参与VLAN间的路由,并且运行ezconfig以后,交换机的路由模式已经自动打开了。路由模式打开后,三层交换机每个VLAN的IP都可以用来做Web管理。 2)使用network命令,配置交换机的管理IP地址 (配置命令及步骤如下图所示)

-------------------------------------------------------------------------------------------------

(GSM7328S) >enable //进入交换机特权模式,默认密码为空 Password:

(GSM7328S) #network protocol none //关闭交换机DHCP Client模式 Changing protocol mode will reset ip configuration.

Are you sure you want to continue? (y/n)y //确认关闭 (GSM7328S) #network parms 192.168.1.100 255.255.255.0 192.168.1.1

//分别设置交换机IP、掩码和网关

(GSM7328S) #show network //查看交换机IP IP Address..................................... 192.168.1.100 Subnet Mask.................................... 255.255.255.0 Default Gateway................................ 192.168.1.1

Burned In MAC Address.......................... 00:1B:2F:B6:57:F2 Locally Administered MAC Address............... 00:00:00:00:00:00 MAC Address Type............................... Burned In Network Configuration Protocol Current......... None Management VLAN ID............................. 1 Web Mode....................................... Enable Java Mode...................................... Enable

--------------------------------------------------------------------------------------------------

注:使用network命令配置的IP,是交换机专用管理IP地址,不能参与VLAN路由。它默认情况下属于VLAN 1,不能跟所在VLAN的IP在同一网段。

3. 交换机配置IP地址生效后, 随后的交换机的大部分配置都可以通过WEB配置界面方式来完成。

注:如果你的电脑的Windows操作系统没有安装Java程序的话,在使用WEB界面配置的时候,你将无法看见配置窗口内交换机的前面板视窗;你可以从下面的链接来获得Java 的安装文件:

(http://download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/MSJavWU_8073687b82d41db93f4c2a04af2b34d.exe) 4. 基本配置完毕,记得需要保存配置信息进入交换机,命令如下所示 -------------------------------------------------------------------------------------------

(GSM7328S) #save //保存配置 This operation may take a few minutes.

Management interfaces will not be available during this time. Are you sure you want to save? (y/n) y //确认保存 Configuration Saved!

-------------------------------------------------------------------------------------------

2.1.2.2 NETGEAR 智能系列交换机管理IP地址设置 1. 配置准备

联系客服:779662525#qq.com(#替换为@) 苏ICP备20003344号-4