Import Route-Policy; Ipv6-Family (Vpn Instance View) - HP 5800 series Command Reference Manual

Commands and command syntax options
Hide thumbs Also See for 5800 series:
Table of Contents

Advertisement

[Sysname-bgp-af-vpnv6] filter-policy 2255 import

import route-policy

Description
Use the import route-policy command to apply an import routing policy to a VPN instance, an IPv4 VPN
or an IPv6 VPN.
Use the undo import route-policy command to remove the application.
By default, all routes permitted by the import target attribute are accepted.
You can specify an import routing policy when the route redistribution control provided by the extended
community attributes is not enough.
An import routing policy specified in IPv6 VPN view is applicable to only the IPv6 VPN.
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 (VPN instance view)

Description
Use the ipv6-family command in VPN instance view to enter IPv6 VPN view.
Use the undo ipv6-family command to remove all configurations performed in IPv6 VPN view.
44

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5820x series

Table of Contents