Import Route-Policy - HP FlexNetwork 3600 v2 Series Command Reference Manual

Hide thumbs Also See for FlexNetwork 3600 v2 Series:
Table of Contents

Advertisement

[Sysname] bgp 100
[Sysname-bgp] ipv6-family vpn-instance vpn1
[Sysname-bgp-ipv6-vpn1] filter-policy 2255 import

import route-policy

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: Name of an import routing policy, a case-sensitive string of 1 to 63 characters.
Description
Use import route-policy to apply an import routing policy to a VPN instance, an IPv4 VPN or an
IPv6 VPN.
Use undo import route-policy 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 VPN instance view applies to both the IPv4 VPN and the IPv6
VPN.
An import routing policy specified in IPv6 VPN view applies 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 IPv6 VPN uses the policy specified in IPv6 VPN view.
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
Syntax
Ipv6-family
undo ipv6-family
482

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents