Step
2.
Enter BGP view or BGP-VPN
instance view.
3.
Enter BGP IPv4 unicast
address family view or
BGP-VPN IPv4 unicast
address family view.
4.
Specify the maximum number
of routes that a router can
receive from a peer or peer
group.
To limit routes that a router can receive from a peer or peer group (IPv6):
Step
1.
Enter system view.
2.
Enter BGP view.
3.
Enter BGP IPv6 unicast
address family view.
4.
Specify the maximum number
of routes that a router can
receive from a peer or peer
group.
Configuring BGP route filtering policies
Configuration prerequisites
Before you configure BGP routing filtering policies, configure the following filters used for route filtering
as needed:
ACL (see ACL and QoS Configuration Guide)
•
•
Prefix list (see
Routing policy (see
•
AS path list (see
•
Configuring BGP route distribution filtering policies
To configure BGP route distribution filtering policies, use the following methods:
Use an ACL or prefix list to filter routing information advertised to all peers.
•
Use a routing policy, ACL, AS path list, or prefix list to filter routing information advertised to a peer
•
or peer group.
Command
•
Enter BGP view:
bgp as-number
•
Enter BGP-VPN instance view:
a.
b.
address-family ipv4 [ unicast ]
peer { group-name | ip-address }
route-limit prefix-number
[ { alert-only | reconnect
reconnect-time } |
percentage-value ] *
Command
system-view
bgp as-number
address-family ipv6 [ unicast ]
peer { group-name |
ipv6-address } route-limit
prefix-number [ { alert-only |
reconnect reconnect-time } |
percentage-value ] *
"Configuring routing
policies")
"Configuring routing
"Configuring routing
bgp as-number
ip vpn-instance
vpn-instance-name
policies")
policies")
210
Remarks
N/A
N/A
By default, the number of routes
that a router can receive from a
peer or peer group is not limited.
Remarks
N/A
N/A
N/A
By default, the number of routes
that a router can receive from a
peer or peer group is not limited.