
C613-50186-01 Rev B
Command Reference for AR2050V
1258
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
BGP
AND
BGP4+ C
OMMANDS
NEIGHBOR
PORT
neighbor port
Overview
Use this command to specify the TCP port to which packets are sent to on a BGP or
a BGP4+ neighbor. TCP port 179 is the default port used to connect BGP and BGP4+
peers. You can specify a different destination port for the TCP session with this
command.
Use the
no
variant of this command to reset the port number back to the default
value (TCP port 179).
Syntax [BGP]
neighbor <
neighborid
> port <
portnum
>
no neighbor <
neighborid
> port [<
portnum
>]
Default
TCP port 179 is the default port used to connect BGP and BGP4+ peers.
Mode [BGP]
Router Configuration or IPv4 Address Family Configuration
Mode [BGP4+]
Router Configuration
Parameter
Description
<neighborid>
{
<ip-address>
|
ipv6-addr>
|
<peer-group>
}
<ip-address>
Specify the address of an IPv4 BGP neighbor,
in dotted decimal notation A.B.C.D.
<ipv6-addr>
Specify the address of an IPv6 BGP4+
neighbor, entered in hexadecimal in the
format X:X::X:X.
<peer-group>
Enter the name of an existing peer-group. For
information on how to create peer groups,
refer to the
command, and
command. When this parameter is
used with this command, the command
applies on all peers in the specified group.
<portnum>
<
0-65535
> Specifies the TCP port number.