Each router running BGP must have a BGP identifier. This identifier is included in the BGP identifier field of open messages, which are sent between two BGP peers when establishing a BGP session.
Explicitly assigning a BGP identifier is optional. If you do not assign one, the IP address of the first interface encountered in the router is used.
To assign a BGP identifier explicitly, include the router-id statement:
-
router-id address;
For a list of hierarchy levels at which you can include this statement, see the statement summary section for this statement.
Assigning a BGP identifier is optional.
For more information, see Configuring the Router Identifier.