H3C S7500 Series Ethernet Switches Operation Manual

Operation Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 6 BGP Configuration
6-12
To do... Use the command... Remarks
Enter system view
system-view
Enter BGP view
bgp as-number
Filter the advertised routes
filter-policy
{ acl-number | ip-prefix
ip-prefix-name } export
[ protocol
[ process-id ] ]
Required
By default, advertised
routes are not filtered.
Specify a route advertising
policy for the routes
advertised to a peer group
peer group-name
route-policy
route-policy-name
export
Required
By default, no route
advertising policy is
specified for the routes
advertised to a peer group.
Specify an
ACL-based
BGP route
filtering policy
for a peer
group
peer group-name
filter-policy
acl-number export
Specify an
AS path
ACL–based
BGP filtering
policy for a
peer group
peer group-name
as-path-acl
acl-number export
Filter the
routing
information
to be
advertised
to a peer
group
IP
prefix-based
BGP route
filtering policy
for a peer
group
peer group-name
ip-prefix
ip-prefix-name export
Required
By default, a peer group
has no ACL-based BGP
route filtering policy, AS
path ACL-based BGP route
filtering policy, or IP prefix
list-based BGP route
filtering policy configured.
Caution:
z Only the routes that pass the specified filter are advertised.
z A peer group member uses the same outbound route filtering policy as that of the
peer group it belongs to. That is, a peer group adopts the same outbound route
filtering policy.
6.4.6 Configuring BGP Route Receiving Policy
Follow these steps to configure BGP route receiving policy: