beautypg.com

Configuration procedure – H3C Technologies H3C S12500-X Series Switches User Manual

Page 115

background image

101

Figure 24 Network diagram

508B

Configuration procedure

1.

Configure IP addresses for interfaces. (Details not shown.)

2.

Enable OSPF:
# Configure Switch A.

system-view

[SwitchA] router id 11.2.1.2

[SwitchA] ospf

[SwitchA-ospf-1] area 0

[SwitchA-ospf-1-area-0.0.0.0] network 11.2.1.0 0.0.0.255

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

[SwitchA-ospf-1] quit

# Configure Switch B.

system-view

[SwitchB] router id 11.2.1.1

[SwitchB] ospf

[SwitchB-ospf-1] area 0

[SwitchB-ospf-1-area-0.0.0.0] network 11.2.1.0 0.0.0.255

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

[SwitchB-ospf-1] quit

# Configure Switch C.

system-view

[SwitchC] router id 11.1.1.2

[SwitchC] ospf

[SwitchC-ospf-1] area 0

[SwitchC-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255

[SwitchC-ospf-1-area-0.0.0.0] network 10.2.1.0 0.0.0.255

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

[SwitchC-ospf-1] quit

Switch A

Switch B

Switch D

Switch E

Switch C

Vlan-int400
10.1.1.1/24

Vlan-int400
10.1.1.2/24

Vlan-int300

10.2.1.2/24

Vlan-int300

10.2.1.1/24

Vlan-int200

11.1.1.2/24

Vlan-int200

11.1.1.1/24

EBGP

AS 200

AS 100

Vlan-int100
11.2.1.1/24

Vlan-int100

11.2.1.2/24

Vlan-int500

10.3.1.1/24

Vlan-int600
10.4.1.1/24

This manual is related to the following products: