R211x-HP Flexfabric 11900 Layer 3 - IP Routing Command Reference
382
Views
BGP IPv4 unicast address family view, BGP-VPN IPv4 unicast address family view, BGP VPNv4 address
family view, BGP IPv6 unicast address family view, BGP VPNv6 address family view
Predefined user roles
network-admin
mdc-admin
Parameters
group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer
group must have been created.
ip-address: Specifies a peer by its IP address. The peer must have been created.
ipv6-address: Specifies a peer by its IPv6 address. The peer must have been created.
prefix-number: Specifies the number of routes that can be received from the peer or peer group. The value
range is 1 to 4294967295. If the alert-only and reconnect keywords are not specified, and the number
of routes received from the peer or peer group reaches the prefix-number, the router will tear down the
connection to the peer or peer group.
alert-only: If the number of routes received from the peer or peer group reaches the prefix-number, the
router displays an alarm message instead of tearing down the connection to the peer or peer group.
reconnect reconnect-time: Specifies a reconnect time, after which, the router reestablishes a connection
to the peer or peer group when the number of routes received from the peer or peer group reaches the
prefix-number. The value range for the reconnect-time argument is 1 to 65535 seconds.
percentage-value: Specifies the threshold value for the router to display an alarm message (the router
displays an alarm message when the ratio of the number of received routes to the prefix-number exceeds
the percentage value). The value range of this argument is 1 to 100, and the default is 75.
Examples
# In BGP IPv4 unicast address family view, specify the maximum number of routes that can be received
from peer 1.1.1.1 to 10000, and configure the router to tear down the connection to the peer if the number
is exceeded.
<Sysname> system-view
[Sysname] bgp 109
[Sysname-bgp] address-family ipv4 unicast
[Sysname-bgp-ipv4] peer 1.1.1.1 route-limit 10000
# In BGP-VPN IPv4 unicast address family view, specify the maximum number of routes that can be
received from peer 1.1.1.1 to 10000, and configure the router to tear down the connection to the peer if
the number is exceeded.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] address-family ipv4 unicast
[Sysname-bgp-ipv4-vpn1] peer 1.1.1.1 route-limit 10000
# In BGP IPv6 unicast address family view, specify the maximum number of routes that can be received
from peer 1::1 to 10000, and configure the router to tear down the connection to the peer if the number
is exceeded.
<Sysname> system-view
[Sysname] bgp 109










