Chapter 50
| IP Routing Commands
Border Gateway Protocol (BGPv4)
– 1128 –
neighbor port This command specifies the TCP port number of the partner through which
communications are carried. Use the no form to restore the default setting.
Syntax
neighbor ip-address port port-number
no neighbor ip-address port
ip-address – IP address of a neighbor.
port-number – TCP port number to use for BGP communications.
(Range: 0-65535)
Command Mode
Router Configuration
Default Setting
179
Example
Console(config-router)#neighbor 10.1.1.64 port 1023
Console(config-router)#
neighbor prefix-list This command configures prefix restrictions applied in inbound/outbound route
updates to/from specified neighbors. Use the no form to remove the neighbor
binding for a prefix list.
Syntax
neighbor {ip-address | group-name} prefix-list list-name {in | out}
no neighbor {ip-address | group-name} prefix-list {in | out}
ip-address – IP address of a neighbor.
group-name – A BGP peer group containing a list of neighboring routers
configured with the neighbor peer-group command.
list-name – Name of a prefix-list. The prefix list can be used to filter the
networks to import or export. (Range: 1-80 characters)
in – Filter inbound routing updates.
out – Filter outbound routing updates.
Command Mode
Router Configuration
Default Setting
No prefix list restrictions are configured.