Huawei quidway s7700 Configuration Manual page 308

Smart routing switch
Hide thumbs Also See for quidway s7700:
Table of Contents

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
[PE2-mpls-ldp] quit
[PE2] interface vlanif 10
[PE2-Vlanif10] mpls
[PE2-Vlanif10] mpls ldp
[PE2-Vlanif10] quit
# Configure PE3.
<PE3> system-view
[PE3] mpls lsr-id 3.3.3.3
[PE3] mpls
[PE3-mpls] label advertise non-null
[PE3-mpls] quit
[PE3] mpls ldp
[PE3-mpls-ldp] quit
[PE3] interface vlanif 30
[PE3-Vlanif30] mpls
[PE3-Vlanif30] mpls ldp
[PE3-Vlanif30] quit
Run the display mpls lsp command on the PEs, and you can see that LSPs are established
between PE1 and PE2 and between PE1 and PE3. Take PE1 for example.
[PE1] display mpls lsp
----------------------------------------------------------------------
----------------------------------------------------------------------
FEC
3.3.3.3/32
1.1.1.1/32
3.3.3.3/32
2.2.2.2/32
2.2.2.2/32
Step 5 Configure VPN instances on each PE and connect the CEs to the PEs.
# Configure PE1.
[PE1] ip vpn-instance vpn1
[PE1-vpn-instance-vpn1] route-distinguisher 100:1
[PE1-vpn-instance-vpn1] vpn-target 111:1
[PE1-vpn-instance-vpn1] quit
# Configure PE2.
[PE2] ip vpn-instance vpn1
[PE2-vpn-instance-vpn1] route-distinguisher 100:2
[PE2-vpn-instance-vpn1] vpn-target 111:1
[PE2-vpn-instance-vpn1] quit
[PE2] interface vlanif 20
[PE2-Vlanif20] ip binding vpn-instance vpn1
[PE2-Vlanif20] ip address 10.1.1.2 30
[PE2-Vlanif20] quit
# Configure PE3.
[PE3] ip vpn-instance vpn1
[PE3-vpn-instance-vpn1] route-distinguisher 100:3
[PE3-vpn-instance-vpn1] vpn-target 111:1
[PE3-vpn-instance-vpn1] quit
[PE3] interface vlanif 40
[PE3-Vlanif40] ip binding vpn-instance vpn1
[PE3-Vlanif40] ip address 10.2.1.2 30
[PE3-Vlanif40] quit
Step 6 Import direct VPN routes to PE1. Create EBGP adjacencies between PE2 and CE and between
PE3 and CE to import VPN routes.
# Configure PE1.
Issue 01 (2011-07-15)
LSP Information: LDP LSP
In/Out Label
NULL/1025
1024/NULL
1025/1025
NULL/1026
1027/1026
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3 BGP MPLS IP VPN Configuration
In/Out IF
-/Vlanif30
-/-
-/Vlanif30
-/Vlanif10
-/Vlanif10
Vrf Name
293

Advertisement

Table of Contents
loading

Table of Contents