输入您的问题查找答案
   
 
相关文库文档
更多相关文库文档 >>
联系客服
在线技术支持
客户服务热线:

电话销售热线:

服务时间(法定节假日除外):
家庭产品:
周一~周五:8:30~20:30
周六:9:00~18:00
商用产品:
周一~周五:9:00~18:00
商用网络动态

与 NETGEAR 监控专用交换机亲密接触

选择德才兼备的 PoE 交换机

NETGEAR 交换机助力聊城第二人民医院智能监控建设

更多动态 >>

网件文库 » 交换机产品  »  手动配置M系列交换机的管理IP
手动配置M系列交换机的管理IP

编号:30230       来自:NetGear       更新日期:2013-04-17       访问数量:6461

一、配置准备

  1. 将9针串口设置电缆(Console Cable,NETGEAR每台新的全网管交换机都会随机提供) 连接配置使用的电脑的串口和M5300系列交换机的控制端口。(此配置以M5300交换机为例)
  2. 运行WINDOWS操作系统中菜单内的超级终端程序,建立新的端口基本属性:
    1. 每秒位数(B):115200
    2. 数据位(D):8
    3. 奇偶校验(P):无
    4. 停止位(S):1
    5. 数据流控制(F):硬件
  3. 正确的基本连接准备设置完毕后,你就可以在超级终端内看见NETGEAR M5300系列交换机的命令行(CLI)配置界面:
    管理员帐号用户名(缺省):admin
    管理员帐户口令(缺省):无
    设备正常启动完毕后显示输入账号密码的界面

二、使用Ezconfig向导,直接配置VLAN 1的地址,并开启三层路由

(配置命令及步骤如下图所示)

User:admin
Password:
(M5300-52G) >ezconfig

EZ Configuration Utility
--------------------------------
Hello and Welcome!
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 is not defined.
Do you want to assign the admin password (password length should vary in a range
 of 8 - 64 characters)? (Y/N/Q)  n //是否设置管理密码,选N表示不设置


The 'enable' password required for switch configuration via the command
line interface is currently not configured.
Do you want to assign it (password length should vary in a range of 8 - 64 chara
cters) (Y/N/Q)?  n//是否设置控制台特权密码(enable密码),选N表示不设置


Assigning an IP address to your switch management

Current IP Address Configuration
--------------------------------

IP Address Assignment Mode: None
IP Address: 0.0.0.0
Subnet mask: 0.0.0.0
Default Router IP: 0.0.0.0

IP address is not assigned. What do you want to do?
C - Configure IP address manually. //表示手动配置管理IP地址
D - Assign IP address for the switch using DHCP mode(current IP address will be
lost). //表示通过DHCP服务器获取管理IP地址
N - Do nothing and go to the next question. //不配置管理IP地址
Q - Quit. //推出
? - Help.
(C/D/N/Q?)? c//选择C表示手动配置管理IP

IP Address: 10.45.1.200 //交换机IP
Network mask: 255.255.254.0//子网掩码
Default Router IP: 10.45.0.13//网关,即交换机缺省路由
Assigning System Name, System Location and System Contact to your switch managem
ent

Current Configuration
--------------------------------
System Name:
System Location:
System Contact:

Do you want to assign switch name and location information? (Y/N/Q)n
//是否设置交换机名和位置信息
Do you want to apply and save the changes (Y/N)?  y
//是否保存设置
Config file 'startup-config' created successfully .

The configuration changes have been applied and saved.
Please enter 'show running-config' to see the final configuration.
Thanks for using EzConfig!
(M5300-52G) >en
(M5300-52G) #show ip vlan//查看VLAN IP
MAC Address used by Routing VLANs:   4C:60:DE:DB:7B:5E
           Logical
VLAN ID   Interface        IP Address       Subnet Mask
-------  --------------  ---------------  ---------------
1        vlan 1          10.45.1.200      255.255.254.0
注:此时设置的IP为交换机VLAN 1的IP地址,这个地址可参与VLAN间的路由,并且运行ezconfig以后,交换机的路由模式已经自动打开了。路由模式打开后,三层交换机每个VLAN的IP都可以用来做Web管理。

三、使用network命令,配置交换机的管理IP地址 (配置命令及步骤如下图所示)

User:admin
Password:
(M5300-52G) >en
(M5300-52G) #network protocol none//关闭交换机DHCP Client模式
Changing protocol mode will reset ip configuration.
Are you sure you want to continue? (y/n)y
(M5300-52G) #network parms 10.45.1.200 255.255.254.0 10.45.0.13//分别设置交换机IP、掩码和网关
(M5300-52G) #show network//查看交换机IP

Interface Status............................... Up
IP Address..................................... 10.45.1.200
Subnet Mask.................................... 255.255.254.0
Default Gateway................................ 10.45.0.13
IPv6 Administrative Mode....................... Enabled
IPv6 Prefix is ................................ fe80::4e60:deff:fedb:7b5c/64
Burned In MAC Address.......................... 4C:60:DE:DB:7B:5C
Locally Administered MAC address............... 00:00:00:00:00:00
MAC Address Type............................... Burned In
Configured IPv4 Protocol....................... None
Configured IPv6 Protocol....................... None
IPv6 AutoConfig Mode........................... Disabled
Management VLAN ID............................. 1

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

 

序号 no.

日期 date

作者 author

摘要 summary

1

2013-04-17

区志杰

文档创建

 

 

  
 
以上内容是否为您所需要的答案?
以上内容是否清晰、简明和易于理解的?
您是如何知道网件社区的?