protocols bgp <asn> neighbor <id> port <port-number>
Specifies the source port of a BGP neighbor.
A randomly-selected, unused port is chosen as the source port of the BGP neighbor.
- asn
- The number for the AS in which this router resides. The number ranges from 1 through 4294967295.
- id
- The IPv4 or IPv6 address of a BGP neighbor.
- port-number
- Mandatory. Specifies the source port of a BGP neighbor. The numbers range from 1 through 65535. The default is a randomly-selected, unused port.
Configuration mode
protocols {
bgp asn {
neighbor id {
port port-number
}
}
}
Use the set form of this command to specify the source port of a BGP neighbor.
Use the delete form of this command to restore the port to the default.
Use the show form of this command to view BGP neighbor configuration settings.