02 您所在的位置:网站首页 h3c查看端口信息 02

02

2023-10-21 08:08| 来源: 网络整理| 查看: 265

1 信息查询类FAQ 1.1  如何查询P3100设备当前的版本?

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

1.2  如何查询P3500设备当前的版本?

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 " 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 " 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 查看版本文件大小是否与上传版本一致。

 

1.3  如何查询端口计数?

在使用计数方式定位流量丢包的情况时,需要注意以下两点:

·     查询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口端口计数即可。

2 业务配置类FAQ 2.1  DBA带宽配置需要注意什么?

如果业务有带宽需求,需要配置保证带宽最大值(type2 assure 1150208),当设备配置了DBA 模板并应用之后,会导致上行业务流量不通,需要关闭OLT口的FEC功能,且使用此类型DBA模板后,若OLT接口已注册超过一台的ONU,则此模板无法绑定其中任何一台ONU,因为绑定此DBA模板需要占用此OLT接口的全部带宽,只有在此OLT接口仅有1台ONU设备时能够绑定该类型DBA模板。

2.2  P3500设备上联口如何加入VLAN?

# 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

2.3  P3100设备上联口如何加入VLAN?

# 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

2.4  如何配置port-vlan?

跟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.5  是否支持端口镜像?

支持且只支持配一个镜像组,可以有多个镜像端口,但是镜像目的端口只能有一个,同时镜像源端口不能是镜像目的端口。

2.6  P3100设备如何配置端口镜像?

(1)     应用描述

P3108作为二层交换机运行,其上行端口GE2/3出现异常。GE2/4将被配置为镜像目的端口,监控GE2/3端口。GE2/3上的双向数据受到监控。

(2)     实例拓扑

图2-1 端口镜像拓扑

 

(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

(4)     删除端口镜像配置

# 关闭监控会话1

telnet@P3108(config-t)# monitor session 1 deactivate

# 删除监控会话1

telnet@P3108(config-t)# no monitor session

2.7  P3500设备如何配置端口镜像?

(1)     应用描述

P3500作为二层交换机运行,其上行端口XGE3出现异常。XGE4将被配置为镜像目的端口,监控XGE3端口。XGE3上的双向数据受到监控。

(2)     实例拓扑

图2-2 端口镜像拓扑

 

(3)     配置端口镜像

# 配置镜像源端口。

P3500(CONFIG)# mirror

# 镜像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

 



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有