1720
C
98: MPLS L3VPN C
HAPTER
Description
Example
C
ONFIGURATION
OMMANDS
both: Specifies both the export routing information to the destination VPN
extended community and the import routing information from the destination
VPN extended community. This is the default.
export-extcommunity: Specifies the export routing information to the
destination VPN extended community.
import-extcommunity: Specifies the import routing information from the
destination 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.
Use the
command to associate the current VPN instance with one or
vpn-target
more VPN targets.
Use the
undo vpn-target
VPN instance with VPN targets.
VPN target has no default. You must configure it when creating a VPN instance.
# 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
command to remove the association of the current