14-19
[Sysname-bgp-vpn1] filter-policy 2255 import
import route-policy
Syntax
import route-policy
route-policy
undo import route-policy
View
VPN instance view
Default Level
2: System level
Parameters
route-policy
: Name of the import routing policy for the VPN instance, a string of 1 to 19 characters.
Description
Use the
import route-policy
command to apply an import routing policy to a VPN instance.
Use the
undo import route-policy
command to remove the application.
You can configure an import routing policy when a finer control on the routes to be redistributed into a
VPN instance is required, that is, when the control provided by the extended community attributes is
not enough. An import routing policy may deny routes that are permitted by the import target attributes.
By default, all routes permitted by the import target attribute can be redistributed into the VPN
instance.
Examples
# Apply import routing policy poly-1 to VPN instance vpn1.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1] import route-policy poly-1
ip binding vpn-instance
Syntax
ip binding vpn-instance vpn-instance-name
undo ip binding vpn-instance vpn-instance-name
View
Interface view, Management Ethernet interface view
Default Level
2: System level
Parameters
vpn-instance-name
: Name of the VPN instance to be associated, a case-insensitive string of 1 to 31
characters.
Description
Use the
ip binding vpn-instance
command to associate an interface with a VPN instance.