EasyManua.ls Logo

Huawei quidway s7700 - Binding an Interface with the VPN Instance

Huawei quidway s7700
833 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
l Configuring Spoke-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:
vpn-target vpn-target2 &<1-8> import-extcommunity
The VPN target extended community for the VPN instance is created to import the
IPv4 routes advertised by all the Hub-PEs.
vpn-target2 should be included in the export VPN target list of the Hub-PE.
4. Run:
vpn-target vpn-target1 &<1-8> export-extcommunity
The VPN target extended community for the VPN instance is created to advertise the
IPv4 routes of stations the Spoke-PE accesses.
vpn-target1 should be included in the import VPN target list of the Hub-PE.
5. (Optional) Run:
import route-policy policy-name
The import routing policy of the VPN instance is configured.
6. (Optional) Run:
export route-policy policy-name
The export routing policy of the VPN instance is configured.
----End
3.5.4 Binding an Interface with the 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 such Layer 3 attributes as 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
The configuration on the Hub-PE involves two interfaces or sub-interfaces: one is bound with
the VPN-in and receives the routes advertised by the Spoke-PE; the other is bound with the
VPN-out and advertises the routes of the Hub and all the Spokes.
Do as follows on the Hub-PE and all the Spoke-PEs.
Procedure
Step 1 Run:
system-view
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.
121

Table of Contents

Other manuals for Huawei quidway s7700

Related product manuals