The system view is displayed.
BGP is started, the local AS number is specified, and the BGP view is displayed.
After BGP peers are configured, changing the router ID of a BGP peer resets BGP peer relationships.
A router ID is set.
By default, BGP automatically selects the global router ID. If the IP address of a physical interface is used as the router ID, route flapping occurs when the IP address of the physical interface changes. To enhance network stability, configuring the address of a loopback interface as the router ID is recommended. For router ID selection rules in the system view, see descriptions in Command Reference about the router-id command.