Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
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:

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

    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.

    Published: 2013-07-25