export route-policy
Syntax
View
Parameter
Description
Example
filter-policy export (BGP-VPNv4 subaddress family view)
Syntax
View
Parameter
export route-policy route-policy
undo export route-policy
VPN instance view
route-policy: Name of the export routing policy for the VPN instance, a string of 1
to 19 characters.
Use the
export route-policy
VPN instance.
Use the
undo export route-policy
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.
# 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
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 ]
BGP-VPNv4 subaddress family view
acl-number: IP ACL number, in the range 2000 to 3999.
ip-prefix-name: IP address prefix list name, a string of 1 to 19 characters.
direct: Filters direct routes to be advertised.
isis process-id: Filters ISIS routes to be advertised that are from a specified ISIS
process. The process-id argument is in the range 1 to 65535.
command to apply an export routing policy to a
command to remove the application.
1693