3com MSR 20-20 참조 매뉴얼

다운로드
페이지 2742
1002
C
HAPTER
 72: BGP C
ONFIGURATION
 C
OMMANDS
peer route-limit (BGP/BGP-VPN instance view)
Syntax
peer { group-name | ip-address route-limit limit [ 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-limit command to set the maximum number of routes that 
can be received from a peer/peer group.
Use the undo peer route-limit command 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-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