H3C LS-3100-52P-OVS-H3 Operation Manual - page 1045
1-6
Follow these steps to configure BGP route distribution filtering policies:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp as-number
—
Enter IPv4 MBGP address
family view
ipv4-family multicast
—
Configure the filtering of
redistributed routes
filter-policy { acl-number| ip-prefix
ip-prefix-name} export [ direct | isis
process-id | ospf process-id | rip
process-id | static]
Apply a route policy to
advertisements to an IPv4
MBGP peer/peer group
peer { group-name | peer-address }
route-policy route-policy-name export
Reference an ACL to filter
advertisements to an IPv4
MBGP peer/peer group
peer { group-name | ip-address }
filter-policy acl-number export
Reference an AS path ACL to
filer route advertisements to an
IPv4 MBGP peer/peer group
peer { group-name | ip-address }
as-path-acl as-path-acl-number export
Reference an IP prefix list to
filer route advertisements to an
IPv4 MBGP peer/peer group
peer { group-name | ip-address } ip-prefix
ip-prefix-name export
At least one of these
approaches is
required. No
outbound route
filtering is
configured by
default
Configuring Inbound MBGP Route Filtering
By configuring MBGP route reception filtering policies, you can filter out unqualified routes from an
MBGP peer or peer group.
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 the routes that have passed all the configured policies can be advertised.
Follow these steps to configure MBGP route reception filtering policies:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp as-number
—
Enter IPv4 MBGP address
family view
ipv4-family multicast
—