中兴z500mesh组网怎么设置(中兴ZXR105228F交换机VLANWEB管理)

前几天逛咸鱼的时候,无意中发现有人在卖中兴的交换机,而且是全新的,正好最近需要一台交换机,直接下单购买,650元全新,24个千兆电口、4个万兆光口,这个价格爽歪歪啊~~

一、 调试前的准备工作:

(1)中兴交换机一台(这是废话O(∩_∩)O)。

(2)Console线一根,一般交换机出厂都会附带一根,如图所示:

中兴z500mesh组网怎么设置(中兴ZXR105228F交换机VLANWEB管理)(1)

(3)电脑一台,笔记本和台式机都可以,但如果是用笔记本的话还需另外购买条USB转RS232的线缆,如图所示:

中兴z500mesh组网怎么设置(中兴ZXR105228F交换机VLANWEB管理)(2)

(4)本次使用的是华为RH2288HV2服务器,因为服务器本身自带串口,所以无需购买USB转RS232的线缆,直接将Console线RJ45一端插入到交换机的Console接口,另一端插入到服务器串口即可。

(5)电脑安装SecureCRT软件。

二、 正式开始调试:

(1)打开SecureCRT软件,点击右上角的闪电图标,按下图所示配置好相关参数,如果所有连接都正确,会进入到交换机的配置页面,(交换机要上电啊啊啊啊啊啊)

中兴z500mesh组网怎么设置(中兴ZXR105228F交换机VLANWEB管理)(3)

ZXR10_5228F_AC>en Password: //默认密码zxr10 ZXR10_5228F_AC#

(2)VLAN相关配置:

ZXR10(config)#switchvlan-configuration ZXR10(config-swvlan)#vlan 10 ZXR10(config-swvlan-sub)#switchport pvid gei-0/1/1/1-2 ZXR10(config-swvlan-sub)#exit ZXR10(config-swvlan)#vlan 20 ZXR10(config-swvlan-sub)#switchport pvid gei-0/1/1/4-5 ZXR10(config-swvlan-sub)#exit ZXR10(config-swvlan)#interface gei-0/1/1/24 ZXR10(config-swvlan-if-gei-0/1/1/24)#switchport mode trunk ZXR10(config-swvlan-if-gei-0/1/1/24)#switchport trunk vlan 10 ZXR10(config-swvlan-if-gei-0/1/1/24)#switchport trunk vlan 20

(3)WEB管理配置:

ZXR10(config)#interface mgmt_eth

ZXR10(config-if-mgmt_eth)#ip add 192.168.1.253 255.255.255.0

ZXR10(config)#ip route 0.0.0.0 0.0.0.0 192.168.1.254

ZXR10(config)#web server enable

ZXR10(config)#aaa-authentication-template 2001

ZXR10(config-aaa-authen-template)#aaa-authentication-type local

ZXR10(config-aaa-authen-template)#exit

ZXR10(config)#aaa-authorization-template 2001

ZXR10(config-aaa-author-template)#aaa-authorization-type local

ZXR10(config-aaa-author-template)#exit

ZXR10(config)#system-user

ZXR10(config-system-user)#authentication-template 1

ZXR10(config-system-user-authen-temp)#bind aaa-authentication-template 2001

ZXR10(config-system-user-authen-temp)#exit

ZXR10(config-system-user)#authorization-template 1

ZXR10(config-system-user-author-temp)#bind aaa-authorization-template 2001

ZXR10(config-system-user-author-temp)#local-privilege-level 15

ZXR10(config-system-user-author-temp)#exit

ZXR10(config-system-user)#user-name admin

ZXR10(config-system-user-username)#bind authentication-template 1

ZXR10(config-system-user-username)#bind authorization-templat 1

ZXR10(config-system-user-username)#password xxxxxxxxx

ZXR10(config-system-user-username)#exit

ZXR10(config-system-user)#exit

配置思路:先给mgmt接口配置一个IP地址,指定一条默认路由,开启交换机WEB服务,创建本地用户认证。也可以通过给相应的VLAN指定IP地址作为交换机的WEB管理IP地址,并把相应端口划分到相应的VLAN即可,本次使用的是交换机自带的mgmt接口。

(3)风扇调速配置:

ZXR10(config)#environ

ZXR10(config-environ)#set fan 1 all 0 0 //手动关闭

ZXR10(config-environ)#set fan 1 all 1 0 //手动1挡

ZXR10(config-environ)#set fan 1 all 2 0 //手动2挡

ZXR10(config-environ)#set fan 1 all 3 0 //手动3挡

ZXR10(config-environ)#set fan 1 all auto 0 //自动,超过45度就会加到2挡

ZXR10_5228F_AC#show temperature //查看温度

RENV : Remote environment temperature(Celsius degree)

LENV : Local environment temperature(Celsius degree)

TH : Threshhold temperature(Celsius degree)

Shelf Panel CPU/TH RENV/TH LENV/TH

MP(M) 0 1 -/- -/- 41/75

ZXR10_5228F_AC#show fan //查看风扇转速

[Shelf 0] Fan mode: Manual

The Total power of Fan (w): 0.73

Fan version:V1.1

Fan serial-number:N/A

Rpm:rounds per minute

FanID Group Present Speed(rpm) Status

1 1 Online 2220 Normal

2 1 Online 2460 Normal

ZXR10_5228F_AC#write //记得保存

Building configuration...

.[OK].

最后发一份我自己交换机的配置文件,欢迎一起交流学习~~~~~~~

ZXR10_5228F_AC#show running-config

!<mim>

!configuration saved at 22:02:42 Fri Jan 1 2010 by write txt

!</mim>

!<pm-sys-config>

hostname ZXR10_5228F_AC

!</pm-sys-config>

!<if-intf>

interface gei-0/1/1/1

$

interface gei-0/1/1/2

$

interface gei-0/1/1/3

$

interface gei-0/1/1/4

$

interface gei-0/1/1/5

$

interface gei-0/1/1/6

$

interface gei-0/1/1/7

$

interface gei-0/1/1/8

$

interface gei-0/1/1/9

$

interface gei-0/1/1/10

$

interface gei-0/1/1/11

$

interface gei-0/1/1/12

$

interface gei-0/1/1/13

$

interface gei-0/1/1/14

$

interface gei-0/1/1/15

$

interface gei-0/1/1/16

$

interface gei-0/1/1/17

$

interface gei-0/1/1/18

$

interface gei-0/1/1/19

$

interface gei-0/1/1/20

$

interface gei-0/1/1/21

$

interface gei-0/1/1/22

$

interface gei-0/1/1/23

$

interface gei-0/1/1/24

$

interface xgei-0/1/1/25

$

interface xgei-0/1/1/26

$

interface xgei-0/1/1/27

$

interface xgei-0/1/1/28

$

interface mgmt_eth

ip address 192.168.1.253 255.255.255.0

$

interface loopback1

ip address 1.1.1.1 255.255.255.255

$

interface null1

$

!</if-intf>

!<ETHER_PORT>

interface gei-0/1/1/1

negotiation auto

broadcast-limit percent 10

multicast-limit percent 100

unknowncast-limit percent 10

$

interface gei-0/1/1/2

negotiation auto

broadcast-limit percent 10

multicast-limit percent 100

unknowncast-limit percent 10

$

interface gei-0/1/1/3

negotiation auto

broadcast-limit percent 10

multicast-limit percent 100

unknowncast-limit percent 10

$

interface gei-0/1/1/4

negotiation auto

broadcast-limit percent 10

multicast-limit percent 100

unknowncast-limit percent 10

$

interface gei-0/1/1/5

negotiation auto

broadcast-limit percent 10

multicast-limit percent 100

unknowncast-limit percent 10

$

interface gei-0/1/1/6

negotiation auto

broadcast-limit percent 10

multicast-limit percent 100

unknowncast-limit percent 10

$

interface gei-0/1/1/7

negotiation auto

broadcast-limit percent 10

multicast-limit percent 100

unknowncast-limit percent 10

$

interface gei-0/1/1/8

negotiation auto

broadcast-limit percent 10

multicast-limit percent 100

unknowncast-limit percent 10

$

interface gei-0/1/1/9

negotiation auto

broadcast-limit percent 10

multicast-limit percent 100

unknowncast-limit percent 10

$

interface gei-0/1/1/10

negotiation auto

broadcast-limit percent 10

multicast-limit percent 100

unknowncast-limit percent 10

$

interface gei-0/1/1/11

negotiation auto

broadcast-limit percent 10

multicast-limit percent 100

unknowncast-limit percent 10

$

interface gei-0/1/1/12

negotiation auto

broadcast-limit percent 10

multicast-limit percent 100

unknowncast-limit percent 10

$

interface gei-0/1/1/13

negotiation auto

broadcast-limit percent 10

multicast-limit percent 100

unknowncast-limit percent 10

$

interface gei-0/1/1/14

negotiation auto

broadcast-limit percent 10

multicast-limit percent 100

unknowncast-limit percent 10

$

interface gei-0/1/1/15

negotiation auto

broadcast-limit percent 10

multicast-limit percent 100

unknowncast-limit percent 10

$

interface gei-0/1/1/16

negotiation auto

broadcast-limit percent 10

multicast-limit percent 100

unknowncast-limit percent 10

$

interface gei-0/1/1/17

negotiation auto

broadcast-limit percent 10

multicast-limit percent 100

unknowncast-limit percent 10

$

interface gei-0/1/1/18

negotiation auto

broadcast-limit percent 10

multicast-limit percent 100

unknowncast-limit percent 10

$

interface gei-0/1/1/19

negotiation auto

broadcast-limit percent 10

multicast-limit percent 100

unknowncast-limit percent 10

$

interface gei-0/1/1/20

negotiation auto

broadcast-limit percent 10

multicast-limit percent 100

unknowncast-limit percent 10

$

interface gei-0/1/1/21

negotiation auto

broadcast-limit percent 10

multicast-limit percent 100

unknowncast-limit percent 10

$

interface gei-0/1/1/22

negotiation auto

broadcast-limit percent 10

multicast-limit percent 100

unknowncast-limit percent 10

$

interface gei-0/1/1/23

negotiation auto

broadcast-limit percent 10

multicast-limit percent 100

unknowncast-limit percent 10

$

interface gei-0/1/1/24

negotiation auto

broadcast-limit percent 10

multicast-limit percent 100

unknowncast-limit percent 10

$

interface xgei-0/1/1/25

negotiation auto disable

broadcast-limit percent 10

multicast-limit percent 100

unknowncast-limit percent 10

$

interface xgei-0/1/1/26

negotiation auto disable

broadcast-limit percent 10

multicast-limit percent 100

unknowncast-limit percent 10

$

interface xgei-0/1/1/27

negotiation auto disable

broadcast-limit percent 10

multicast-limit percent 100

unknowncast-limit percent 10

$

interface xgei-0/1/1/28

negotiation auto disable

broadcast-limit percent 10

multicast-limit percent 100

unknowncast-limit percent 10

$

!</ETHER_PORT>

!<clock-mgr>

clock timezone beijing 8

!</clock-mgr>

!<switchvlan>

switchvlan-configuration

interface gei-0/1/1/1

switchport access vlan 2

$

interface gei-0/1/1/2

switchport access vlan 3

$

interface gei-0/1/1/3

switchport access vlan 4

$

interface gei-0/1/1/4

switchport access vlan 5

$

interface gei-0/1/1/5

switchport access vlan 6

$

interface gei-0/1/1/6

switchport access vlan 7

$

interface gei-0/1/1/7

switchport access vlan 8

$

interface gei-0/1/1/23

switchport mode trunk

switchport trunk-allow-all-vlan

switchport qinq tpid external 0x8100

$

interface gei-0/1/1/24

switchport mode trunk

switchport trunk vlan 2-8

switchport qinq tpid external 0x8100

$

vlan 1

$

list 2-8

$

!</switchvlan>

!<system-user>

enable secret level 15 5 mJkeYS7rQrmlb5k 6s1FnQ==

system-user

authorization-template 3

bind aaa-authorization-template 2003

$

authentication-template 3

bind aaa-authentication-template 2003

$

user-name admin

bind authentication-template 3

bind authorization-template 3

password encrypted 349edffa451c019a5579e482cf0a245bd424ede4e0c2d43a83c350503

71c1246

$

$

!</system-user>

!<aaa>

aaa-authentication-template 2003

aaa-authentication-type local

$

aaa-authorization-template 2003

aaa-authorization-type none

$

!</aaa>

!<evst>

evst

$

!</evst>

!<alarm>

logging file default almlog

accept on

$

logging file default cmdlog

buffer 1000

$

logging file default srvlog

accept on

interval 10

$

logging file default netclog

accept on

$

logging snmp

accept on

match cmdlog

$

!</alarm>

!<web>

web server enable

!</web>

!<static>

ip route 0.0.0.0 0.0.0.0 192.168.1.254

!</static>

!<CHM>

environ

set fan 1 all 1 0

$

!</CHM>

,

免责声明:本文仅代表文章作者的个人观点,与本站无关。其原创性、真实性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容文字的真实性、完整性和原创性本站不作任何保证或承诺,请读者仅作参考,并自行核实相关内容。文章投诉邮箱:anhduc.ph@yahoo.com

    分享
    投诉
    首页