port (bgp-neighbor-config)

Configures a non-standard BGP port for this BGP neighbor. By default BGP uses port 179. Use this command to set a non standard port for this BGP neighbor.

Supported in the following platforms:

Syntax

port <0-65535>

Parameters

port <0-65535>
port <0-65535> Specify a value from 0 - 65535.

Examples

nx9500-6C8809(config-profile testNX9000-router-bgp-neighbor-192.168.13.99)#port 21
nx9500-6C8809(config-profile testNX9000-router-bgp-neighbor-192.168.13.99)#show context
  bgp neighbor 192.168.13.99
   advertisement-interval 100
   peer-group eBGPPeerGrp1
   port 21
   allowas-in 10
   attribute-unchanged as-path
   capability orf prefix-list both
   default-originate
   description neighbor "This neighbor is an external AS neighbor"
   disable-connected-check
   dont-capability-negotiate
   ebgp-multihop 20
   enforce-multihop
   local-as 20 no-prepend
   maximum-prefix 400 50 warning-only
   next-hop-self
   override-capability
   passive
   password neighbor eBGPneighbor@300
nx9500-6C8809(config-profile testNX9000-router-bgp-neighbor-192.168.13.99)#

Related Commands

no (bgp-neighbor-config) Removes the non-standard port configured for this neighbor