Adds a range of alternate autonomous system numbers (ASNs) for BGP dynamic neighbors.
Disabled.
BGP configuration mode
This command is supported on the Extreme 8820, SLX 9740, SLX 9640, and SLX 9540 devices only.
This command supports only IPv4 BGP.
The no form of the command removes configured alternate AS values.
For dynamic neighbors, the remote AS in the peer-group configuration allows the configuration of an alternate AS range, a range under which the EBGP peer can fall under for the listen range that includes the peer group.
When the device receives an OPEN message from a peer, it checks whether this AS number falls under the range configured for the peer group. Then it accepts and makes the session IBGP or BGP peer.
The following example sets an alternate AS of 100 for listen range neighbors in a peer group called “mypeergroup”.
device# configure terminal device(config)# router bgp device(config-bgp-router)# neighbor mypeergroup remote-as 400 device(config-bgp-router)# neighbor mypeergroup alternate-as add 100
The following example sets an alternate AS range of 200 through 300 for listen range neighbors in a peer group called “mypeergroup”.
device# configure terminal device(config)# router bgp device(config-bgp-router)# neighbor mypeergroup remote-as 400 device(config-bgp-router)# neighbor mypeergroup alternate-as add 200-300
The following example removes the configured alternate AS number 100 for listen range neighbors in a peer group called “mypeergroup”.
device# configure terminal device(config)# router bgp device(config-bgp-router)# neighbor mypeergroup alternate-as remove 100