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 18.104.22.168 connect-interface LoopBack0 was executed under the BGP view to specify a peer. Between the two commands existed the symbol #.
peer 22.214.171.124 as-number 100
peer 126.96.36.199 connect-interface LoopBack0
undo peer 188.8.131.52 enable