<P>
system-view
[P]
ospf
[P-ospf-1]
area 0
[P-ospf-1-area-0.0.0.0]
network 2.2.2.9 0.0.0.0
[P-ospf-1-area-0.0.0.0]
network 100.1.1.0 0.0.0.255
[P-ospf-1-area-0.0.0.0]
network 100.1.2.0 0.0.0.255
[P-ospf-1-area-0.0.0.0]
quit
[P-ospf-1]
quit
# Configure SPE2.
<SPE2>
system-view
[SPE2]
ospf
[SPE2-ospf-1]
area 0
[SPE2-ospf-1-area-0.0.0.0]
network 3.3.3.9 0.0.0.0
[SPE2-ospf-1-area-0.0.0.0]
network 100.1.2.0 0.0.0.255
[SPE2-ospf-1-area-0.0.0.0]
network 100.1.4.0 0.0.0.255
[SPE2-ospf-1-area-0.0.0.0]
quit
[SPE2-ospf-1]
quit
# Configure UPE1.
<UPE1>
system-view
[UPE1]
ospf
[UPE1-ospf-1]
area 0
[UPE1-ospf-1-area-0.0.0.0]
network 4.4.4.9 0.0.0.0
[UPE1-ospf-1-area-0.0.0.0]
network 100.1.3.0 0.0.0.255
[UPE1-ospf-1-area-0.0.0.0]
quit
[UPE1-ospf-1]
quit
# Configure UPE2.
<UPE2>
system-view
[UPE2]
ospf
[UPE2-ospf-1]
area 0
[UPE2-ospf-1-area-0.0.0.0]
network 5.5.5.9 0.0.0.0
[UPE2-ospf-1-area-0.0.0.0]
network 100.1.4.0 0.0.0.255
[UPE2-ospf-1-area-0.0.0.0]
quit
[UPE2-ospf-1]
quit
3.
Configure basic MPLS functions and LDP.
# Configure SPE1.
[SPE1]
mpls lsr-id 1.1.1.9
[SPE1]
mpls
[SPE1-mpls]
quit
[SPE1]
quit
[SPE1]
mpls ldp
[SPE1-mpls-ldp]
quit
[SPE1]
interface vlanif 30
[SPE1-Vlanif30]
mpls
[SPE1-Vlanif30]
mpls ldp
[SPE1-Vlanif30]
quit
[SPE1]
interface vlanif 20
[SPE1-Vlanif20]
mpls
[SPE1-Vlanif20]
quit
# Configure P.
[P]
mpls lsr-id 2.2.2.9
[P]
mpls
[P-mpls]
quit
[P]
quit
[P]
mpls ldp
[P-mpls-ldp]
quit
[P]
interface vlanif 30
[P-Vlanif30]
mpls
[P-Vlanif30]
mpls ldp
[P-Vlanif30]
quit
[P]
interface vlanif 40
[P-Vlanif40]
mpls
[P-Vlanif40]
mpls ldp
[P-Vlanif40]
quit
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
7 VPLS Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
763