
43
ipv6-prefix
ipv6-prefix-name
: Specifies an IPv6 address prefix list by its name, which is a string of 1 to 19
characters.
direct
: Filters direct routes to be advertised.
isisv6
process-id
: Filters IPv6 ISIS routes to be advertised that are from a specific IPv6 ISIS process. The
process-id
parameter is ranging from 1 to 65,535.
ospfv3
process-id
: Filters OSPFv3 routes to be advertised that are from a specific OSPFv3 process. The
process-id
parameter is ranging from 1 to 65,535.
ripng
process-id
: Filters RIPng routes to be advertised that are from a specific RIPng process. The
process-
id
parameter is ranging from 1 to 65,535.
static
: Filters static routes to be advertised.
Examples
# In BGP-VPNv6 subaddress family view, use ACL 2555 to filter routes to be advertised by MP-BGP.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family vpnv6
[Sysname-bgp-af-vpnv6] filter-policy 2555 export
filter-policy import (BGP-VPNv6 subaddress family view)
Description
Use the
filter-policy import
command to filter received routes.
Use the
undo filter-policy import
command to remove the configuration.
By default, received routes are not filtered.
Only routes that survive the filtering are added into the BGP routing table.
Syntax
filter-policy
{
acl6-number
|
ipv6-prefix
ipv6-prefix-name
}
import
undo filter-policy import
View
BGP-VPNv6 subaddress family view
Default level
2: System level
Parameters
acl6-number
: Specifies the IPv6 ACL number, ranging from 2000 to 3999.
ipv6-prefix
ipv6-prefix-name
: Specifies an IPv6 address prefix list by its name, which is a string of 1 to 19
characters.
Examples
# In BGP-VPNv6 subaddress family view, use ACL 2555 to filter received routes.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family vpnv6