The name of the VPN instance is case sensitive. For example, vpn1 and VPN1 are considered
different VPN instances.
Step 3
(Optional) Run:
description
description-information
The description about the VPN instance is configured.
The description can be used to record the relationship between a VPN instance and a VPN.
Step 4
Run:
ipv4-family
The IPv4 address family is enabled for the VPN instance, and the VPN instance IPv4 address
family view is displayed.
Step 5
Run:
route-distinguisher
route-distinguisher
The RD of the VPN instance is configured.
A VPN instance takes effect only after the RD is configured. Before configuring the RD,
configure only the description about the VPN instance.
Step 6
(Optional) Run:
apply-label per-instance
The label is allocated based on VPN instance IPv4 address family. That is, all the routes in a
VPN instance IPv4 address family use the same label.
The MPLS labels are generally allocated in the "one label per route" manner.
The AR1200 provides the MPLS label allocation feature based on the VPN instance IPv4 address
family. That is, all the routes of a VPN instance IPv4 address family share the same label.
Step 7
(Optional) Run:
routing-table limit
number
{
alert-percent
|
simply-alert
}
The maximum number of routes of the VPN instance IPv4 address family is configured.
You can define the maximum number of routes for a VPN instance IPv4 address family to avoid
importing excessive routes.
NOTE
If the
routing-table limit
command is run, the system gives a prompt when the number of routes injected
into the routing table of the VPN instance IPv4 address family exceeds the upper limit. If the
routing-table
limit
command is run to increase the maximum number of routes supported in a VPN instance IPv4 address
family or the
undo routing-table limit
command is run to remove the limit on the routing table, for excess
routes, the following operations are required:
l
For the excessive static routes, reconfigure them manually.
l
For the excessive routes learned from CEs through the IGP multi-instance routing protocol, re-initiate
the multi-instance process of the routing protocol on the PE.
l
For the remote cross routes learned through the MP-IBGP and the BGP routes learned from CEs, the
system automatically refreshes them.
Step 8
(Optional) Run:
prefix limit
number
{
alert-percent
[
route-unchanged
] |
simply-alert
}
The maximum number of prefixes of the VPN instance IPv4 address family is configured.
Huawei AR1200 Series Enterprise Routers
Configuration Guide - VPN
3 BGP MPLS IP VPN Configuration
Issue 01 (2012-04-20)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
86