华为OLT:配置GPON Type B单归属保护(通过命令行配置)

华为OLT:配置GPON Type B单归属保护(通过命令行配置)

图片.png

GPON Type B单归属保护:
OLT双链路运行LAG(Link Aggregation Group 链路聚合组)。
数据规划
表6-12 GPON Type B单归属保护数据规划

图片.png

操作步骤
OLT侧配置。
(1)(可选)关闭保护成员PON端口激光器。
本步骤适用于以下场景,需同时满足以下场景才可以使用本操作步骤。否则可跳过此步骤。
ONU上行端口为端口模式自适应,即ONU上行端口可以根据OLT侧端口类型自协商工作在GPON模式或者XG(S)-PON模式。
Type X保护的保护成员PON端口光纤已连接,即物理链接已接通。此时由于物理链接已连接,但Type X保护数据配置未完成,工作成员PON端口和保护成员PON端口会同时发光与ONU交互,导致ONU上行端口模式反复切换,出现ONU反复复位。

针对上述问题,可以通过本步骤进行规避:
在配置前使用shutdown命令关闭保护成员PON端口激光器。
在配置完成后使用undo shutdown命令打开保护成员PON端口激光器。

在本示例中,保护端口是0/2/0。
huawei(config)#interface gpon 0/2
huawei(config-if-gpon-0/2)#shutdown 0
huawei(config-if-gpon-0/2)#quit

(2)配置链路聚合。
将上行端口0/3/0和0/4/0配置为链路聚合组,聚合组中各成员端口按照源MAC地址分发报文,工作模式为LACP静态聚合。
huawei(config)#link-aggregation 0/3 0 0/4 0 ingress workmode lacp-static

(3)使用protect-group命令创建保护组。
huawei(config)#protect-group 0 protect-target gpon-uni-port workmode timedelay

(4)使用protect-group member命令添加保护组的工作成员。
huawei(protect-group-0)#protect-group member port 0/1/0 role work
huawei(protect-group-0)#protect-group member port 0/2/0 role protect

(5)使用protect-group enable命令使能xPON保护组。
创建保护组后,保护组缺省状态为去使能。
huawei(protect-group-0)#protect-group enable
huawei(protect-group-0)#quit

(6)(可选)打开保护成员PON端口激光器。
如果(可选)在备用OLT(OLT-B)上关闭保护成员...执行了关闭保护成员PON端口激光器,需要在完成配置后在备用OLT打开保护成员PON端口激光器。

(7)保存配置。
huawei(config)#save


OLT侧配置的配置脚本
interface gpon 0/2
shutdown 0
quit
link-aggregation 0/3 0 0/4 0 ingress workmode lacp-static
protect-group 0 protect-target gpon-uni-port workmode timedelay
protect-group member port 0/1/0 role work
protect-group member port 0/2/0 role protect
protect-group enable
interface gpon 0/2
undo shutdown 0
quit
save


交换机侧配置。
这里以华为S12700交换机为例,仅供参考。
创建Eth-Trunk并配置为LACP模式。
<HUAWEI> system-view
[HUAWEI] interface eth-trunk 1
[HUAWEI-Eth-Trunk1] mode lacp   //指定Eth-Trunk工作模式为LACP模式
[HUAWEI-Eth-Trunk1] port link-type trunk   //配置接口的链路类型为Trunk
[HUAWEI-Eth-Trunk1] port trunk allow-pass vlan XXX   //配置Trunk类型接口加入的VLAN,即允许一个或多个VLAN的报文通过Trunk接口。
[HUAWEI-Eth-Trunk1] quit

配置成员接口加入Eth-Trunk。
[HUAWEI] interface gigabitethernet 1/0/3
[HUAWEI-GigabitEthernet1/0/3] eth-trunk 1
[HUAWEI-GigabitEthernet1/0/3] quit
[HUAWEI] interface gigabitethernet 1/0/4
[HUAWEI-GigabitEthernet1/0/4] eth-trunk 1
[HUAWEI-GigabitEthernet1/0/4] return
<HUAWEI> save

1、本站资源长期持续更新。
2、本资源基本为原创,部分来源其他付费资源平台或互联网收集,如有侵权请联系及时处理。
3、本站大部分文章的截图来源实验测试环境,请不要在生产环境中随意模仿,以免带来灾难性后果。

转载请保留出处:  www.zh-cjh.com珠海陈坚浩博客 » 华为OLT:配置GPON Type B单归属保护(通过命令行配置)

作者: cjh


手机扫一扫,手机上查看此文章:

一切源于价值!

其他 模板文件不存在: ./template/plugins/comment/pc/index.htm

未雨绸缪、居安思危!

数据安全、有备无患!

注意操作、数据无价!

一切源于价值!