![](/images/new-backgrounds/1191620/191620489x1.webp)
BGP and BGP4+ Commands
neighbor port (BGP and BGP4+)
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>]
Parameter | Description |
|
| ||
<neighborid> | ||
|
|
|
| Specify the address of an IPv4 BGP neighbor, in | |
|
| dotted decimal notation A.B.C.D. |
|
|
|
|
| Specify the address of an IPv6 BGP4+ |
|
| neighbor, entered in hexadecimal in the |
|
| format X:X::X:X. |
|
|
|
|
| Enter the name of an existing |
|
| information on how to create peer groups, |
|
| refer to the neighbor |
|
| neighbor) (BGP and BGP+) command on |
|
| page 3.144, and neighbor |
|
| and BGP4+) command on page 3.159. When |
|
| this parameter is used with this command, the |
|
| command applies on all peers in the specified |
|
| group. |
|
| |
<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 for a VRF instance
Mode [BGP4+] Router Configuration
Examples [BGP]
awplus# | configure terminal |
awplus(config)# | router bgp 12 |
| neighbor 10.10.10.10 port 643 |
awplus# | configure terminal |
awplus(config)# | router bgp 12 |
| no neighbor 10.10.10.10 port 643 |
| Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches |
|
AlliedWare PlusTM Operating System - Software Version | 3.147 |