Basic BGP configuration
A BGP session between routers is configured as follows:
Create the BGP routing instance and specify the local AS number with the global command
router bgp as-number
.Specify a neighbor and the neighbor AS number with the
neighbor ip-address remote-as as-number
command.Activate the neighbor under the address-family to exchange address-family specific information (capability advertisement, NLRIs etc.).