3 BGP/MPLS IP VPN Configuration
The export routing policy of the VPN instance is configured.
----End
3.3.4 (Optional) Applying a Tunnel Policy to a VPN Instance
Context
By default, a VPN instance uses an MPLS LSP as the tunnel and no load balancing is carried
out.
Do as follows on the PEs configured with the VPN instance.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
ip vpn-instance vpn-instance-name
The VPN instance view is displayed.
Step 3 Run:
tnl-policy policy-name
The tunnel policy is applied to the VPN instance.
----End
3.3.5 (Optional) Allocating MPLS Labels Based on VPN Instances
Context
Do as follows on the PEs configured with the VPN instance.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
ip vpn-instance vpn-instance-name
The VPN instance view is displayed.
Step 3 Run:
apply-label per-instance
The MPLS labels are allocated based on VPN instances. Then, all the routes in the VPN instance
use the same label.
3-8
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - VPN
Issue 03 (2009-08-20)