Instructions
Example
Purpose
Command Modes
Syntax
Syntax
Description
Defaults
Example
<peer-group-name>
<value>
In practical network operation, it is likely that plenty of routes are
imported because of the breakdown of the neighbor, and this may
cause the memory of local router used up. To prevent this, this
command can be used to control the maximum number of routes
received from neighbors. When the number of routes exceeds the
configured value, the neighbor will be interrupted, and it will not
recover until there is manual interference.
This example describes how to set the maximum number of routes
received from the BGP neighbor 1.1.1.1 as 20000.
ZXR10(config)#router bgp 1
ZXR10(config-router)#address-family ipv6
ZXR10(config-router)#neighbor 1.1.1.1 maximum-prefix 20000
neighbor next-hop-self
Use this command to force itself as the next-hop of the advertised
route. It is generally used in the NBMA network. Disable this
function with the no form of this command.
Router configuration and address family configuration
neighbor
[<ipv4-address>|<ipv6-address>|<peer-group-nam
e>] next-hop-self
no neighbor [<ipv4-address>|<ipv6-address>|<peer-group-na
me>] next-hop-self
<ipv4-address>
<ipv6-address>
<peer-group-name>
This command is disabled by default.
This example describes how to force itself as the next-hop of the
advertised route when the route is advertised to the BGP neighbor
1.1.1.1.
ZXR10(config)#router bgp 1
ZXR10(config-router)#address-family ipv6
ZXR10(config-router)#neighbor 1.1.1.1 next-hop-self
Confidential and Proprietary Information of ZTE CORPORATION
Peer group name
Maximum number of routes received from
neighbors, range: 1~4294967295, default:
4294967295
Neighbor IPv4 address, in the dotted decimal
format
Neighbor IPv6 address
Peer group name
Chapter 6 BGP4+ Protocol
103