
209
configured at the same time so to reduce the configuration staff labor. Create peer group with
above command and assign members into the group with this command.
Example:
Refer to above examples.
1.8.3.58 neighbor port
Command: neighbor <ip-address> port <0-65535>
no neighbor <ip-address> port [<0-65535>]
Function:
Specify the TCP port number of the partner through which the communication carries.
The “
no neighbor <ip-address> port [<0-65535>]
” command restore the port number to default
value.
Parameter: <ip-address>
: Neighbor IP address.
<TAG>
: Name of the peer group.
<0-65535>
: TCP port number.
Default:
Default port number is 179.
Command Mode:
BGP route mode and address-family mode.
Usage Guide:
This is a configuration when the partner may connect through ports not specified
by BGP.
Example:
Switch(config-router)#neighbor 10.1.1.64 port 1023
1.8.3.59 neighbor prefix-list
Command: neighbor {<ip-address>|<TAG>} prefix-list <LISTNAME|number> {<in|out>}
no neighbor {<ip-address>|<TAG>}
prefix-list
<LISTNAME|number>
{<in>|<out>}
Function:
Configure the prefix restrictions applied in sending or receiving routes from specified
neighbors.The “
no neighbor {<ip-address>|<TAG>} prefix-list <LISTNAME|number>
{<in>|<out>}
” command cancels this configuration.
Parameter: <ip-address>
: Neighbor IP address.
<TAG>
: Name of the peer group.
<LISTNAME|number>
: Name or sequence number of the prefix-list.
<in|out>
: Direction on which the restrictions applied.
Default:
No prefix restrictions applied.
Command Mode:
BGP route mode and address-family mode.
Usage Guide:
Specify the prefix and its scope by configuring ip prefix-list and determines
whether this scope is permitted or denied. Only the route with permitted prefix will be sent or
received.
Example:
Switch(config)#ip prefix-list prw permit 100.1.0.0/22 ge 23 le 25
Switch(config)#router bgp 200