Router StatementΒΆ

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 65002.

tnsr(config-bgp)# router-id 10.2.0.1

BGP mode offers a new subset of commands, including setting the router-id as shown here. In this example the internal IP address of TNSR, 10.2.0.1, is 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.