R3102-R3103-HP 6600/HSR6600 Routers Layer 3 - IP Routing Command Reference

281
prefix-number: Specifies the number of prefixes that can be received from the peer or peer group. 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.
The following matrix shows the value ranges for the prefix-number argument:
6602 HSR6602 6604/6608/6616
1 to 500000 1 to 500000
RPE-X1 MPU: 1 to 500000
RSE-X1 MPU: 1 to 2000000
MCP MPU: 1 to 500000
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
# In BGP-VPN instance 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. (The VPN has been created.)
<Sysname> system-view
[Sysname] bgp 109
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] peer 129.140.6.6 as-number 110
[Sysname-bgp-ipv4-vpn1] peer 129.140.6.6 route-limit 10000
peer route-policy (BGP/BGP-VPN instance view)
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.
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 }
Default
No routing policy is applied to routes from/to the peer/peer group.