Академический Документы
Профессиональный Документы
Культура Документы
This chapter introduces the configuration guide of GPON Type B network protection.
Prerequisites
l The Layer 3 switch support cluster and layer 2 isolation.
l The ONU is added to the OLT.
l An ONU has been added to the active and standby OLTs by running the ont add
command. All ONU profiles, such as DBA profile and line profiles, are the same on the
active and standby OLTs.
Usage Scenario
GPON Type B Dual-Homing ( OLT Single-Homing ):
R o u te r_ A R o u te r_ B
C lu ste r
L 3 S w itch _ A L 3 S w itch _ B
O LT_A O LT_B
O p tic S p litte r
ONU
NOTE
Data Planning
Protection group 1 1
ID
NOTE
Data planning for example data, the actual service configuration, please use the specific network data
planning.
Procedure
Step 1 Configure primary OLT huawei_A.
1. Run the dual-parenting local-node command to configure the local IP address, TCP
port number, and key.
huawei_A(config)#dual-parenting local-node ip-address 192.168.68.5 port 6076
key 42340000
2. Run the dual-parenting peer-node command to configure the peer IP address, TCP port
number, and key.
huawei_A(config)#dual-parenting peer-node standby ip-address 192.168.78.8
port 6076 key 42340000
5. Run the protect-group member command to add a member to the protection group, the
type of the member is work.
NOTE
After a member is added to a dual-homing protection group, the group is automatically enabled.
6. Run the peer-group-member command to configure the peer member of the protection
group.
huawei_A(protect-group-1)#peer-group-member peer-node standby peer-port 0/1/0
7. Run the uplink-monitor port command to associate the protection groups with the
uplink port status.
huawei_A(protect-group-1)#uplink-monitor port 0/3/0
huawei_A(protect-group-1)#quit
8. Run the onu-switch notify command to globally configure the function of sending
gratuitous ARP packets for users after an ONU switchover.
This function is disabled by default.
huawei_A(config)#onu-switch notify ipv4 enable
huawei_B(protect-group-1)#quit
huawei_B(config)#onu-switch notify ipv4 enable
huawei_B(config)#save
<SwitchA> system-view
[SwitchA] interface eth-trunk 1
[SwitchA-Eth-Trunk1] mode lacp //Configure Eth-Trunk 1 to work in LACP mode.
[SwitchA-Eth-Trunk1] port link-type trunk //Set the link type of Eth-Trunk1
to trunk.
[SwitchA-Eth-Trunk1] port trunk allow-pass vlan 2 to 4094 //Add Eth-Trunk1
to VLANs 2 to 4094.
[SwitchA-Eth-Trunk1] port-isolate enable group 1 //Enable Layer 2 isolation.
----End
Result
Verify the configuration.
l Run the display dual-parenting global-config command to query the information about
the global dual-homing configuration.
huawei_A(config)#display dual-parenting global-config
------------------------------------------------------------------------
Synchronization switch :
enable
Local node IP address :
192.168.68.5
Local node TCP port : 6076
------------------------------------------------------------------------
l Run the display dual-parenting peer-node command to query the information about the
peer node in dual-homing.
huawei_A(config)#display dual-parenting peer-node
------------------------------------------------------------------------
Node name IP address TCP port State
------------------------------------------------------------------------
l Run the display protect-group command to query the information about a protection
group and all the members in it.
huawei_A(protect-group-1)#display protect-group 1
-----------------------------------------------------------------------
Group ID : 1
Protect Target : Port of GPON uni
Configuration Script
Primary OLT (huawei_A)
dual-parenting local-node ip-address 192.168.68.5 port 6076 key 42340000
dual-parenting peer-node standby ip-address 192.168.78.8 port 6076 key 42340000
dual-parenting sync enable
protect-group 1 protect-target gpon-uni-port workmode dual-parenting
protect-group member port 0/1/0 role work
peer-group-member peer-node standby peer-port 0/1/0
uplink-monitor port 0/3/0
quit
onu-switch notify ipv4 enable
save
Prerequisites
l The Layer 3 switch support cluster and layer 2 isolation.
l The ONU is added to the OLT.
l An ONU has been added to the active and standby OLTs by running the ont add
command. All ONU profiles, such as DBA profile and line profiles, are the same on the
active and standby OLTs.
Usage Scenario
GPON Type B Dual-Homing ( OLT Dual-Homing ):
R o u te r_ A R o u te r_ B
C lu ste r
L 3 S w itch _ A L 3 S w itch _ B
LAG LAG
O LT_A O LT_B
O p tic S p litte r
ONU
NOTE
Data Planning
Protection group 1 1
ID
NOTE
Data planning for example data, the actual service configuration, please use the specific network data
planning.
Procedure
Step 1 Configure primary OLT huawei_A.
1. Configure link aggregation.
To add upstream ports 0/3/0 and 0/4/0 into a lacp static aggregation group in ingress
mode.
huawei_A(config)#link-aggregation 0/3/0 0/4/0 ingress workmode lacp-static
2. Run the dual-parenting local-node command to configure the local IP address, TCP
port number, and key.
huawei_A(config)#dual-parenting local-node ip-address 192.168.68.5 port 6076
key 42340000
3. Run the dual-parenting peer-node command to configure the peer IP address, TCP port
number, and key.
huawei_A(config)#dual-parenting peer-node standby ip-address 192.168.78.8
port 6076 key 42340000
6. Run the protect-group member command to add a member to the protection group, the
type of the member is work.
NOTE
After a member is added to a dual-homing protection group, the group is automatically enabled.
7. Run the peer-group-member command to configure the peer member of the protection
group.
huawei_A(protect-group-1)#peer-group-member peer-node standby peer-port 0/1/0
8. Run the uplink-monitor port command to associate the protection groups with the
uplink port status.
NOTE
If an Ethernet link aggregation group has been configured, make sure that the Ethernet port associated
with the dual-homing protection groups is the master port in the aggregation group.
huawei_A(protect-group-1)#uplink-monitor port 0/3/0
huawei_A(protect-group-1)#quit
9. Run the onu-switch notify command to globally configure the function of sending
gratuitous ARP packets for users after an ONU switchover.
This function is disabled by default.
huawei_A(config)#onu-switch notify ipv4 enable
<SwitchA> system-view
[SwitchA] interface eth-trunk 1
[SwitchA-Eth-Trunk1] mode lacp //Configure Eth-Trunk 1 to work in LACP mode.
[SwitchA-Eth-Trunk1] port link-type trunk //Set the link type of Eth-Trunk1
to trunk.
[SwitchA-Eth-Trunk1] port trunk allow-pass vlan 2 to 4094 //Add Eth-Trunk1
to VLANs 2 to 4094.
[SwitchA-Eth-Trunk1] port-isolate enable group 1 //Enable Layer 2 isolation.
----End
Result
Verify the configuration.
l Run the display dual-parenting global-config command to query the information about
the global dual-homing configuration.
huawei_A(config)#display dual-parenting global-config
------------------------------------------------------------------------
Synchronization switch :
enable
Local node IP address :
192.168.68.5
Local node TCP port : 6076
------------------------------------------------------------------------
l Run the display dual-parenting peer-node command to query the information about the
peer node in dual-homing.
huawei_A(config)#display dual-parenting peer-node
------------------------------------------------------------------------
Node name IP address TCP port State
------------------------------------------------------------------------
Configuration Script
Primary OLT (huawei_A)
link-aggregation 0/3/0 0/4/0 ingress workmode lacp-static
dual-parenting local-node ip-address 192.168.68.5 port 6076 key 42340000
dual-parenting peer-node standby ip-address 192.168.78.8 port 6076 key 42340000
dual-parenting sync enable
protect-group 1 protect-target gpon-uni-port workmode dual-parenting
protect-group member port 0/1/0 role work
peer-group-member peer-node standby peer-port 0/1/0
uplink-monitor port 0/3/0
quit
onu-switch notify ipv4 enable
save
Usage Scenario
GPON Type B single-homing protection (OLT Dual-Homing):
R o u te r_ A R o u te r_ B
VRRP
L 3 S w itch _ A L 3 S w itch _ B
E -T ru n k
LAG
O LT
O p tic S p litte r
ONU
NOTE
Data Planning
Protection group ID 0
NOTE
Data planning for example data, the actual service configuration, please use the specific network data
planning.
Procedure
Step 1 Configure OLT.
1. Configure link aggregation group.
To add ports 0/3/0 and 0/4/0 into a lacp static aggregation group in ingress mode.
huawei(config)#link-aggregation 0/3/0 0/4/0 ingress workmode lacp-static
3. Run the protect-group member command to add a member to the protection group.
<SwitchA> system-view
[SwitchA] interface eth-trunk 1
[SwitchA-Eth-Trunk1] mode lacp //Configure Eth-Trunk 1 to work in LACP mode.
[SwitchA-Eth-Trunk1] port link-type trunk //Set the link type of Eth-Trunk1
to trunk.
[SwitchA-Eth-Trunk1] port trunk allow-pass vlan 2 to 4094 //Add Eth-Trunk1
to VLANs 2 to 4094.
----End
Configuration Script
Configure OLT
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
save
Usage Scenario
GPON Type B single-homing protection (OLT single-homing):
R o u te r
L 3 S w itch
LAG
O LT
O p tic S p litte r
ONU
NOTE
GPON Type B single-homing protection (OLT single-homing), OLT upstream link run LAG (Link
Aggregation Group ).
Data Planning
Item OLT
Protection group ID 0
NOTE
Data planning for example data, the actual service configuration, please use the specific network data
planning.
Procedure
Step 1 Configure OLT.
1. Configure link aggregation group.
To add ports 0/3/0 and 0/4/0 into a LACP static aggregation group in ingress mode.
huawei(config)#link-aggregation 0/3/0 0/4/0 ingress workmode lacp-static
3. Run the protect-group member command to add a member to the protection group.
<SwitchA> system-view
[SwitchA] interface eth-trunk 1
[SwitchA-Eth-Trunk1] mode lacp //Configure Eth-Trunk 1 to work in LACP mode.
[SwitchA-Eth-Trunk1] port link-type trunk //Set the link type of Eth-Trunk1
to trunk.
[SwitchA-Eth-Trunk1] port trunk allow-pass vlan 2 to 4094 //Add Eth-Trunk1
to VLANs 2 to 4094.
----End
Configuration Script
Configure OLT
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
quit
save