Command Reference Guide
3Com Router 5000 Family and Router 6000 Family vpn-target ● 97
Command Reference
vpn-target
Purpose Use the vpn-target command to create vpn-target extended community for
vpn-instance.
Use the undo vpn-target command to remove the vpn-target extended
community attributes.
Syntax vpn-target vpn-target-ext-community [ import-extcommunity |
export-extcommunity | both ]
undo vpn-target vpn-target-ext-community [ import-extcommunity |
export-extcommunity | both ]
Parameters import-extcommunity
Ingress route information from the extended
community of target VPN.
export-extcommunity
Egress route information to the extended community
of target VPN.
both
Imports both ingress and egress route information to
the extended community of target VPN.
vpn-target-ext-community
Adds vpn-target extended community attribute to the
ingress and egress of vpn-instance or the vpn-target
extended community list of ingress and egress.
Default By default, the default value is both.
Example Create vpn-target extended community for the vpn-instance.
[3Com ] ip vpn-instance vpn_red
[3Com -vpn-vpn_red] vpn-target 1000:1 both
[3Com -vpn-vpn_red] vpn-target 1000:2 export-extcommunity
[3Com -vpn-vpn_red] vpn-target 173.27.0.130:2 import-extcommunity
View This command can be used in the following views:
■ MBGP VPN-Instance view
Description With the vpn-target command, you can create ingress and egress route target
extended community list for a specified vpn-instance. Execute this command once for
each target community. Import the received route bearing the specific vpn-target
extended community to all vpn-instances, for which an extended community is
configured as ingress vpn-target. Vpn-target specifies a target VPN extended
community. Same as RD, an extended community is either composed of an ASN and
an arbitrary number, or composed of an IP address and an arbitrary number.