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

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