1. 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 Figure 4, 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-systemas-number- Verify the configuration:
user@host#showuser@host#commitSample Output
user@R1>editEntering 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#commitcommit completeWhat It Means
The output shows that router
R1resides inAS 65432. All other routers in the example network shown in Figure 4 also reside inAS 65432.