Enabling bgp and igp route synchronization, Limiting prefixes received from a peer/peer group, Limiting prefixes received from a peer/peer – H3C Technologies H3C S7500E Series Switches User Manual
Page 228: Group
6-25
To do…
Use the command…
Remarks
Filter incoming routes with an ACL
or IP prefix list
filter-policy { acl-number |
ip-prefix ip-prefix-name }
import
Reference a routing policy to filter
routes from a peer/peer group
peer { group-name | ip-address }
route-policy route-policy-name
import
Reference an ACL to filter routing
information from a peer/peer group
peer { group-name | ip-address }
filter-policy acl-number import
Reference an AS path ACL to
filter routing information from a
peer/peer group
peer { group-name | ip-address }
as-path-acl as-path-acl-number
import
Reference an IP prefix list to filter
routing information from a
peer/peer group
peer { group-name | ip-address }
ip-prefix ip-prefix-name import
Required to choose any;
No route reception filtering is
configured by default;
You can configure a filtering policy as
needed;
If several filtering policies are
configured, they are applied in the
following sequence:
z
filter-policy import
z
peer filter-policy import
z
peer as-path-acl import
z
peer ip-prefix import
z
peer route-policy import
Only routes passing the first policy,
can they go to the next, and only
routes passing all the configured
policies, can they be received.
Enabling BGP and IGP Route Synchronization
By default, when a BGP router receives an iBGP route, it only checks the reachability of the route’s
next hop before advertisement. With BGP and IGP synchronization enabled, the BGP router cannot
advertise the iBGP route to eBGP peers unless the route is also available in the IGP routing table.
Follow these steps to enable BGP and IGP synchronization:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp as-number
—
Enable synchronization between
BGP and IGP
synchronization
Required
Not enabled by default
Limiting Prefixes Received from a Peer/Peer Group
Follow these steps to configure the maximum number of prefixes allowed to be received from a
peer/peer group:
To do…
Use the command…
Remarks
Enter system view
system-view
—