
398
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] group test internal
[Sysname-bgp-af-ipv6] quit
[Sysname-bgp] ipv6-family multicast
[Sysname-bgp-af-ipv6-mul] peer test enable
[Sysname-bgp-af-ipv6-mul] peer test reflect-client
peer route-limit (IPv6 MBGP address family view)
Syntax
peer
{
ipv6-group-name
|
ipv6-address
}
route-limit
limit
[
percentage
]
undo peer
{
ipv6-group-name
|
ipv6-address
}
route-limit
View
IPv6 MBGP address family view
Default level
2: System level
Parameters
ipv6-group-name
: Specifies an IPv6 MBGP peer group by its name, a string of 1 to 47 characters.
ipv6-address
: Specifies an IPv6 MBGP peer by its IP address.
limit
: Specifies the upper limit of IPv6 address prefixes that can be received from the peer or peer group,
in the range of 1 to 6144.
percentage
: Percentage at which the system will generate alarm information if the number of received
routes divided by the upper limit reaches it. The percentage is in the range of 1 to 100. The default is 75.
Description
Use
peer route-limit
to set the maximum number of IPv6 prefixes that can be received from an IPv6 MBGP
peer or a peer group.
Use
undo peer route-limit
to restore the default.
By default, the IPv6 prefixes from an IPv6 MBGP peer or a peer group are unlimited.
The router removes the TCP connection when the number of IPv6 prefixes received from the peer exceeds
the limit.
Examples
# Set the number of IPv6 address prefixes allowed to be received from the IPv6 MBGP peer 1:2::3:4 to
5000.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:4 as-number 100
[Sysname-bgp-af-ipv6] quit
[Sysname-bgp] ipv6-family multicast
[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 enable
[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 route-limit 5000