
42
Syntax
export route-policy
route-policy
undo export route-policy
View
VPN instance view, IPv6 VPN view
Default level
2: System level
Parameters
route-policy
: Specifies the name of an export routing policy, which is a case-sensitive string of 1 to 63
characters.
Examples
# Apply export routing policy
poly-1
to VPN instance
vpn1
.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1] export route-policy poly-1
# Apply export routing policy
poly-3
to the IPv6 VPN of VPN instance
vpn3
.
<Sysname> system-view
[Sysname] ip vpn-instance vpn3
[Sysname-vpn-instance-vpn3] ipv6-family
[Sysname-vpn-ipv6-vpn3] export route-policy poly-3
filter-policy export (BGP-VPNv6 subaddress family view)
Description
Use the
filter-policy export
command to filter all or certain types of routes to be advertised.
Use the
undo filter-policy export
command to remove the configuration.
By default, MP-BGP does not filter routes to be advertised.
Only routes that survive the filtering are advertised by MP-BGP.
If you do not specify routing protocol parameters for the
filter-policy export
command, all routes to be
advertised are filtered.
Syntax
filter-policy
{
acl6-number
|
ipv6-prefix
ipv6-prefix-name
}
export
[
direct
|
isisv6
process-id
|
ospfv3
process-id
|
ripng
process-id
|
static
]
undo filter-policy
export
[
direct
|
isisv6
process-id
|
ospfv3
process-id
|
ripng
process-id
|
static
]
View
BGP-VPNv6 subaddress family view
Default level
2: System level
Parameters
acl6-number
: Specifies the IPv6 ACL number, ranging from 2000 to 3999.