02-H3C GPON OLT交换机用户FAQ
本章节下载: 02-H3C GPON OLT交换机用户FAQ (397.63 KB)
H3C GPON OLT交换机用户FAQ
资料版本:6W101-20231122
Copyright © 2023 新华三技术有限公司 版权所有,保留一切权利。 非经本公司书面许可,任何单位和个人不得擅自摘抄、复制本文档内容的部分或全部,并不得以任何形式传播。 除新华三技术有限公司的商标外,本手册中出现的其它公司的商标、产品标识及商品名称,由各自权利人拥有。 本文档中的信息可能变动,恕不另行通知。 |
telnet@P3116# show version
H3C Software, Version R1002,Release 1002
Copyright (c) 2004-2022 New H3C Technologies Co., Ltd. All rights reserved.
H3C P3116 uptime is 0 week, 0 days, 01 hours, 19 minutes
Slot1:
Uptime is 0 week, 0 days, 01 hours, 19 minutes
H3C P3116 with 1 Processor
BOARD TYPE : P3116
DRAM : 1024Mbytes
FLASH : 64Mbytes
PCB 1 Version : VER.A1
Bootrom Version : 3.8.2.5
CPLD Version : 7.0
Power CPLD Version : --
PowChip Version : --
Release Version : H3C P3116-R1002
Patch Version : none
P3500#show version
H3C P3500 Software, Version R1002, Release 1002
Copyright (c) 2004-2022 New H3C Technologies Co., Ltd. All rights reserved.
H3C P3500 uptime is 0 days 19:54:53
MXCA(A) 1-A:
Uptime is 0 days 19:54:53
H3C MXCA with 1 P1021 Processor
BOARD TYPE: MXCA
DRAM: 1024M bytes
FLASH: 64M bytes
PCB 1 Version: VER.B5
Bootrom Version: 3.1.1.1
CPLD Version: 1.6
Release Version: H3C MXCA-R1002
Patch Version: None
GPFA 1-5:
Uptime is 0 days 19:52:33
H3C GPFA with 1 P1021 Processor
BOARD TYPE: GPFA
DRAM: 1024M bytes
FLASH: 64M bytes
PCB 1 Version: VER.A1
Bootrom Version: 3.8.2.3
CPLD Version: 3.1
Release Version: H3C GPFA-R1002
Patch Version: None
升级失败后如何处理?P3500升级完版本后查看GPON板和控制交换板版本信息不一致,证明有一方升级失败,一般是控制交换板没有升级成功,此时需要重新升级主控:
P3500#show slot
Sh-S Module Ava O Hardware Ver SW Ver Serial Number UP Time
1-1 GPFA MAT U XGN0206030328:A2 R1002 219801A3HEGP00000051 0 days 10:31:13
1-A MXCA(A) MAT U GN0206030340:B5 E1002 219801A3HJGP00000062 0 days 10:33:54
1-B MXCA(S) MAT U 9801A3HJ:A0 E1002 219801A3HJGP00000061 0 days 10:33:56
1-P1 P3500-PWRA MAT U N/A:N/A N/A 219802A91GGP00000031 N/A
1-P2 P3500-PWRA MAT D N/A:N/A N/A 219802A91GGP00000032 N/A
1 P3500-FAN MAT U N/A:N/A N/A 219832A004GP00000041 N/A
1 OPA-P3500 MAT U N/A:N/A N/A 219801A3HHGP00000011 N/A
升级失败的原因一般出现在下面这一步:
P3500#commit-image both
Failed, target card out of disk space...
Failed to Commit Active Image.
please check Active CSM flash space, if no enough space left on the device,please use command "no file <filename>" delete file to cleaning flash space.
the filename can be /tftpboot/csm1g_bsp.prg
Commit Standby Operation done.
Please use command "show image-commit-status" to check commit status!
下发同步主备GPON板版本的命令时,会报错表示主控flash空间不足,需要删除不需要的文件,保证内存大小足够加载主控版本。
# 上面的报错信息提示的是Active CSM,即主用主控空间不足,报错下面信息:
P3500#commit-image both
Commit Active Operation done.
Failed, target card out of disk space...
Failed to Commit Standby Image.
please check Standby CSM flash space, if no enough space left on the device,please use command "no file <filename>" delete file to cleaning flash space.
the filename can be /stdby/tftpboot/csm1g_bsp.prg
Please use command "show image-commit-status" to check commit status!
Failed to Commit Image!
^
% Bad command
P3500#
# 删除命令:
主用主控:
P3500#no file /stdby/tftpboot/test.app
Are you sure you want to delete this file (y/n)?
y
delete /tftpboot/ test.app
备用主控:
P3500#no file /stdby/tftpboot/test.app
Are you sure you want to delete this file (y/n)?
y
delete /stdby/tftpboot/test.app
重新升级前请保证版本完整,可以通过show file 查看版本文件大小是否与上传版本一致。
P3600#show version
H3C P3600 Software, Version E1002, Release 1002, Build on Apr 4 2023 18:08:43
Copyright (c) 2004-2023 New H3C Technologies Co., Ltd. All rights reserved.
H3C P3600 uptime is 0 days 14:25:51
MXCB(A) 1-A:
Uptime is 0 days 14:25:51
H3C MXCB with 1 Processor
BOARD TYPE: MXCB
DRAM: 4G bytes
FLASH: 8G bytes
PCB 1 Version: VER.A0
Bootrom Version: U-Boot 2019.04
CPLD Version: 0.2
Kernel Version: Linux version 4.14.0-x
Release Version: H3C MXCB-E1002
Patch Version: None
MXCB(S) 1-B:
Uptime is 0 days 00:00:00
H3C MXCB with 1 Processor
BOARD TYPE: MXCB
DRAM: 4G bytes
FLASH: 8G bytes
PCB 1 Version: VER.N/A
Bootrom Version: N/A
CPLD Version: N/A
Kernel Version:
Release Version: H3C MXCB-N/A
Patch Version: None
XGFCA 1-2:
Uptime is 0 days 14:22:06
H3C XGFCA with 1 Processor
BOARD TYPE: XGFCA
DRAM: 4G bytes
FLASH: 64M bytes
PCB 1 Version: VER.A0
Bootrom Version: 2000.1.1
CPLD Version: 10
Release Version: H3C XGFCA-E1002
Patch Version: None
升级失败后如何处理?P3600升级完版本后查看PON板和控制交换板版本信息不一致,证明有一方升级失败,一般是控制交换板没有升级成功,此时需要重新升级主控:
P3600#show slot
Sh-S Module Ava O Hardware Ver SW Ver Serial Number UP Time
1-1 XGFCA MAT U XGN0206030328:A2 E1002 219801A3HEGP00000051 0 days 10:31:13
1-A MXCA(A) MAT U GN0206030340:B5 E1002 219801A3HJGP00000062 0 days 10:33:54
1-B MXCA(S) MAT U 9801A3HJ:A0 A1001 219801A3HJGP00000061 0 days 10:33:56
1-P1 P3600-PWRA MAT U N/A:N/A N/A 219802A91GGP00000031 N/A
1-P2 P3600-PWRA MAT D N/A:N/A N/A 219802A91GGP00000032 N/A
1 P3600-FAN MAT U N/A:N/A N/A 219832A004GP00000041 N/A
1 OPA-P3600 MAT U N/A:N/A N/A 219801A3HHGP00000011 N/A
升级失败的原因一般出现在下面这一步:
P3600#commit-image both version E1002
Failed, target card out of disk space...
Failed to Commit Active Image.
please check Active CSM flash space, if no enough space left on the device,please use command "no file <filename>" delete file to cleaning flash space.
the filename can be /tftpboot/csm1g_bsp.prg
Commit Standby Operation done.
Please use command "show image-commit-status" to check commit status!
下发同步主备板版本的命令时,会报错表示主控flash空间不足,需要删除不需要的文件,保证内存大小足够加载主控版本。
# 上面的报错信息提示的是Active CSM,即主用主控空间不足,报错下面信息。提示的是Standby CSM:
P3600#commit-image both version E1002
Commit Active Operation done.
Failed, target card out of disk space...
Failed to Commit Standby Image.
please check Standby CSM flash space, if no enough space left on the device,please use command "no file <filename>" delete file to cleaning flash space.
the filename can be /stdby/tftpboot/csm1g_bsp.prg
Please use command "show image-commit-status" to check commit status!
Failed to Commit Image!
^
% Bad command
P3600#
# 删除命令:
主用主控:
P3600#no file /tftpboot/test.app
Are you sure you want to delete this file (y/n)?
y
delete /tftpboot/ test.app
备用主控:
P3600#no file /stdby/tftpboot/test.app
Are you sure you want to delete this file (y/n)?
y
delete /stdby/tftpboot/test.app
重新升级前请保证版本完整,可以通过show file 查看版本文件大小是否与上传版本一致。
# 进入bridge视图。
P3600# configure
P3600(CONFIG)# l2
P3600(CONFIG/L2)# bridge
# 查询上联口xge 1计数。
P3600(CONFIG/L2/BRIDGE)# show statistics interface xge 1
#查询聚合口trunk 1计数。
P3600(CONFIG/L2/BRIDGE)# show statistics interface trunk 1
#查询IS 1/1口计数。
P3600(CONFIG/L2/BRIDGE)# show statistics interface is 1/1
# 进入slot 视图。
P3600# slot 1
#查询ont 1接口计数,此ONU注册在slot1 的olt1 口的ont 1口
P3600(Slot-1)#brief-show slot 1 interface gpon-olt 1/1 counters ont 1
#查询ont 1接口下的vport 1的计数
P3600(Slot-1)#brief-show slot 1 interface gpon-olt 1/1 counters gemport 1/1
在使用计数方式定位流量丢包的情况时,需要注意以下两点:
· 查询OLT设备端口计数的命令为show interface gpon-olt 1/x counters nni。
· 在P3500设备查询端口计数,需要查询OLT口计数统计时,因为P3500端口实现4个OLT口为1个IS口,所以在使用show interface gpon-olt 1/x counters nni 查询时,4个OLT口的计数都统计在第一个OLT口,举例需要查询OLT 15口的计数,数据实际统计在了OLT 13,即查询计数只需要查询show interface gpon-olt 1/13 counters nni。
· 在P3100系列设备查询端口计数,直接使用show interface gpon-olt 1/x counters nni查询对应OLT口端口计数即可。
如果业务有带宽需求,需要配置保证带宽最大值(type2 assure 1150208),当设备配置了DBA 模板并应用之后,会导致上行业务流量不通,需要关闭OLT口的FEC功能,且使用此类型DBA模板后,若OLT接口已注册超过一台的ONU,则此模板无法绑定其中任何一台ONU,因为绑定此DBA模板需要占用此OLT接口的全部带宽,只有在此OLT接口仅有1台ONU设备时能够绑定该类型DBA模板。
# XGE3口加入vlan31,配置为tag模式
P3500#configure l2 vlan interface xge 3 vid 31 tag
# XGE3口加入vlan31,配置为tag模式
P3500#configure l2 vlan interface xge 3 vid 32 tag
# GE2/3口加入vlan31,配置为tag模式
telnet@P3116(config-t-vlan-31)# member ge2/3 tagged
# GE2/3口加入vlan32,配置为tag模式
telnet@P3116(config-t-vlan-32)# member ge2/3 tagged
# XGE3口加入vlan31,配置为tag模式
P3600#configure l2 vlan interface xge 3 vid 31 tag
# XGE3口加入vlan32,配置为tag模式
P3600#configure l2 vlan interface xge 3 vid 32 tag
(1) 跟ont-vlan类似,port-vlan 也需要在ont接口视图下配置,下面基于P3500举例常见的两种vlan模式配置,P3100的配置相同,不做重复举例。
· vlan tag模式:
# 给onu的uni1口的上行untag报文添加vlan 31的 tag,下行tag报文同理被剥除tag。下行流量动作与上行相反。
port-vlan 1 downstream inverse-upstream intpid 0x8100 outtpid 0x8100
# 上行untag报文添加vlan tag 31。
port-vlan 1 rule 1 untag add-vid inner-pri 0 inner-vid 31 inner-tpid mode4 ether-type 0
· vlan trunk模式:
# 给onu的uni2口的上行untag报文添加vlan 32的 tag,上下行带tag的报文直接透传。
port-vlan 2 downstream inverse-upstream intpid 0x8100 outtpid 0x8100
# 透传带单层tag的vlan,且需要透传的vlan已在flow模板中配置。
port-vlan 2 rule 1 single-tag transparent
# 上行untag报文添加vlan tag 32。
port-vlan 2 rule 2 untag add-vid inner-pri 0 inner-vid 32 inner-tpid mode4 ether-type 0
(2) 基于P3600举例常见的两种vlan模式配置
· vlan tag模式:
# 给onu的uni1口的上行untag报文添加vlan 31的 tag,下行tag报文同理被剥除tag。下行流量动作与上行相反。
P3600(Slot-1/if-gpon-olt-1/1/1)#port-vlan 1 downstream inverse-upstream intpid 0x8100 outtpid 0x8100
# 上行untag报文添加vlan tag 31。
P3600(Slot-1/if-gpon-olt-1/1/1)#port-vlan 1 rule 1 untag add-vid inner-pri 0 inner-vid 31 inner-tpid mode4 ether-type 0
· vlan trunk模式:
# 给onu的uni2口的上行untag报文添加vlan 32的 tag,上下行带tag的报文直接透传。
P3600(Slot-1/if-gpon-olt-1/1/1)#port-vlan 2 downstream inverse-upstream intpid 0x8100 outtpid 0x8100
# 透传带单层tag的vlan,且需要透传的vlan已在flow模板中配置。
P3600(Slot-1/if-gpon-olt-1/1/1)#port-vlan 2 rule 1 single-tag transparent
# 上行untag报文添加vlan tag 32。
P3600(Slot-1/if-gpon-olt-1/1/1)#port-vlan 2 rule 2 untag add-vid inner-pri 0 inner-vid 32 inner-tpid mode4 ether-type 0
支持且只支持配一个镜像组,可以有多个镜像端口,但是镜像目的端口只能有一个,同时镜像源端口不能是镜像目的端口。
(1) 应用描述
P3108作为二层交换机运行,其上行端口GE2/3出现异常。GE2/4将被配置为镜像目的端口,监控GE2/3端口。GE2/3上的双向数据受到监控。
(2) 实例拓扑
(3) 配置端口镜像
# 配置镜像源端口。
# 镜像以太口GE2/3的发送报文。
telnet@P3108(config-t)# monitor session 1 source interface gigabitEthernet 2/3 tx
# 镜像OLT口1/1的接收报文。
telnet@P3108(config-t)# monitor session 1 source interface gigabitEthernet 1/1 rx
telnet@P3108(config-t)# show monitor session
# 配置镜像目的端口。
telnet@P3108(config-t)# monitor session 1 destination interface gigabitEthernet 2/4
telnet@P3108(config-t)# show monitor session
# 激活端口镜像1。
telnet@P3108(config-t)# monitor session 1 activate
telnet@P3108(config-t)# show monitor session
# 关闭监控会话1
telnet@P3108(config-t)# monitor session 1 deactivate
# 删除监控会话1
telnet@P3108(config-t)# no monitor session
(1) 应用描述
P3500作为二层交换机运行,其上行端口XGE3出现异常。XGE4将被配置为镜像目的端口,监控XGE3端口。XGE3上的双向数据受到监控。
(3) 配置端口镜像
# 配置镜像源端口。
# 镜像IS1/1口的接收报文。
P3500(CONFIG/MIRROR)# receive is 1/1
# 镜像XGE3口的发送报文。
P3500(CONFIG/MIRROR)# transmit xge 3
# 配置镜像目的端口。
P3500(CONFIG/MIRROR)# mirror-port xge 4
(4) 删除端口镜像配置
P3500(CONFIG/MIRROR)# mirror-port none
(1) 应用描述
P3600作为二层交换机运行,其上行端口XGE3出现异常。XGE4将被配置为镜像目的端口,监控XGE3端口。XGE3上的双向数据受到监控。
(2) 实例拓扑
图2-3 端口镜像拓扑
(3) 配置端口镜像
# 配置镜像源端口。
P3600(CONFIG)# mirror
# 镜像IS1/1口的接收报文。
P3600(CONFIG/MIRROR)# receive-interface is 1/1
# 镜像XGE3口的发送报文。
P3600(CONFIG/MIRROR)# transmit-interface xge 3
# 配置镜像目的端口。
P3600(CONFIG/MIRROR)# mirror-interface xge 4
(4) 删除端口镜像配置
P3600(CONFIG/MIRROR)# mirror-interface none
不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!