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 maximum. 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.
For the remote cross routes learned through the MP-IBGP and the BGP routes learned from CEs, the system
automatically refreshes them.
Step 7
(Optional) Run:
prefix limit
number
{
alert-percent
[
route-unchanged
] |
simply-alert
}
The maximum number of prefixes for the VPN instance IPv4 address family is configured.
You can define the maximum number of prefixes for a VPN instance IPv4 address family to
avoid importing too many prefixes from the CE.
Step 8
(Optional) Run:
limit-log-interval
interval
The frequency of displaying logs when the number of routes exceeds the threshold is configured.
Step 9
(Optional) Run:
import route-policy
policy-name
The inbound routing policy of the VPN instance IPv4 address family is configured.
Step 10
(Optional) Run:
export route-policy
policy-name
The outbound routing policy of the VPN instance IPv4 address family is configured.
----End
3.3.4 (Optional) Configuring MPLS Label Allocation Based on the
VPN Instance IPv4 Address Family
This section describes how the MPLS label is allocated in a VPN instance IPv4 address
family. Specifically, it covers how the local PE allocates the same MPLS label for all routes of
the VPN instance IPv4 address family. If there are a large number of VPN routes, you can reduce
the number of MPLS labels maintained by PEs.
Context
Perform the following steps on the PE configured with VPN instances IPv4 address family.
Procedure
Step 1
Run:
system-view
The system view is displayed.
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.
68