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 attribute.
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
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.
Use the undo ip binding vpn-instance command to remove the association.
By default, an interface is associated with no VPN instance; it belongs to the public network.
When configured on an interface, the ip binding vpn-instance command clears the IP address of the
interface. Therefore, you must re-configure the IP address of the interface after configuring the
command.
Examples
# Associate interface VLAN-interface 1 with VPN instance vpn1.
<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] ip binding vpn-instance vpn1
ip vpn-instance
Syntax
ip vpn-instance vpn-instance-name
1-32
Need help?
Do you have a question about the S7906E and is the answer not in the manual?
Questions and answers