tnsr(config)# route dynamic bgp tnsr(config-frr-bgp)# server 65002
This statement enters BGP Server mode and sets the autonomous system number for
this router to
tnsr(config-bgp)# router-id 10.2.0.1
BGP mode offers a new subset of commands, including setting the
shown here. In this example the internal IP address of TNSR,
set as the router ID.
BGP mode also can define the neighbors and configure the behavior of BGP for different address families, among other possibilities.