[Contents] [Prev] [Next] [Index] [Report an Error]


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:

  1. In configuration mode, go to the following hierarchy level:
  2. [edit]
    
    user@host# edit routing-options
    
    
    
  3. Configure all interfaces to a specific AS:
  4. [edit routing-options]
    
    user@host# set autonomous-system as-number
    
    
    
  5. Verify the configuration:
  6. user@host# show
    
    user@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

What It Means

The output shows that router R1 resides in AS 65432. All other routers in the example network shown in Figure 4 also reside in AS 65432.


[Contents] [Prev] [Next] [Index] [Report an Error]