H3C S7500E Series Ethernet Switches Operation Manual

Operation Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches Chapter 5 BGP Configuration
5-26
To do… Use the command… Remarks
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
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.
Follow these steps to configure 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