中兴交换机5250-28PC刷机

作者 :
免费
  • 正文
  • 用户名:admin   密码:zhongxing

    备份和还原配置:

    一、先从正常启动的同款设备上备份版本文件

    1. 查看当前设备上的版本文件

    zte(cfg)#config tffs

    zte(cfg-tffs)#

    zte(cfg-tffs)#cd img

    zte(cfg-tffs)#ls

    /img/

     

    .                                             <DIR>

    ..                                            <DIR>

    zImage                              7,573,860 bytes

    255,885,312 bytes free

    2. 将版本文件备份到后台TFTP服务器

    上传版本文件,上传后在TFTP指定的目录中找到文件,大小和设备上文件相同,表示备份成功:

    zte(cfg-tffs)#tftp 10.40.188.135 upload zImage

    二、不能正常启动的设备尝试进行网络升级:

    1、网络侧启动版本采用tftp方式加载版本。

    l 设置PC作为tftp服务器,与交换机业务端口相连;

    l 启动tftp服务器;

    l 重起交换机上进行BOOT模式相关配置。

    在普通模式下用c命令设置启动方式为网络启动<0>,设置连接口为port2配置主机(PC)IP地址、本交换机的IP地址和掩码,方法如下:

    [ZXR10 Boot]: c

    boot location [0:Net,1:Flash] : 1                 0   //选择为网络侧启动

    actport                       : 1                 2  //选择端口2与tftp服务互连

    serverip                      : 2.2.2.1      10.40.89.78    //tftp服务器IP

    netmask                       : 255.0.0.0    255.255.255.0  //tftp服务器与client所在网段掩码

    ipaddr                         : 2.2.2.2     10.40.89.79    //tftp client的IP

    bootfile                       : /img/zImage                //启动路径,可忽略----不可忽略,文件需要在根目录的img文件夹下。

    username                       : 111                        //tftp方式可忽略

    password                       : 111111                     //tftp方式可忽略

    MAC                            : 00.22.93.57.13.1c

    [ZXR10 Boot]:

    l Boot模式启动参数设置完成后,输入<load>进行加载;

    在打印出“Loading:”后会发现,PC侧连接到交换机的网卡从中兴交换机5250-28PC刷机-完美源码变为了中兴交换机5250-28PC刷机-完美源码表示连接已建立。

    [ZXR10 Boot]: load

    TFTP from server 10.40.89.78; our IP address is 10.40.89.79

    Loading: ####################################################

    Uncompressing.......................................................................................................................................................................................................................................................................... Done.

     

    The switch's mac address is:00.22.93.57.13.1c

    Module 0:      ZXR10 2928E; fasteth: 24; gbit:  4;

    Software Version Number: V2.05.10.04

    Software Version Date  : Feb 13 2012  09:47:37

    Flash file system initializing...

    Flash file system initialize passed

    Reading config from startrun.dat ...

    Execute command from startrun.dat over

     

    ************************************************

    Welcome to ZXR10 2928E Switch of ZTE Corporation

    ************************************************

    login:

    若遇到启动不成功时,系统会再连续5次尝试向TFTP服务发起连接。若都不成功则系统会重启。此时请注意检查网线、服务器、port端口设置以及IP设置等。

    2、 正常启动后拷贝版本文件

    从TFTP服务器下载目标版本的版本文件到交换机flash中。

    zte(cfg-tffs)#tftp 10.40.188.135 download zImage

    版本下载完成后,使用ls命令查看版本文件。

    3、修改网络启动方式

    由于在OAM模式下无法修改设备启动方式,在网络侧版本启动成功并将版本拷贝至flash中后,需要再次重起设备修改启动方式。

    在普通模式下用c命令设置启动方式为本地启动<1>,并重起设备,方法如下:

    [ZXR10 Boot]: c

    boot location [0:Net,1:Flash] : 0                 1      //选择为本地启动

    actport                       : 2                        //忽略

    serverip                      : 10.40.89.78              //忽略

    netmask                       : 255.255.255.0            //忽略

    ipaddr                         :10.40.89.79              //忽略

    bootfile                       : /img/zImage             //忽略

    username                       : 111                     //忽略

    password                       : 111111                  //忽略

    MAC                            : 00.22.93.57.13.1c       //忽略

    [ZXR10 Boot]: load                                       //重起设备


    VLAN同网段

    zte(cfg)#config router

    zte(cfg-router)#

    在上面模式下输入下面的命令,电脑上设置同网段的地址,看下在交换机上能否ping通电脑的地址。

    set ipport 1 ipaddress 10.10.10.1  255.255.255.0

    set ipport 1 vlan 4

    set ipport 1 enable

     

    默认密码 admin  zhongxing

    配置如下:

    zte(cfg)#show run
    Software version: V2.05.12B11
    Switch's Mac Address: 0c.12.62.be.66.b0

    !
    syslocation No.68_Zijinghua_Road,Yuhuatai_District,Nanjing,CHINA
    syscontact Contact__info@mail.ZTE.com.cn__for_more_information.
    promptlen 32
    create user admin admin
    set user local admin login-password B612AD6F2259089A79740AD7CB5A38BF
    set user local admin admin-password 4DB3B21D65AFB1AE
    line-vty timeout 10
    set loginauth local
    !
    !
    !
    set port statistics mode ingress
    set port 1 pvid 4
    set port 2 pvid 4
    set port 3 pvid 4
    set port 4 pvid 4
    set port 5 pvid 4
    set port 6 pvid 4
    set port 7 pvid 4
    set port 8 pvid 4
    set port 9 pvid 4
    set port 10 pvid 4
    set port 11 pvid 4
    set port 12 pvid 4
    set port 13 pvid 4
    set port 14 pvid 4
    set port 15 pvid 4
    set port 16 pvid 4
    set port 17 pvid 4
    set port 18 pvid 4
    set port 19 pvid 4
    set port 20 pvid 4
    set port 21 pvid 4
    set port 22 pvid 4
    set port 23 pvid 4
    set port 24 pvid 4
    set port 25 pvid 1000
    set port 26 pvid 4
    !
    !
    !
    set vlan 1 add port 1-28 untag
    set vlan 1 add trunk 1-15 untag
    set vlan 3 add port 27-28 tag
    set vlan 4 add port 1-24,26 untag
    set vlan 4 add port 27-28 tag
    set vlan 1000 add port 25-26 untag
    set vlan 1000 add port 1-24,27-28 tag
    set vlan 3 enable
    set vlan 4 enable
    set vlan 43 enable
    set vlan 1000 enable
    !
    !
    !
    !
    !
    !
    !

    !
    !
    !
    !
    set poe port 1-24 pd-max-power 15.4
    set poe port 1 enable
    set poe port 2 enable
    set poe port 3 enable
    set poe port 4 enable
    set poe port 5 enable
    set poe port 6 enable
    set poe port 7 enable
    set poe port 8 enable
    set poe port 9 enable
    set poe port 10 enable
    set poe port 11 enable
    set poe port 12 enable
    set poe port 13 enable
    set poe port 14 enable
    set poe port 15 enable
    set poe port 16 enable
    set poe port 17 enable
    set poe port 18 enable
    set poe port 19 enable
    set poe port 20 enable
    set poe port 21 enable
    set poe port 22 enable
    set poe port 23 enable
    set poe port 24 enable
    !
    !
    !
    !
    !

    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    create view zteView include 1.3.6.1
    !
    !
    !
    set ipport 0 ipaddress 192.168.0.2 255.255.255.0
    set ipport 0 vlan 1
    set ipport 0 enable
    !
    !
    !
    set web enable
    !
    !
    !
    !
    !

    END
    如本资源侵犯了您的权益,请联系投诉邮箱admin@wmphp.com进行举报!我们将在收到邮件的1个小时内处理完毕。 本站仅为平台,发布的资源均为用户投稿或转载!所有资源仅供参考学习使用,请在下载后的24小时内删除,禁止商用! Wmphp.com(完美源码)助力正版,如您有自己的原创产品,可以联系客服投稿,代理出售! Wmphp.com(完美源码)客服QQ:136882447 Wmphp.com(完美源码)商务电话(仅对企业客户/个人用户):15120086569 (微信同步) 请注意:本站不提供任何免费的技术咨询服务,为了节约时间,下载前 请确认自己会技术
    完美源码 » 中兴交换机5250-28PC刷机
    3467+

    本站勉强运行

    3649+

    用户总数

    689+

    资源总数

    0+

    今日更新

    2024-3-11

    最后更新时间