import route-policy
Syntax
View
Parameter
Description
Example
ip binding vpn-instance
Syntax
View
Parameter
Description
<Sysname> system-view
[Sysname] bgp 100
[Sysname] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] filter-policy 2255 import
import route-policy route-policy
undo import route-policy
VPN instance view
route-policy: Name of the import routing policy for the VPN instance, a string of 1
to 19 characters.
Use the
import route-policy
VPN instance.
Use the
undo import route-policy
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 attribute.
By default, all routes permitted by the import target attribute can be redistributed
into the VPN instance.
# 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 vpn-instance-name
undo ip binding vpn-instance vpn-instance-name
Interface view
vpn-instance-name: Name of the VPN instance to be associated, a case-insensitive
string of 1 to 31 characters.
Use the
ip binding vpn-instance
VPN instance.
Use the
undo ip binding vpn-instance
command to apply an import routing policy to a
command to remove the application.
command to associate an interface with a
command to remove the association.
1695