04.02.2014 Views

View - ADTRAN Support Community

View - ADTRAN Support Community

View - ADTRAN Support Community

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Basic BGP Configuration Using the CLI<br />

When configuring eBGP, the remote AS number must be different from that of the local<br />

router (which is defined using the router bgp command).<br />

The following example configures a remote AS number of 200 for neighbor 172.16.1.2:<br />

(config)#router bgp 1<br />

(config-bgp)#router bgp-neighbor 172.16.1.2<br />

(config-bgp-neighbor)#remote-as 200<br />

Assuming the neighbor is properly configured, the AOS device should now be able to connect to the<br />

neighbor and exchange routes with it.<br />

Step 4: Save the Configuration<br />

The configuration can be saved directly from the BGP Configuration mode or BGP Neighbor<br />

Configuration mode:<br />

(config-bgp-neighbor)#do write<br />

When the command to save the configuration is issued from the Enable mode, the command<br />

is: write.<br />

61200860L1-29.4E Copyright © 2012 <strong>ADTRAN</strong>, Inc. 11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!