
206
1.8.3.51 neighbor interface
Command: neighbor <ip-address> interface <IFNAM>
no neighbor <ip-address> interface <IFNAM>
Function:
Specify the interface to the neighbor. The “
no neighbor <ip-address> interface
<IFNAM>
“ of the command cancels this configuration.
Parameter: <ip-address>
: Neighbor IP address.
<IFNAME>:
Interface name, e.g. “Vlan 2”.
Default:
Not configured.
Command Mode:
BGP route mode and address-family mode.
Usage Guide:
Specifies the exit interface to the neighbor with this command. Interface
destination accessibility should be ensured.
Example:
Switch(config-router)# neighbor 10.1.1.64 interface Vlan2
1.8.3.52 neighbor maximum-prefix
Command: neighbor {<ip-address>|<TAG>} maximum-prefix <1-4294967295> [<1-100>
<warning-only>]
no neighbor {<ip-address>|<TAG>}
maximum-prefix
<1-4294967295>
[<1-100> <warning-only>]
Function:
Control the number of route prefix from the neighbor. The “
no neighbor
{<ip-address>|<TAG>} maximum-prefix <1-4294967295> [<1-100> <warning-only>]
”
command cancels this configuration.
Parameter: <ip-address>
: Neighbor IP address.
<TAG>
: Name of the peer.
<1-4294967295>
: Max prefix value allowed.
<1-100>
: Percentage of the max value at which it warns.
<warning-only>
: Warning only or not.
Default:
Not limited.
Command Mode:
BGP route mode and address-family mode.
Usage Guide:
Due to concerns of too much route updates from neighbors (e.g. attack), the max
number of prefix acquired from a neighbor is limited, and will warns when the number hits certain
rate. If the warning-only option is set, then there will be warning only, if not, the connection to the
neighbor will be cut till clear the records with clear ip bgp command.
Example:
Switch(config-router)#neighbor 10.1.1.64 maximum-prefix 12 50
In above configuration, it warns when the number of route prefix reaches 6, and the connection
will be cut when the number hit 13.