You can define the maximum number of prefixes for a VPN instance IPv4 address family to
avoid importing excessive prefixes.
Step 9 (Optional) Run:
limit-log-interval interval
The frequency of displaying logs when the number of routes exceeds the threshold is configured.
----End
3.5.3 Configuring Route Attributes of the VPN Instance
This section describes how to configure the VPN target to control route advertisement and
acceptance.
Procedure
l Configuring Hub-PE
1. Run:
system-view
The system view is displayed.
2. Run:
ip vpn-instance vpn-instance-name1
The VPN instance view of the VPN-in is displayed.
3. Run:
ipv4-family
The VPN instance IPv4 address family view is displayed.
4. Run:
vpn-target vpn-target1 &<1-8> import-extcommunity
The VPN target extended community for the VPN instance IPv4 address family is
created to import the IPv4 routes advertised by all the Spoke-PEs.
vpn-target1 lists the Export VPN targets advertised by all the Spoke-PEs.
5. (Optional) Run:
import route-policy policy-name
The import routing policy of the VPN instance IPv4 address family is configured.
6. (Optional) Run:
export route-policy policy-name
The export routing policy of the VPN instance IPv4 address family is configured.
7. Run:
quit
Return to the system view.
8. Run:
ip vpn-instance vpn-instance-name2
The VPN instance view of the VPN-out is displayed.
9. Run:
ipv4-family
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.
87