Configure a Local AS Number for a BGP4 Device

If the ASN of the organization is unknown, use a well-known private ASN in the range from 64512 through 65535.
  1. Access global configuration mode.
    device# configure terminal
  2. Access BGP router configuration mode.
    device(config)# router bgp
  3. Specify the ASN for the autonomous system in which your device resides.
    device(config-bgp-router)# local-as 1000

Example

The following example summarizes the commands in this procedure.
device# configure terminal
device(config)# router bgp
device(config-bgp-router)# local-as 1000