363
• An import routing policy specified in IPv6 VPN view takes precedence over that specified in VPN
instance view. If you specify an import routing policy in both IPv6 VPN view and VPN instance view,
the policy specified in IPv6 VPN view is applied to the IPv6 VPN.
Syntax
import route-policy route-policy
undo import route-policy
View
VPN instance view, IPv6 VPN view
Default level
2: System level
Parameters
route-policy: Specifies the name of an import routing policy, which is a case-sensitive string of 1 to 63
characters.
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
# Apply import routing policy poly-3 to the IPv6 VPN of VPN instance vpn3.
<Sysname> system-view
[Sysname] ip vpn-instance vpn3
[Sysname-vpn-instance-vpn3] ipv6-family
[Sysname-vpn-ipv6-vpn3] import route-policy poly-3
ipv6-family (BGP view)
Description
Use the ipv6-family command in BGP view to enter BGP-VPNv6 subaddress family view or IPv6 BGP-VPN
instance view.
Use the undo ipv6-family command to remove all configurations performed in BGP-VPNv6 subaddress
family view or IPv6 BGP-VPN instance view.
Before entering IPv6 BGP-VPN instance view, you must create the VPN instance.
Syntax
ipv6-family { vpn-instance vpn-instance-name | vpnv6 }
undo ipv6-family { vpn-instance vpn-instance-name | vpnv6 }
View
BGP view
Default level
2: System level