remote-as (bgp-neighbor-config)

Configures the ASN for this neighbor BGP device (or devices using this profile). ASN is a set of routers under the same administration that use IGP (Interior Gateway Protocol) and common metrics to define how to route packets within the AS.

Supported in the following platforms:

Syntax

remote-as <1-4294967295>

Parameters

remote-as <1-4294967295>
remote-as <1-4294967295> Specify the remote ASN from 1 - 4294967295.

Examples

nx9500-6C8809(config-profile testNX9000-router-bgp-neighbor-192.168.13.99)#remote-as 100
nx9500-6C8809(config-profile testNX9000-router-bgp-neighbor-192.168.13.99)#show context
  bgp neighbor 192.168.13.99
   remote-as 100
   advertisement-interval 100
   peer-group eBGPPeerGrp1
   port 21
   allowas-in 10
   attribute-unchanged as-path
   capability orf prefix-list both
   default-originate
   description neighbor "This neighbor is an external AS neighbor"
   disable-connected-check
   dont-capability-negotiate
   ebgp-multihop 20
   enforce-multihop
   local-as 20 no-prepend
   maximum-prefix 400 50 warning-only
   next-hop-self
   override-capability
   passive
   password neighbor eBGPneighbor@300
nx9500-6C8809(config-profile testNX9000-router-bgp-neighbor-192.168.13.99)#


    

Related Commands

no (bgp-neighbor-config) Removes the ASN for this neighbor BGP device (or devices using this profile)