
Operation Manual – IPv4 Routing
H3C S3610&S5510 Series Ethernet Switches
Chapter 5 BGP Configuration
5-26
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
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.
Specify the
maximum number of
routes that can be
received from a
peer/peer group
peer
{
group-name
|
ip-address
}
route-limit
limit
[
percentage
]
The number is unlimited by
default.
Note:
z
Only routes permitted by the specified filtering policies can they be installed into the
local BGP routing table.
z
Members of a peer group can have different route reception filtering policies from
the peer group.
5.4.7 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
configured, the BGP router cannot advertise the route to EBGP peers unless the route
is also available in the IGP routing table.