beautypg.com

Configuration procedure – H3C Technologies H3C S7500E Series Switches User Manual

Page 278

background image

6-53

PE 1

Loop0

1.1.1.9/32

Vlan-int11 172.2.1.1/24

Vlan-int11

10.1.1.2/24

Vlan-int13

172.1.1.2/24

Vlan-int13

172.1.1.1/24 PE

2 Loop0

3.3.3.9/32

Vlan-int112

10.2.1.2/24

Vlan-int11

172.2.1.2/24

CE 2

Vlan-int1

10.2.1.1/24

Vlan-int12

10.3.1.2/24

CE 3

Vlan-int12

10.3.1.1/24

Vlan-int13

10.4.1.2/24

CE

4

Vlan-int13

10.4.1.1/24

Configuration procedure

1) Configure IGP on the MPLS backbone, enabling the PEs and the P device to communicate

# Configure PE 1.

system-view

[PE1] interface loopback 0

[PE1-LoopBack0] ip address 1.1.1.9 32

[PE1-LoopBack0] quit

[PE1] interface vlan-interface 13

[PE1-Vlan-interface13] ip address 172.1.1.1 24

[PE1-Vlan-interface13] quit

[PE1] ospf

[PE1-ospf-1] area 0

[PE1-ospf-1-area-0.0.0.0] network 172.1.1.0 0.0.0.255

[PE1-ospf-1-area-0.0.0.0] network 1.1.1.9 0.0.0.0

[PE1-ospf-1-area-0.0.0.0] quit

[PE1-ospf-1] quit

# Configure the P device.

system-view

[P] interface loopback 0

[P-LoopBack0] ip address 2.2.2.9 32

[P-LoopBack0] quit

[P] interface vlan-interface 13

[P-Vlan-interface13] ip address 172.1.1.2 24

[P-Vlan-interface13] quit

[P] interface vlan-interface 11

[P-Vlan-interface11] ip address 172.2.1.1 24

[P-Vlan-interface11] quit

[P] ospf

[P-ospf-1] area 0

[P-ospf-1-area-0.0.0.0] network 172.1.1.0 0.0.0.255

[P-ospf-1-area-0.0.0.0] network 172.2.1.0 0.0.0.255

[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] quit

[P-ospf-1] quit

# Configure PE 2.

system-view

[PE2] interface loopback 0

[PE2-LoopBack0] ip address 3.3.3.9 32

[PE2-LoopBack0] quit

[PE2] interface vlan-interface 11

[PE2-Vlan-interface11] ip address 172.2.1.2 24

[PE2-Vlan-interface11] quit

[PE2] ospf