1002 CHAPTER 72: BGP CONFIGURATION COMMANDS

peer route-limit (BGP/BGP-VPN instance view)

Syntax peer { group-name ip-address } route-limitlimit [ percentage ]

undo peer { group-name ip-address } route-limit

View BGP view/BGP-VPN instance view

Parameters group-name: Name of a peer group, a string of 1 to 47 characters.

ip-address: IP address of a peer.

limit: Upper limit of IP prefixes that can be received from the peer or peer group, in the range 1 to 10000.

percentage: If the number of received routes reaches the specified percentage of the upper limit, the system will generate alarm information. The percentage is in the range from 1 to 100. The default is 75.

Description Use the peer route-limitcommand to set the maximum number of routes that can be received from a peer/peer group.

Use the undo peer route-limitcommand to restore the default.

The number is unlimited by default.

Examples # In BGP view, set the number of routes 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 maximum number of routes 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-vpn1] peer 129.140.6.6 as-number 110

[Sysname-bgp-vpn1] peer 129.140.6.6 route-limit 10000

peer route-policy (BGP/BGP-VPN instance view)

Syntax peer { group-name ip-address } route-policyroute-policy-name { export import }

undo peer { group-name ip-address } route-policyroute-policy-name { export import }

View BGP view/BGP-VPN instance view

Page 1002
Image 1002
3Com MSR 30, MSR 50 manual Peer route-limit BGP/BGP-VPN instance view, Peer route-policy BGP/BGP-VPN instance view