HP VPN Firewall Appliances Network Management Command Reference
510
Related commands
• reflect between-clients
• reflect cluster-id
peer route-limit (BGP/BGP-VPN instance view)
Use peer route-limit to specify the maximum number of routes that can be received from a peer or peer
group.
Use undo peer route-limit to cancel the configuration.
Syntax
peer { group-name | ip-address } route-limit prefix-number [ { alert-only | reconnect reconnect-time } |
percentage-value ] *
undo peer { group-name | ip-address } route-limit
Default
The number of routes that can be received from a peer or peer group is not limited.
Views
BGP view, BGP-VPN instance view
Default command level
2: System level
Parameters
group-name: Specifies the name of a peer group, a string of 1 to 47 characters.
ip-address: Specifies the IP address of a peer.
prefix-number: Specifies the number of prefixes that can be received from the peer or peer group, in the
range of 1 to 500000. If the number of prefixes received from the peer/peer group reaches the
prefix-number, the router will tear down the connection to the peer/peer group.
alert-only: If the number of prefixes received from the peer/peer group reaches the prefix-number, the
router will not tear down the connection to the peer/peer group but display an alarm message.
reconnect reconnect-time: Specifies a reconnect time, after which, the router re-establishes a connection
to the peer/peer group. It has no default value and is in the range of 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 prefixes to the prefix-number
exceeds the percentage). It is in the range of 1 to 100 and defaults to 75.
Examples
# In BGP view, specify the maximum number of routes that can be received from peer 129.140.6.6 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] peer 129.140.6.6 as-number 110
[Sysname-bgp] peer 129.140.6.6 route-limit 10000