BGP Commands
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
31.75
neighbor remote-as
Use this command to configure an internal or external BGP (iBGP or eBGP) TCP session with
another router.
Use the
no
parameter with this command to remove a previously configured BGP TCP session.
Syntax
neighbor
<
neighborid
>
remote-as
<as_number>
no neighbor
<
neighborid
>
remote-as
<as_number>
Mode
Router mode
Usage
This command is used to configure iBGP and eBGP sessions with other neighbors. A peer-
group support of this command is configured only after creating a specific peer-group.
Use the
no
parameter with this command to remove a previously configured BGP TCP session.
Example
To configure a BGP TCP session with another router:
To remove a configured BGP TCP session from another router:
Parameter
Description
<
neighborid
>
{
A.B.C.D
|
TAG
}
A.B.C.D
Specifies the address of the BGP neighbor in IPv4 format.
TAG
Name of an existing peer-group. For information on how to
create peer groups, refer to the
neighbor peer-group (adding
a neighbor) command on page 31.71
,
and
neighbor remote-
as command on page 31.75
. When this parameter is used
with a command, the command applies on all peers in the
specified group.
<as_number>
<1-65535>
Neighbor’s autonomous system number.
awplus#
configure terminal
awplus(config)#
router bgp 11
awplus(config-router)#
neighbor 10.10.0.73 remote-as 345
awplus#
configure terminal
awplus(config)#
router bgp 11
awplus(config-router)#
no neighbor 10.10.0.73 remote-as 345