3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
1693
export route-policy
Syntax export route-policy route-policy
undo export route-policy
View VPN instance view
Parameter route-policy: Name of the export routing policy for the VPN instance, a string of 1
to 19 characters.
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.
Example # 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 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
Parameter 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.