Peer Route-Policy (Bgp/Bgp-Vpn Instance View) - HP FlexNetwork 3600 v2 Series Command Reference Manual

Hide thumbs Also See for FlexNetwork 3600 v2 Series:
Table of Contents

Advertisement

percentage-value: 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.
Description
Use peer route-limit to set the number of route prefixes that can be received from a peer/peer
group.
Use undo peer route-limit to restore the default.
The number is not limited by default.
Examples
# In BGP view, set the number of route prefixes that can be received from peer 129.140.6.6 to 10000.
<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, set the number of route prefixes that can be received from peer
129.140.6.6 to 10000. (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)

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
BGP view, BGP-VPN instance view
Default level
2: System level
Parameters
group-name: Name of a peer group, a string of 1 to 47 characters.
ip-address: IP address of a peer.
route-policy-name: Routing policy name, a case-sensitive string of 1 to 63 characters.
export: Applies the routing policy to routes outgoing to the peer (or peer group).
import: Applies the routing policy to routes incoming from the peer (or 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/peer group.
251

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents