Starting a BGP process is a prerequisite for configuring basic BGP functions. When starting a BGP process on a device, specify the number of the AS to which the device belongs.
bgp { as-number-plain | as-number-dot }
router-id ipv4-address
Configuring or changing the router ID of BGP results in the reset of the BGP peer relationship between routers.
To enhance the network reliability, you are recommended to manually configure the address of the loopback interface as the router ID. If the router ID is not set, BGP selects the router ID in the system view as the router ID.