Answer
When configuring inter-board protection, the system automatically detects the control board on which the optical port is used. Then, the system uses the control board whose optical port is connected with the optical fiber for upstream transmission. In a remote upgrade in such a scenario, the control boards need to be reset and therefore inter-board protection can be configured to facilitate the upgrade. The configurations are as follows:
huawei(config)#protect-group
{ pgid<U><0,63>|protect-target<K> }:protect-target
{ as-mainboard-lag<K>|as-mainboard-port<K>|as-mainboard<K>|epon-uni-port<K>|eth-
nni-lag-member<K>|eth-nni-port<K>|gpon-uni-port<K> }:as-mainboard
{ workmode<K> }:workmode
{ portstate<K> }:portstate
Command:
protect-group protect-target as-mainboard workmode portstate
huawei(protect-group-0)#protect-group member board 0/9
{ role<K> }:role
{ member-role<E><work,protect> }:work
Command:
protect-group member board 0/9 role work
huawei(protect-group-0)#protect-group member board 0/10 role protect
huawei(protect-group-0)#protect-group enable
huawei(protect-group-0)#quit
huawei(config)#display protect-group
{ <cr>|pgid<U><0,63> }:
Command:
display protect-group
-----------------------------------------------------------------------
Group ID : 0
Admin State : enable
-----------------------------------------------------------------------
Member Role Operation State PeerMember
-----------------------------------------------------------------------
0/9 work none active none
0/10 protect none standby none
-----------------------------------------------------------------------
Total : 1
huawei(config)#display protect-group 0
-----------------------------------------------------------------------
Group ID : 0
Protect Target : Active main board and standby main board
Work Mode : portstate
Description :
Admin State : enable
Operation : none
Reversion : disable
Reversion Time(s) : 720
-----------------------------------------------------------------------
Member Role Operation State PeerMember
-----------------------------------------------------------------------
0/9 work none active none
0/10 protect none standby none
-----------------------------------------------------------------------
https://support.huawei.com/enterprise/kz/doc/EDOC1100047614/a8705802/how-to-configure-inter-board-protection-when-two-scun-control-boards-working-in-active-standby-mode-but-only-one-optical-cable-is-configured-for-upstream-transmission