Skip to main content
Contributor
November 26, 2021

Technical Tip: How to hide Local-AS value in BGP

  • November 26, 2021
  • 0 replies
  • 308 views
Description This article describes the way to hide 'Local-AS' in BGP.
Scope FortiGate.
Solution

The neighbor local-as command is a useful command when doing AS  migration or merging (acquisition of a network that belongs to a different AS) transition period still uses the old AS, defined as the local AS.

 

Refer to the example below:

The Router, which was a member of AS 200, has been migrated to the new AS 100. In this case, the local-as command will be used.

 

ranand_0-1637920276029.png

 

config router bgp  

    set as 100

    set router-id 192.168.1.1  

        config neighbor

            edit “192.168.1.2"

                set remote-as 300

                set local-as 200

                set local-as-replace-as enable

                set send-community6 disable

            next

end