392
peer filter-policy (IPv6 MBGP address family view)
Syntax
peer
{
ipv6-group-name
|
ipv6-address
}
filter-policy
acl6-number
{
import
|
export
}
undo peer
{
ipv6-group-name
|
ipv6-address
}
filter-policy
[
acl6-number
] {
import
|
export
}
View
IPv6 MBGP address family view
Default level
2: System level
Parameters
ipv6-group-name
: Specifies an IPv6 MBGP peer group by its name, a string of 1 to 47 characters.
ipv6-address
: Specifies an IPv6 MBGP peer by its IP address.
acl6-number
: Specifies an IPv6 ACL number, in the range of 2000 to 3999.
import
: Applies the filter to routes received from the IPv6 MBGP peer or the peer group.
export
: Applies the filter to routes advertised to the IPv6 MBGP peer or the peer group.
Description
Use
peer filter-policy
to configure an IPv6 ACL-based filter policy for an IPv6 MBGP peer or peer group.
Use
undo peer filter-policy
to remove the configuration.
By default, no IPv6 ACL-based filter policy is configured for any IPv6 MBGP peer or peer group.
Examples
# Apply IPv6 ACL 2000 to filter routes advertised to the IPv6 MBGP peer 1:2::3:4.
<Sysname> system-view
[Sysname] acl ipv6 number 2000
[Sysname-acl6-basic-2000] rule permit source 2001:1:: 64
[Sysname-acl6-basic-2000] quit
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:4 as-number 100
[Sysname-bgp-af-ipv6] quit
[Sysname-bgp] ipv6-family multicast
[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 enable
[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 filter-policy 2000 export
peer group (IPv6 MBGP address family view)
Syntax
peer
ipv6-address
group
ipv6-group-name
undo peer
ipv6-address
group
ipv6-group-name
View
IPv6 MBGP address family view