HP FlexNetwork 3600 v2 Series Command Reference Manual page 484

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

Advertisement

16-bit AS number:32-bit user-defined number. For example, 101:3.
32-bit IP address:16-bit user-defined number. For example, 192.168.122.15:1.
32-bit AS number:16-bit user-defined number, where the AS number must not be less than
65536. For example, 65536:1.
both: Uses the specified VPN targets as both import targets and export targets. The both keyword is
also used when you do not specify any of both, export-extcommunity, and import-extcommunity.
export-extcommunity: Uses the specified VPN targets as export targets.
import-extcommunity: Uses the specified VPN targets as import targets.
all: Removes all VPN targets.
Description
Use vpn-target to configure VPN targets for a VPN instance.
Use undo vpn-target to remove the specified or all VPN targets of a VPN instance.
By default, no VPN targets are configured for a VPN instance. You must configure VPN targets when
creating a VPN instance.
VPN targets configured in VPN instance view applies to both the IPv4 VPN and the IPv6 VPN.
VPN targets configured in IPv4 VPN view applies to only the IPv4 VPN.
VPN targets configured in IPv4 VPN view takes precedence over that configured in VPN instance
view. If you configure VPN targets in both IPv4 VPN view and VPN instance view, those configured in
IPv4 VPN view are applied to the IPv4 VPN.
Examples
# Configure VPN targets for VPN instance vpn1.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1] vpn-target 3:3 export-extcommunity
[Sysname-vpn-instance-vpn1] vpn-target 4:4 import-extcommunity
[Sysname-vpn-instance-vpn1] vpn-target 5:5 both
472

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents