Navigation
Table of Contents
Guide That Contains This Content
[+] Expand All
[-] Collapse All
Define the Local Autonomous System
Purpose
Before BGP can function, you need to define a local AS number on the routers in your network. In the example network in BGP Network Topology, all routers are in AS 65432.
Action
To define an AS number on routers in your network, follow these steps:
- In configuration mode, go to the following hierarchy level:[edit]user@host# edit routing-options
- Configure all interfaces to a specific AS:[edit routing-options]user@host# set autonomous-system as-number
- Verify the configuration:user@host# showuser@host# commit
Sample Output
user@R1> edit Entering configuration mode [edit] user@R1# edit routing-options [edit routing-options] user@R1# set autonomous-system 65432 [edit routing-options] user@R1# show [...Output truncated...] autonomous-system 65432; [edit routing-options] user@R6# commit commit complete
Meaning
The output shows that router R1 resides in AS 65432. All other routers in the example network shown in BGP Network Topology also reside in AS 65432.

