14-27
Default Level
2: System level
Parameters
None
Description
Use the
vpn-instance-capability simple
command to enable multi-VPN-instance CE.
Use the
undo vpn-instance-capability
command to disable the function.
By default, the function is disabled.
Examples
# Enable multi-VPN-instance CE.
<Sysname> system-view
[Sysname] ospf 100 vpn-instance vpna
[Sysname-ospf-100] vpn-instance-capability simple
vpn-target
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
] }
View
VPN instance view
Default Level
2: System level
Parameters
vpn-target
&<1-8>: Adds the VPN target extended community attribute to the import or export VPN
target extended community list and specify the VPN target in the format nn:nn or IP-address:nn.
&<1-8> means that you can specify this argument for up to 8 times.
A VPN target attribute can be of 3 to 21 characters and in one the following formats:
z
16-bit AS number:32-bit user-defined number. For example, 101:3.
z
32-bit IP address:16-bit user-defined number. For example, 192.168.122.15:1.
z
32-bit AS number:16-bit user-defined number, where the AS number must not be less than 65536.
For example, 65536:1.
both
: Specifies both the export routing information to the destination VPN extended community and
the import routing information from the destination VPN extended community. This is the default.
export-extcommunity
: Specifies the export routing information to the destination VPN extended
community.
import-extcommunity
: Specifies the import routing information from the destination VPN extended
community.
all
: Specifies all export routing information to the destination VPN extended community and import
routing information from the destination VPN extended community.