R21xx-HP FlexFabric 11900 MPLS Configuration Guide
6
• When a VPN route learned from a site gets redistributed into BGP, BGP associates it with a route
target extended community attribute list, which is usually the export target attribute list of the VPN
instance associated with the site.
• The VPN instance determines which routes it can accept and redistribute according to the
import-extcommunity in the route target.
• The VPN instance determines how to change the route target attributes for advertised routes
according to the export-extcommunity in the route target.
To configure route attributes for a VPN instance:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter VPN instance view
or IPv4 VPN view
• Enter VPN instance view:
ip vpn-instance vpn-instance-name
• Enter IPv4 VPN view:
a. ip vpn-instance
vpn-instance-name
b. ipv4-family
Configurations in VPN instance
view apply to both IPv4 VPN and
IPv6 VPN.
IPv4 VPN prefers the
configurations in IPv4 VPN view
over the configurations in VPN
instance view.
3. Configure route targets
for the VPN instance.
vpn-target vpn-target&<1-8> [ both |
export-extcommunity |
import-extcommunity ]
By default, no route target is
configured for the VPN instance.
4. (Optional.) Configure
the maximum number of
routes for the VPN
instance.
routing-table limit number
{ warn-threshold | simply-alert }
By default, the maximum route
number is not configured.
This command prevents the VPN
instance from storing too many
routes.
5. (Optional.) Apply a
routing policy to filter
incoming routes for the
VPN instance.
import route-policy route-policy
By default, all routes matching the
import target attribute are
accepted.
Make sure the routing policy has
been configured. For more
information about routing policies,
see Layer 3—IP Routing
Configuration Guide.
6. (Optional.) Apply a
routing policy to filter
outgoing routes for the
VPN instance.
export route-policy route-policy
By default, all routes matching the
export target attribute are
accepted.
Make sure the routing policy has
been configured. For more
information about routing policies,
see Layer 3—IP Routing
Configuration Guide.
Configuring routing on an MCE device
MCE implements service isolation through route isolation. MCE routing configuration includes:
• MCE-VPN site routing configuration










