How to configure the router_id of BGP? How to choose it automatically?

Created Mar 27, 2016 20:10:26Latest reply Mar 28, 2016 00:45:33 746 1 0 0
How to configure the router_id of BGP? How to choose it automatically?
  • x
  • convention:

gennady_fedonov     Created Mar 28, 2016 00:45:33 Helpful(0) Helpful(0)

The global router_id should be configured in system_view by the command:
For example:
<HUAWEI>system
[HUAWEI] router id 1.1.1.1
If the ID is not configured, the system chooses an ID for the router from the IP addresses of the current interfaces. Selection In the following order:
The largest IP address of current loopback interfaces;
The largest IP address of current physical interfaces;
The router_id will be re-selected, just when router_id is removed or the interface which the IP address of the router_id is configured in is deleted.
In order to increase the reliability of the network, it is recommended that the Router ID manually should be configured with the IP address of the loopback interface.
You can also configure BGP router_id by following command, or else BGP will use the global router_id.
For example:
<HUAWEI>system
[HUAWEI] bgp 100
[HUAWEI-bgp-100] router-id 1.1.1.1
Modification of the BGP router-id will cause the entire BGP neighbors rebuilding.
  • x
  • convention:

Responses

Reply
You need to log in to reply to the post Login | Register

Notice:To ensure the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but not limited to politically sensitive content, content concerning pornography, gambling, drug abuse and trafficking, content that may disclose or infringe upon others' intellectual properties, including commercial secrets, trade marks, copyrights, and patents, and personal privacy. Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see“ Privacy Policy.”
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top