211
ip-address
: Specifies the IP address of an IPv4 MBGP peer.
limit
: Specifies the upper limit of IP prefixes that can be received from the peer or peer group, in the range
of 1 to 12288.
percentage
: Specifies the percentage that will cause the system to 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 the routes that can be received from a peer or a peer
group.
Use
undo peer route-limit
to restore the default.
The number is unlimited by default.
Examples
# In IPv4 MBGP address family view, set the number of the routes that can be received from peer
131.108.1.1 to 10000.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer 131.108.1.1 as-number 100
[Sysname-bgp] ipv4-family multicast
[Sysname-bgp-af-mul] peer 131.108.1.1 enable
[Sysname-bgp-af-mul] peer 131.108.1.1 route-limit 10000
peer route-policy (MBGP address family view)
Syntax
peer
{
group-name
|
ip-address
}
route-policy
route-policy-name
{
export
|
import
}
undo peer
{
group-name
|
ip-address
}
route-policy
route-policy-name
{
export
|
import
}
View
IPv4 MBGP address family view
Default level
2: System level
Parameters
group-name
: Specifies an IPv4 MBGP peer group by its name, a string of 1 to 47 characters.
ip-address
: Specifies an IPv4 MBGP peer by its IP address.
route-policy-name
: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.
export
: Applies the routing policy to routes advertised to the peer or the peer group.
import
: Applies the routing policy to routes received from the peer or the peer group.
Description
Use
peer route-policy
to apply a routing policy to routes incoming from or outgoing to a peer or peer
group.
Use
undo peer route-policy
to remove the configuration.
By default, no routing policy is applied to routes from/to the peer or the peer group.