中兴交换机5260-28PD-C

作者 :
免费
  • 正文
  • 单位的中兴交换机5250-28PC坏了,换了一台新的5260-28PD-C,但配置命令完全不同。

    用户名:zxr10  密码:zxr10

    开通接口POE:

    ZXR10(config)#poe

    ZXR10(config-poe)#interface gei-0/1/1/1

    ZXR10(config-poe-if-gei-0/1/1/1)#enable  //默认供电功率配置为auto

    每个接口进入单开,小编是新手没有找到批量开方法,但只开一次就可以了

    查看端口供电情况:

    ZXR10(config-poe)#show running-config poe 查看所有开启情况

    ZXR10(config-poe)#show poe interface gei-0/1/1/1  查看单一口情况

    根据旧5250-28PC交换机配置设置VLAN如下:

    ZXR10(config)#switchvlan-configuration

    ZXR10(config-swvlan)#

    ZXR10(config-swvlan-if-gei-0/1/1/1)#switchport mode hybrid

    ZXR10(config-swvlan-if-gei-0/1/1/1)#switchport hybrid native vlan 4

    ZXR10(config-swvlan-if-gei-0/1/1/1)#switchport hybrid vlan 4 untag

    ZXR10(config-swvlan-if-gei-0/1/1/1)#switchport hybrid vlan 1000 tag

    gei-0/1/1/1到24口每个都执行:

    switchport mode hybrid
    switchport hybrid vlan 4 untag
    switchport hybrid vlan 1000 tag
    switchport hybrid native vlan 4

    最后interface xgei-0/1/1/28执行:

    switchport mode trunk
    switchport trunk vlan 4,1000

    ZXR10#write

     

    5260-28PD-C配置如下:

    xijiao1#show version
    ZXR10 5260-28PD-C Software, 5200 Version: V3.05.10.B24, RELEASE SOFTWARE
    Copyright (c) 2010-2020 by ZTE Corporation.
    Compiled 2018-10-09, 17:20:57
    System image files are:</flash/5260.set>
    System uptime is 1 days, 1 hours, 28 minutes

    [MP(M) , shelf 0 ,panel 1]
    cpu 0
    Main processor : ARM MV78230 Processor
    Bootrom Version : V1.20
    Memory : 1018 Mbytes
    System Flash : 512 Mbytes
    System baud : 9600 baud
    System nvram : 8 kbytes
    CPUcard CPLD : N/A
    CPLD1 Version : V0.90
    CPLD2 Version : N/A
    Board Name : 5260-28PD-C
    Product Version : V1.0
    Board PCB : V0.20
    POE Version : V2.0.40

    xijiao1#show running-config
    !<mim>
    !configuration saved at 17:12:06 Fri Jul 26 2019 by write txt
    !last configuration change at 17:11:25 Fri Jul 26 2019 by NULL
    !</mim>
    !<pm-sys-config>
    hostname xijiao1
    !</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 10.40.89.79 255.255.255.0
    $
    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>
    !<switchvlan>
    switchvlan-configuration
    interface gei-0/1/1/1
    switchport mode hybrid
    switchport hybrid vlan 4 untag
    switchport hybrid vlan 1000 tag
    switchport hybrid native vlan 4
    switchport qinq tpid external 0x8100
    $
    interface gei-0/1/1/2
    switchport mode hybrid
    switchport hybrid vlan 4 untag
    switchport hybrid vlan 1000 tag
    switchport hybrid native vlan 4
    switchport qinq tpid external 0x8100
    $
    interface gei-0/1/1/3
    switchport mode hybrid
    switchport hybrid vlan 4 untag
    switchport hybrid vlan 1000 tag
    switchport hybrid native vlan 4
    switchport qinq tpid external 0x8100
    $
    interface gei-0/1/1/4
    switchport mode hybrid
    switchport hybrid vlan 4 untag
    switchport hybrid vlan 1000 tag
    switchport hybrid native vlan 4
    switchport qinq tpid external 0x8100
    $
    interface gei-0/1/1/5
    switchport mode hybrid
    switchport hybrid vlan 4 untag
    switchport hybrid vlan 1000 tag
    switchport hybrid native vlan 4
    switchport qinq tpid external 0x8100
    $
    interface gei-0/1/1/6
    switchport mode hybrid
    switchport hybrid vlan 4 untag
    switchport hybrid vlan 1000 tag
    switchport hybrid native vlan 4
    switchport qinq tpid external 0x8100
    $
    interface gei-0/1/1/7
    switchport mode hybrid
    switchport hybrid vlan 4 untag
    switchport hybrid vlan 1000 tag
    switchport hybrid native vlan 4
    switchport qinq tpid external 0x8100
    $
    interface gei-0/1/1/8
    switchport mode hybrid
    switchport hybrid vlan 4 untag
    switchport hybrid vlan 1000 tag
    switchport hybrid native vlan 4
    switchport qinq tpid external 0x8100
    $
    interface gei-0/1/1/9
    switchport mode hybrid
    switchport hybrid vlan 4 untag
    switchport hybrid vlan 1000 tag
    switchport hybrid native vlan 4
    switchport qinq tpid external 0x8100
    $
    interface gei-0/1/1/10
    switchport mode hybrid
    switchport hybrid vlan 4 untag
    switchport hybrid vlan 1000 tag
    switchport hybrid native vlan 4
    switchport qinq tpid external 0x8100
    $
    interface gei-0/1/1/11
    switchport mode hybrid
    switchport hybrid vlan 4 untag
    switchport hybrid vlan 1000 tag
    switchport hybrid native vlan 4
    switchport qinq tpid external 0x8100
    $
    interface gei-0/1/1/12
    switchport mode hybrid
    switchport hybrid vlan 4 untag
    switchport hybrid vlan 1000 tag
    switchport hybrid native vlan 4
    switchport qinq tpid external 0x8100
    $
    interface gei-0/1/1/13
    switchport mode hybrid
    switchport hybrid vlan 4 untag
    switchport hybrid vlan 1000 tag
    switchport hybrid native vlan 4
    switchport qinq tpid external 0x8100
    $
    interface gei-0/1/1/14
    switchport mode hybrid
    switchport hybrid vlan 4 untag
    switchport hybrid vlan 1000 tag
    switchport hybrid native vlan 4
    switchport qinq tpid external 0x8100
    $
    interface gei-0/1/1/15
    switchport mode hybrid
    switchport hybrid vlan 4 untag
    switchport hybrid vlan 1000 tag
    switchport hybrid native vlan 4
    switchport qinq tpid external 0x8100
    $
    interface gei-0/1/1/16
    switchport mode hybrid
    switchport hybrid vlan 4 untag
    switchport hybrid vlan 1000 tag
    switchport hybrid native vlan 4
    switchport qinq tpid external 0x8100
    $
    interface gei-0/1/1/17
    switchport mode hybrid
    switchport hybrid vlan 4 untag
    switchport hybrid vlan 1000 tag
    switchport hybrid native vlan 4
    switchport qinq tpid external 0x8100
    $
    interface gei-0/1/1/18
    switchport mode hybrid
    switchport hybrid vlan 4 untag
    switchport hybrid vlan 1000 tag
    switchport hybrid native vlan 4
    switchport qinq tpid external 0x8100
    $
    interface gei-0/1/1/19
    switchport mode hybrid
    switchport hybrid vlan 4 untag
    switchport hybrid vlan 1000 tag
    switchport hybrid native vlan 4
    switchport qinq tpid external 0x8100
    $
    interface gei-0/1/1/20
    switchport mode hybrid
    switchport hybrid vlan 4 untag
    switchport hybrid vlan 1000 tag
    switchport hybrid native vlan 4
    switchport qinq tpid external 0x8100
    $
    interface gei-0/1/1/21
    switchport mode hybrid
    switchport hybrid vlan 4 untag
    switchport hybrid vlan 1000 tag
    switchport hybrid native vlan 4
    switchport qinq tpid external 0x8100
    $
    interface gei-0/1/1/22
    switchport mode hybrid
    switchport hybrid vlan 4 untag
    switchport hybrid vlan 1000 tag
    switchport hybrid native vlan 4
    switchport qinq tpid external 0x8100
    $
    interface gei-0/1/1/23
    switchport mode hybrid
    switchport hybrid vlan 4 untag
    switchport hybrid vlan 1000 tag
    switchport hybrid native vlan 4
    switchport qinq tpid external 0x8100
    $
    interface gei-0/1/1/24
    switchport mode hybrid
    switchport hybrid vlan 4 untag
    switchport hybrid vlan 1000 tag
    switchport hybrid native vlan 4
    switchport qinq tpid external 0x8100
    $
    interface xgei-0/1/1/26
    switchport qinq tpid external 0x8100
    $
    interface xgei-0/1/1/27
    switchport mode trunk
    switchport trunk vlan 4,1000
    switchport qinq tpid external 0x8100
    $
    interface xgei-0/1/1/28
    switchport mode trunk
    switchport trunk vlan 4,1000
    switchport qinq tpid external 0x8100
    $
    vlan 1
    $
    vlan 4
    $
    vlan 1000
    $
    $
    !</switchvlan>
    !<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>
    !<POE>
    poe
    interface gei-0/1/1/1
    enable
    $
    interface gei-0/1/1/2
    enable
    $
    interface gei-0/1/1/3
    enable
    $
    interface gei-0/1/1/4
    enable
    $
    interface gei-0/1/1/5
    enable
    $
    interface gei-0/1/1/6
    enable
    $
    interface gei-0/1/1/7
    enable
    $
    interface gei-0/1/1/8
    enable
    $
    interface gei-0/1/1/9
    enable
    $
    interface gei-0/1/1/10
    enable
    $
    interface gei-0/1/1/11
    enable
    $
    interface gei-0/1/1/12
    enable
    $
    interface gei-0/1/1/13
    enable
    $
    interface gei-0/1/1/14
    enable
    $
    interface gei-0/1/1/15
    enable
    $
    interface gei-0/1/1/16
    enable
    $
    interface gei-0/1/1/17
    enable
    $
    interface gei-0/1/1/18
    enable
    $
    interface gei-0/1/1/19
    enable
    $
    interface gei-0/1/1/20
    enable
    $
    interface gei-0/1/1/21
    enable
    $
    interface gei-0/1/1/22
    enable
    $
    interface gei-0/1/1/23
    enable
    $
    interface gei-0/1/1/24
    enable
    $
    $
    !</POE>


    其它相关配置方法:

    一般正常配置VlAN:

    ZXR10(config)#switchvlan-configuration

    ZXR10(config-swvlan)#vlan 1000

    ZXR10(config-swvlan-sub)#switchport pvid gei-0/1/1/1-24

    ZXR10(config-swvlan-sub)#exit

    ZXR10(config-swvlan)#interface xgei-0/1/1/28

    ZXR10(config-swvlan-if-xgei-0/1/1/28)#switchport mode trunk

    ZXR10(config-swvlan-if-xgei-0/1/1/28)#swtichport trunk vlan 4,1000  4和1000vlan同时可访问

    查看vlan

    ZXR10#show running-config switchvlan

    ZXR10#show  vlan

     

    互联端口设置:

    switchport pvid|tag|untag 1000
    范例
    ZXR10(config-swvlan)#vlan 100
    ZXR10(config-swvlan-sub)#switchport pvid gei-0/1/1/28
    ZXR10(config-swvlan-sub)#switchport tag xgei-0/1/1/28
    ZXR10(config-swvlan-sub)#switchport untag gei-0/1/1/28
    备注:
    pvid配置对于所有端口有效,tag端口配置对于trunk/hybrid模式的端口有效,如xgei口,untag端口配置对于hybrid端口有效,模式不正确的情况提示用户相应出错信息。
    删除vlan:

    ZXR10(config-swvlan-if-gei-0/1/1/1)#no switchport {pvid|tag|untag} 2-4094

    ZXR10(config-swvlan-if-gei-0/1/1/1)#no switchport access vlan

    ZXR10(config-swvlan-if-gei-0/1/1/1)#no switchport trunk [native] vlan

    常见问题:
    是无法删除switchport qinq tpid external 0x8100,厂商解释:系统自带,默认是隐藏的,只要配置生效了,在就无法删除,不影响使用。

    5260说明手册:

    http://support.zte.com.cn

    用户名:switchzte

    密码:switchzte

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

    本站勉强运行

    6068+

    用户总数

    694+

    资源总数

    0+

    今日更新

    2024-9-29

    最后更新时间