
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 /jointfilesconvert/366217/bgp 1
(config-/jointfilesconvert/366217/bgp)#router /jointfilesconvert/366217/bgp-neighbor 172.16.1.2
(config-/jointfilesconvert/366217/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-/jointfilesconvert/366217/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 /jointfilesconvert/366217/bgp command).
When the command to save the configuration is issued from the Enable mode, the command
is: write.
Comentarios a estos manuales