neighbor port

This command defines the neighbor’s BGP port.

Syntax

neighbor {<neighbor tag>|a.b.c.d|X:X::X:X} port <port number>
no neighbor a.b.c.d port <port number>

Command

Description

a.b.c.d|X:X::X:X

Defines the IP address of the neighbor (IPv4 or IPv6).

neighbor tag

Defines the neighbor tag.

port number

Defines the port number (0 – 65535).

Default

NA

Command Mode

Privileged User

Example

This example defines the neighbor’s BGP port.

(config-data)# router bgp 1
(conf-router)# neighbor 10.14.3.118 port 100