482
To configure outbound IPv6 MBGP route filtering:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP view.
bgp
as-number
N/A
3.
Enter IPv6 MBGP
address family view.
ipv6-family multicast
N/A
4.
Configure outbound
IPv6 MBGP route
filtering.
•
Configure the filtering of outgoing
routes:
filter-policy
{
acl6-number
|
ipv6-prefix
ipv6-prefix-name
}
export
[
protocol process-id
]
•
Specify an IPv6 ACL to filter routes
advertised to a peer or a peer group:
peer
{
ipv6-group-name
|
ipv6-address
}
filter-policy
acl6-number
export
•
Specify an AS path list to filter IPv6
MBGP routing information advertised
to a peer or a peer group:
peer
{
ipv6-group-name
|
ipv6-address
}
as-path-acl
as-path-acl-number
export
•
Specify an IPv6 prefix list to filter
routes advertised to a peer or a peer
group:
peer
{
ipv6-group-name
|
ipv6-address
}
ipv6-prefix
ipv6-prefix-name
export
•
Apply a routing policy to routes
advertised to a peer or a peer group:
peer
{
ipv6-group-name
|
ipv6-address
}
route-policy
route-policy-name
export
Use at least one command.
By default, no filtering is
configured.
You can configure filter
policies as required. If you
configure multiple filter
policies, they are applied in the
following order:
1. filter-policy
export
2.
peer filter-policy export
3.
peer as-path-acl export
4.
peer ipv6-prefix export
5.
peer route-policy export
A filter policy can only be
applied after the previous one
is passed. Routing information
can only be advertised after
passing all the configured filter
policies.
Configuring inbound IPv6 MBGP route filtering
A peer can have an inbound route filtering policy that is different from the policy of the peer group to
which it belongs. That is, peer group members can have different inbound route filtering policies.
To configure IPv6 MBGP inbound route filtering:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP view.
bgp
as-number
N/A
3.
Enter IPv6 MBGP
address family view.
ipv6-family multicast
N/A