423
Configuring outbound IPv6 MBGP route filtering
IMPORTANT:
•
Members of an IPv6 MBGP peer group must have the same outbound route filtering policy as the peer
group.
•
IPv6 BGP advertises redistributed routes that pass the specified policy to the IPv6 MBGP peer.
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 ACL 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.
No filtering is configured by
default.
You can configure filter
policies as required. If you
configure multiple filter
policies, they are applied in
the following order:
•
filter-policy export
.
•
peer filter-policy export
.
•
peer as-path-acl export
.
•
peer ipv6-prefix export
.
•
peer route-policy
export
.
A filter policy can be
applied only after the
previous one is passed.
Routing information can be
advertised only after
passing all the configured
filter policies.
Configuring inbound IPv6 MBGP route filtering
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP view.
bgp
as-number
N/A