![H3C S9500 Series Command Manual Download Page 294](http://html.mh-extra.com/html/h3c/s9500-series/s9500-series_command-manual_575036294.webp)
Command Manual – MPLS L3VPN
H3C S9500 Series Routing Switches
Chapter 1 MPLS L3VPN Configuration Commands
1-31
Default Level
2: System level
Parameters
route-policy
: Name of the export routing policy for the VPN instance.
Description
Use the
export route-policy
command to apply an export routing policy to a VPN
instance.
Use the
undo export route-policy
command to remove the application.
You can configure an export routing policy when a finer control on the VPN instance
routes to be redistributed is required, that is, when the control provided by the extended
community attribute is not enough. An export routing policy may deny routes that are
permitted by the export target attribute.
By default, all VPN instance routes permitted by the export target attribute can be
redistributed.
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
1.1.21 filter-policy export (BGP-VPNv4 subaddress family view)
Syntax
filter-policy
{
acl-number
|
ip-prefix
ip-prefix-name
}
export
[
direct
|
isis
process-id
|
ospf
process-id
|
rip
process-id
|
static
]
undo filter-policy
export
[
direct
|
isis
process-id
|
ospf
process-id
|
rip
process-id
|
static
]
View
BGP-VPNv4 subaddress family view
Default Level
2: System level
Parameters
acl-number
: IP ACL number.
ip-prefix-name
: IP address prefix list name.