asn (bgp-router-config)

Configures the ASN. The ASN represents a group of routers under the same administration and using IGP and common metrics to define how to route packets. In short the ASN represents all routers within an AS.

Supported in the following platforms:

Syntax

asn <1-4294967295>

Parameters

asn <1-4294967295>
asn <1-4294967295> Specify the ASN from 1 - 4294967295.

Examples

nx9500-6C8809(config-profile NX9500Profile-router-bgp)#asn 1
nx9500-6C8809(config-profile NX9500Profile-router-bgp)#show context
 router bgp
  asn 1
nx9500-6C8809(config-profile NX9500Profile-router-bgp)#

Related Commands

no (bgp-router-config) Removes the configured the ASN.