NOTE
The name of a VPN instance is case-sensitive. For example, "vpn1" and "VPN1" are taken as different
VPN instances.
Step 3
Run the
route-distinguisher
route-distinguisher
command to configure an RD for the VPN
instance.
The RD does not have a default value; therefore, you must configure an RD when creating a
VPN instance.
A VPN instance takes effect only after it is configured with an RD. The RDs of different VPN
instances on a device should be different.
Before configuring an RD, you can configure only the description.
Step 4
(Optional) Run the
description
description
command to configure the description for the VPN
instance.
By default, no description is configured for a VPN instance.
The description is similar to that of the host name and interface, which can be used to record
information about the relationship between a VPN instance and a VPN.
Step 5
(Optional) Run the
routing-table limit
number
{
alert-percent
|
simply-alert
} command to set
the maximum number of routes supported by the VPN instance.
By default, the maximum number of routes supported by a VPN instance is not set.
To prevent excessive routes from being imported, set the maximum number of routes supported
by a VPN instance.
----End
2.2.3 Binding an Interface with a VPN Instance
After associating an interface with a VPN instance, you can change the interface to a VPN
interface. As a result, packets that pass through the interface are forwarded according to the
forwarding information of the VPN instance, and Layer 3 attributes such as the IP address and
routing protocol that are configured for the interface, are deleted. These Layer 3 attributes need
to be re-configured if required.
Context
Do as follows on the PE that is connected to the CE.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface
interface-type
interface-number
The view of the interface that is to be bound with the VPN instance is displayed.
Step 3
Run:
ip binding vpn-instance
vpn-instance-name
Huawei AR1200 Series Enterprise Routers
Configuration Guide - VPN
2 MCE Configuration
Issue 01 (2012-04-20)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
45