3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
1695
<Sysname> system-view
[Sysname] bgp 100
[Sysname] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] filter-policy 2255 import
import route-policy
Syntax import route-policy route-policy
undo import route-policy
View VPN instance view
Parameter 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 attribute.
By default, all routes permitted by the import target attribute can be redistributed
into the VPN instance.
Example # 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
Parameter 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.