R3303-HP HSR6800 Routers MPLS Command Reference

351
Default command level
2: System level
Usage guidelines
In an MCE network, you must disable the routing loop detection function for a VPN OSPF process on the
MCE. Otherwise, the MCE does not receive OSPF routes from the PE.
Examples
# Disable routing loop detection for the VPN OSPF process.
<Sysname> system-view
[Sysname] ospf 100 vpn-instance vpna
[Sysname-ospf-100] vpn-instance-capability simple
vpn-target (VPN instance view/IPv4 VPN view)
Use vpn-target to configure route targets for a VPN instance, an IPv4 VPN, or an IPv6 VPN.
Use undo vpn-target to remove the specified or all route targets of a VPN instance, an IPv4 VPN, or an
IPv6 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 route targets are configured and you must configure route targets when creating a VPN instance, an
IPv4 VPN, or an IPv6 VPN.
Views
VPN instance view, IPv4 VPN view
Default command level
2: System level
Parameters
vpn-target&<1-8>: Adds route target extended community attributes to the import route target extended
community attribute list (Import Target) or export route target extended community attribute list (Export
Target). &<1-8> means that you can add up to eight route targets.
A route target attribute can be a string of 3 to 21 characters in one these 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 route 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 route targets as export targets.
import-extcommunity: Uses the specified route targets as import targets.
all: Removes all route targets.