Troubleshooting guide
Basic BGP Configuration Using the CLI
61200860L1-29.4E Copyright © 2012 ADTRAN, Inc. 11
The following example configures a remote AS number of 200 for neighbor 172.16.1.2:
(config)#router bgp 1
(config-bgp)#router bgp-neighbor 172.16.1.2
(config-bgp-neighbor)#remote-as 200
Assuming the neighbor is properly configured, the AOS device should now be able to connect to the
neighbor and exchange routes with it.
Step 4: Save the Configuration
The configuration can be saved directly from the BGP Configuration mode or BGP Neighbor
Configuration mode:
(config-bgp-neighbor)#do write
When configuring eBGP, the remote AS number must be different from that of the local
router (which is defined using the router bgp command).
When the command to save the configuration is issued from the Enable mode, the command
is: write.