单位的中兴交换机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
互联端口设置:
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
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 trunk [native] vlan
5260说明手册:
http://support.zte.com.cn
用户名:switchzte
密码:switchzte
完美源码 » 中兴交换机5260-28PD-C