Configuration procedure – H3C Technologies H3C SecPath F1000-E User Manual

Page 462

Advertising
background image

437

Figure 275 Network diagram

Device Interface IP

address

Device

Interface

IP address

SecPath A

GE0/1

192.168.0.102/24 Router B

GE0/1

192.168.0.100/24

GE0/2

10.1.1.102/24

GE0/2

13.1.1.1/24

Router C

GE0/1

10.1.1.100/24

GE0/2

13.1.1.2/24

Configuration procedure

1.

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

2.

Configure OSPF basic functions:
# Configure SecPath A.

<SecPathA> system-view

[SecPathA] ospf

[SecPathA-ospf-1] area 0

[SecPathA-ospf-1-area-0.0.0.0] network 192.168.0.0 0.0.0.255

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

[SecPathA-ospf-1-area-0.0.0.0] network 121.1.1.0 0.0.0.255

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

[SecPathA-ospf-1] quit

[SecPathA] interface GigabitEthernet0/2

[SecPathA-GigabitEthernet0/2] ospf cost 2

# Configure Router B.

<RouterB> system-view

[RouterB] ospf

[RouterB-ospf-1] area 0

[RouterB-ospf-1-area-0.0.0.0] network 192.168.0.0 0.0.0.255

[RouterB-ospf-1-area-0.0.0.0] network 13.1.1.0 0.0.0.255

[RouterB-ospf-1-area-0.0.0.0] network 120.1.1.0 0.0.0.255

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

[RouterB-ospf-1] quit

[RouterB] interface GigabitEthernet0/2

[RouterB-GigabitEthernet0/2] ospf cost 2

# Configure Router C.

<RouterC> system-view

[RouterC] ospf

Eth1/1

Eth1/1

Router A

Router B

BFD

L2 Switch

Area 0

Router C

Eth1/1

Eth1/2

Eth1/2

Eth1/2

120.1.1.0/24

121.1.1.0/24

Advertising