beautypg.com

Configuration procedure – H3C Technologies H3C SR8800 User Manual

Page 147

background image

131

Router A

GE 3/1/1

192.168.0.102/24 Router B

GE 3/1/1

192.168.0.100/24

GE 3/1/2

10.1.1.102/24

GE 3/1/2

13.1.1.1/24

Router C

GE 3/1/1

10.1.1.100/24

GE

3/1/2

13.1.1.2/24

Configuration procedure

1.

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

2.

Configure OSPF basic functions:
# Configure Router A.

system-view

[RouterA] ospf

[RouterA-ospf-1] area 0

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

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

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

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

[RouterA-ospf-1] quit

[RouterA] interface GigabitEthernet 3/1/1

[RouterA-GigabitEthernet3/1/1] ospf cost 2

# Configure Router B.

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 GigabitEthernet 3/1/2

[RouterB-GigabitEthernet3/1/2] ospf cost 2

# Configure Router C.

system-view

[RouterC] ospf

[RouterC-ospf-1] area 0

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

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

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

[RouterC-ospf-1] quit

3.

Configure BFD:
# Enable BFD on Router A and configure BFD parameters.

system-view

[RouterA] bfd session init-mode active

[RouterA] interface GigabitEthernet 3/1/1

[RouterA-GigabitEthernet3/1/1] ospf bfd enable

[RouterA-GigabitEthernet3/1/1] bfd min-transmit-interval 400

[RouterA-GigabitEthernet3/1/1] bfd min-receive-interval 400