H3C S6550X-HI Series Command Reference Manual page 2116

Table of Contents

Advertisement

Usage guidelines
MPLS L3VPN uses route targets to control the advertisement of VPN routing information. A PE adds
the configured export targets into the route target attribute of routes advertised to a peer. The peer
uses the local import targets to match the route targets of received routes. If a match is found, the
peer adds the routes to the routing table of the VPN instance.
You can repeat the
Route targets configured in VPN instance view apply to both the IPv4 VPN and the IPv6 VPN. Route
targets configured in VPN instance IPv4 address family view apply only to the IPv4 VPN. Route
targets configured in VPN instance IPv6 address family view apply only to the IPv6 VPN.
IPv4 VPN prefers the route targets configured in VPN instance IPv4 address family view over those
configured in VPN instance view.
IPv6 VPN prefers the route targets configured in VPN instance IPv6 address family view over those
configured in VPN instance view.
Examples
# Configure route targets for VPN instance vpn1.
<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 configure multiple route targets.
vpn-target
11

Advertisement

Table of Contents
loading

Table of Contents