Huawei Quidway S9300 Configuration Manual page 368

Terabit routing switch
Table of Contents

Advertisement

4 VLL Configuration
<Quidway> system-view
[Quidway] sysname PE1
[PE1] interface loopback1
[PE1-LoopBack1] ip address 1.1.1.1 32
[PE1-LoopBack1] quit
[PE1] interface vlanif 20
[PE1-Vlanif20] ip address 100.13.1.1 30
[PE1-Vlanif20] quit
[PE1] interface vlanif 40
[PE1-Vlanif40] ip address 100.12.1.1 30
[PE1-Vlanif40] quit
[PE1] ospf 1
[PE1-ospf-1] area 0
[PE1-ospf-1-area-0.0.0.0] network 1.1.1.1 0.0.0.0
[PE1-ospf-1-area-0.0.0.0] network 100.13.1.0 0.0.0.3
[PE1-ospf-1-area-0.0.0.0] network 100.12.1.0 0.0.0.3
# Configure the P.
<Quidway> system-view
[Quidway] sysname P
[P] interface loopback1
[P-LoopBack1] ip address 4.4.4.4 32
[P-LoopBack1] quit
[P] interface vlanif 20
[P-Vlanif20] ip address 100.13.1.2 30
[P-Vlanif20] quit
[P] interface vlanif 20
[P-Vlanif30] ip address 100.34.1.1 30
[P-Vlanif30] quit
[P] ospf 1
[P-ospf-1] area 0
[P-ospf-1-area-0.0.0.0] network 4.4.4.4 0.0.0.0
[P-ospf-1-area-0.0.0.0] network 100.13.1.0 0.0.0.3
[P-ospf-1-area-0.0.0.0] network 100.34.1.0 0.0.0.3
# Configure PE3.
<Quidway> system-view
[Quidway] sysname PE3
[PE3] interface loopback1
[PE3-LoopBack1] ip address 3.3.3.3 32
[PE3-LoopBack1] quit
[PE3] interface vlanif 30
[PE3-Vlanif30] ip address 100.34.1.2 30
[PE3-Vlanif30] quit
[PE3] ospf 1
[PE3-ospf-1] area 0
[PE3-ospf-1-area-0.0.0.0] network 3.3.3.3 0.0.0.0
[PE3-ospf-1-area-0.0.0.0] network 100.34.1.0 0.0.0.3
# Configure PE2.
<Quidway> system-view
[Quidway] sysname PE2
[PE2] interface loopback 1
[PE2-LoopBack1] ip address 2.2.2.2 32
[PE2-LoopBack1] quit
[PE2] interface vlanif 40
[PE2-Vlanif40] ip address 100.12.1.2 30
[PE2-Vlanif40] quit
[PE2] ospf 1
[PE2-ospf-1] area 0
[PE2-ospf-1-area-0.0.0.0] network 2.2.2.2 0.0.0.0
[PE2-ospf-1-area-0.0.0.0] network 100.12.1.0 0.0.0.3
After the configuration, run the display ip routing-table command on the PEs, and you can see
that PE1 and PE2, and PE1 and PE3 have learned the routes on the Loopback1 interface of each
other.
4-106
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - VPN
Issue 03 (2009-08-20)

Advertisement

Table of Contents
loading

Table of Contents