H3C Technologies H3C SecPath F1000-E User Manual

Page 454

Advertising
background image

429

[SecPathA-ospf-1] quit

# Configure Router A.

<RouterA> system-view

[RouterA] router id 2.2.2.2

[RouterA] ospf

[RouterA-ospf-1] area 0

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

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

[RouterA-ospf-1] quit

# Configure SecPath B.

<SecPathB> system-view

[SecPathB] router id 3.3.3.3

[SecPathB] ospf

[SecPathB-ospf-1] area 0

[SecPathB-ospf-1-area-0.0.0.0] network 192.168.1.0 0.0.0.255

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

[SecPathB-ospf-1] quit

# Configure Router B.

<RouterB> system-view

[RouterB] router id 4.4.4.4

[RouterB] ospf

[RouterB-ospf-1] area 0

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

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

[RouterB-ospf-1] return

# Display neighbor information on SecPath A.

[SecPathA] display ospf peer verbose

OSPF Process 1 with Router ID 1.1.1.1

Neighbors

Area 0.0.0.0 interface 192.168.1.1(GigabitEthernet0/1)'s neighbors

Router ID: 2.2.2.2 Address: 192.168.1.2 GR State: Normal

State: 2-Way Mode: None Priority: 1

DR: 192.168.1.4 BDR: 192.168.1.3 MTU: 0

Dead timer due in 38 sec

Neighbor is up for 00:01:31

Authentication Sequence: [ 0 ]

Router ID: 3.3.3.3 Address: 192.168.1.3 GR State: Normal

State: Full Mode: Nbr is Master Priority: 1

DR: 192.168.1.4 BDR: 192.168.1.3 MTU: 0

Dead timer due in 31 sec

Neighbor is up for 00:01:28

Authentication Sequence: [ 0 ]

Router ID: 4.4.4.4 Address: 192.168.1.4 GR State: Normal

State: Full Mode: Nbr is Master Priority: 1

Advertising