Data Preparation
Before configuring Hub and Spoke, you need the following data.
No.
Data
1
To configure a VPN instance, you need the following data:
l
Name of the VPN instance
l
(Optional) Description of the VPN instance
l
RD, VPN target attribute of the VPN instance
l
(Optional) Routing policy
l
(Optional) Maximum number of route permitted in a VPN instance
2
IP addresses through which the CE devices access the PE devices
3
Data for route configuration (static route, RIP, OSPF, IS-IS, or EBGP) between Hub-
PE and Hub-CE, and Spoke-PE and Spoke-CE
3.5.2 Creating a VPN Instance
This part describes how to configure a VPN instance to manage VPN routes.
Context
Configure the VPN instance on each Spoke-PE and Hub-PE.
Every Spoke-PE is configured with a VPN instance, while each Hub-PE is configured with the
following two VPN instances:
l
VPN-in: It receives and maintains all the VPNv4 routes advertised by all the Spoke-PEs.
l
VPN-out: It maintains the routes of all the Hub stations and Spoke stations and advertises
those routes to all the Spoke-PEs.
NOTE
l
Different VPN instances on a device have different names, RDs, and description.
l
It is recomended to perform either Step 6 or Step 7.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
ip vpn-instance
vpn-instance-name
The VPN instance is created and the VPN instance view is displayed.
The name of the VPN instance is case sensitive. For example, vpn1 and VPN1 are considered
as different VPN instances.
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
3 BGP MPLS IP VPN Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
118