3Com S7906E Command Reference Manual page 1610

6300 series
Hide thumbs Also See for S7906E:
Table of Contents

Advertisement

View
MPLS L2VPN view
Default Level
2: System level
Parameters
vpn-target: VPN target extended community attributes to be added to the import or export VPN target
extended community list, in the format of nn:nn or IP-address:nn. It can be a string of 3 to 21 characters.
&<1-16> means that you can specify this argument for up to 16 times.
A VPN target can be in either of 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.
both: Specifies both the export and import VPN extended communities. This is the default.
export-extcommunity: Specifies the export VPN extended community.
import-extcommunity: Specifies the import VPN extended community.
all: Specifies both the import and export VPN extended communities.
Description
Use the vpn-target command to associate a particular VPN with one or more VPN targets.
Use the undo vpn-target command to delete the VPN target(s) associated with a particular VPN.
There is no default value for a VPN target. You must configure it when creating the VPN.
Examples
# Associate VPN vpn1 with VPN targets.
<Sysname> system-view
[Sysname] mpls l2vpn vpn1 encapsulation vlan
[Sysname-mpls-l2vpn-vpn1] route-distinguisher 300:1
[Sysname-mpls-l2vpn-vpn1] vpn-target 1:1 2:2 export-extcommunity
[Sysname-mpls-l2vpn-vpn1] vpn-target 1.2.3.4:11 import-extcommunity
1-27

Advertisement

Chapters

Table of Contents
loading

This manual is also suitable for:

S7910eS7906e-vS7903eS7903e-sS7902e

Table of Contents