Specify the Local Router's AS Number
Each router running BGP must be configured with its AS number. This number is included in the local AS number field in BGP open messages, which are sent between BGP peers to establish a connection.
To specify an AS number, include the
autonomous-systemstatement at the[edit routing-options]hierarchy level (for routing instances, include the statement at the[edit routing-instancesrouting-instance-namerouting-options]hierarchy level):autonomous-systemautonomous-system<loopsnumber>;For more information about configuring the AS number, see Configure the AS Number.