Examples
# Specify that VPN instance
vpn1
supports up to 1000 routes and can receive new routes after the
number of existing routes exceeds the limit.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1] route-distinguisher 100:1
[Sysname-vpn-instance-vpn1] routing-table limit 1000 simply-alert
vpn-instance-capability simple
Syntax
vpn-instance-capability simple
undo vpn-instance-capability
View
OSPF multi-instance view
Default level
2: System level
Parameters
None
Description
Use
vpn-instance-capability simple
to disable routing loop detection for a VPN OSPF process.
Use
undo vpn-instance-capability
to restore the default.
By default, the loop detection function is enabled for a VPN OSPF process.
Examples
# Disable routing loop detecton for the VPN OSPF process 100.
<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, IPv4 VPN view
Default 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:
471