F3215-HP Load Balancing Module Network Management Command Reference-6PW101

300
Default
The number of routes that can be received from a peer or peer group is not limited.
Views
BGP 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
peer route-policy (BGP 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.
Views
BGP view
Default command level
2: System level