R3102-R3103-HP 6600/HSR6600 Routers MPLS Command Reference Guide
265
• 32-bit AS number:16-bit user-defined number, where the AS number must be equal to or greater
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.
Examples
# Configure VPN targets for the VPLS instance aaa.
<Sysname> system-view
[Sysname] vsi aaa
[Sysname-vsi-aaa] pwsignal bgp
[Sysname-vsi-aaa-bgp] vpn-target 100:1
[Sysname-vsi-aaa-bgp] vpn-target 1:1 2:2 export-extcommunity
[Sysname-vsi-aaa-bgp] vpn-target 1.2.3.4:11 12:12 import-extcommunity
vsi
Use vsi to create a VSI and enter VSI view. If the specified VSI already exits, you enter the VSI view
directly.
Use undo vsi to remove a VSI.
Syntax
vsi vsi-name [ auto | static [ p2p ] ]
undo vsi vsi-name
Views
System view
Default command level
2: System level
Parameters
vsi-name: Specifies a VSI name, a case-insensitive string of 1 to 31 characters. Hyphens (-) are not
allowed.
auto: Configures the peer discovery mechanism as dynamic. This corresponds to BGP mode.
static: Configures the peer discovery mechanism as static. This corresponds to LDP mode.
p2p: Enables the P2P (PW to PW) capability for the VSI whose peer discovery mechanism is static. The
P2P feature is used to associate two PWs to set up a multi-hop PW.
Usage guidelines
VPLS instance—A VSI created by using the vsi command with the auto or static keyword. A VPLS instance
discovers a peer PE automatically or statically, and establishes a VPLS PW to the peer PE.
To enter the view of an existing VSI, use the vsi vsi-name command without specifying any other
parameters.










