To do...
1.
Enter system view.
2.
Enter BGP view.
3.
Enter IPv4 MBGP address
family view.
4.
Advertise a default route to an
MBGP peer or peer group.
Configuring outbound MBGP route filtering
If several filtering policies are configured, they are applied in the following sequence:
filter-policy export
•
peer filter-policy export
•
peer as-path-acl export
•
peer ip-prefix export
•
peer route-policy export
•
Only the routes that have passed all the configured policies can be advertised.
To do...
1.
Enter system view.
2.
Enter BGP view.
3.
Enter IPv4 MBGP address
family view.
4.
Configure the filtering of
redistributed routes.
5.
Apply a routing policy to
advertisements to an IPv4
MBGP peer/peer group.
6.
Reference an ACL to filter
advertisements to an IPv4
MBGP peer/peer group.
7.
Reference an AS path ACL to
filter route advertisements to
an IPv4 MBGP peer/peer
group.
Reference an IP prefix list to
8.
filter route advertisements to
an IPv4 MBGP peer/peer
group.
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.
Use the command...
system-view
bgp as-number
ipv4-family multicast
peer { group-name | ip-address }
default-route-advertise
[ route-policy route-policy-name ]
Use the command...
system-view
bgp as-number
ipv4-family multicast
filter-policy { acl-number | ip-prefix
ip-prefix-name } export [ direct | isis process-id
| ospf process-id | rip process-id | static ]
peer { group-name | peer-address }
route-policy route-policy-name export
peer { group-name | ip-address } filter-policy
acl-number export
peer { group-name | ip-address } as-path-acl
as-path-acl-number export
peer { group-name | ip-address } ip-prefix
ip-prefix-name export
197
Remarks
—
—
—
Required.
Not advertised by default.
Remarks
—
—
—
At least one of these
approaches is
required. No
outbound route
filtering is configured
by default.