Vpn-Target - H3C S5820X Series Command Reference Manual

Mpls command reference
Hide thumbs Also See for S5820X Series:
Table of Contents

Advertisement

Default command level
2: System level
Examples
# Disable routing loop detection for the VPN OSPF process 100.
<Sysname> system-view
[Sysname] ospf 100 vpn-instance vpna
[Sysname-ospf-100] vpn-instance-capability simple

vpn-target

Use vpn-target to configure VPN targets for a VPN instance or an IPv4 VPN.
Use undo vpn-target to remove the specified or all VPN targets of a VPN instance or an IPv4 VPN.
Syntax
vpn-target vpn-target&<1-8> [ both | export-extcommunity | import-extcommunity ]
undo vpn-target { all | vpn-target&<1-8> [ both | export-extcommunity | import-extcommunity ] }
Default
No VPN targets are configured for a VPN instance. You must configure VPN targets when creating a
VPN instance.
Views
VPN instance view, IPv4 VPN view
Default command level
2: System level
Parameters
vpn-target&<1-8>: Adds VPN target extended community attributes to the import VPN target extended
community attribute list (Import Target) or export VPN target extended community attribute list (Export
Target). &<1-8> means that you can add up to eight VPN targets.
A VPN target attribute can be a string of 3 to 21 characters in one the following formats:
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.
Usage guidelines
VPN targets configured in VPN instance view is applicable to both the IPv4 VPN and the IPv6 VPN.
VPN targets configured in IPv4 VPN view is applicable to only the IPv4 VPN.
27

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5800 series

Table of Contents