A modified configuration file was uploaded to an NE40E. After the NE40E was restarted with configurations, all BGP address family configurations were lost.The problem was not related to the software version.
Huawei performed the following operations to address the problem:
1. Identified the first configuration that failed to be restored by checking logs. The logs showed that ipv4-family unicast failed to be configured under the system view. Therefore, it was concluded that BGP configurations from ipv4-family unicast were configured under the system view and failed to be executed.
2. Analyzed why these configurations failed to be executed under the system view. The ipv4-family unicast command means to enter the BGP IPv4 unicast family address view, and the previous command peer 188.8.131.52 connect-interface LoopBack0 was executed under the BGP view to specify a peer. Between the two commands existed the symbol #.
peer 184.108.40.206 as-number 100
peer 220.127.116.11 connect-interface LoopBack0
undo peer 18.104.22.168 enable