![H3C S9500 Series Command Manual Download Page 331](http://html.mh-extra.com/html/h3c/s9500-series/s9500-series_command-manual_575036331.webp)
Command Manual – MPLS L3VPN
H3C S9500 Series Routing Switches
Chapter 1 MPLS L3VPN Configuration Commands
1-68
VPN extended community.
all
: Specifies all export routing information to the destination VPN extended community
and import routing information from the destination VPN extended community.
Description
Use the
vpn-target
command to associate the current VPN instance with one or more
VPN targets.
Use the
undo vpn-target
command to remove the association of the current VPN
instance with VPN targets.
VPN target has no default. You must configure it when creating a VPN instance.
Examples
# Associate the current VPN instance with VPN targets.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1] vpn-target 3:3 export-extcommunity
[Sysname-vpn-instance-vpn1] vpn-target 4:4 import-extcommunity
[Sysname-vpn-instance-vpn1] vpn-target 5:5 both