remote-as

To specify the autonomous system (AS) number for a neighbor, use the remote-as command. To remove an AS number, use the no form of this command.

remote-as number

no remote-as number

Syntax Description

number

AS number. The format is x for a two-byte value or x.x for a four-byte value. The range is from 1 to 65535.


Command Default

None

Command Modes

Neighbor configuration mode

Command History

Release
Modification

5.0(3)N1(1)

This command was introduced.


Usage Guidelines

This command requires the LAN Enterprise Services license.

Examples

This example shows how to configure the neighbor AS number:

switch(config)# router bgp 64496 
switch(config-router)# neighbor 10.0.0.100 
switch(config-router-neighbor)# remote-as 64497

Related Commands

Command
Description

feature bgp

Enables BGP on the router.

neighbor

Configures BGP peers.