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

Page 599

Advertising
background image

574

Figure 323 Network diagram

Configuration procedure

1.

Configure IP addresses:
Configure the IP address and mask for each interface as per

Figure 323

. (Details not shown.)

2.

Configure a GRE tunnel:
# Create Tunnel 0 on SecPath A and configure the IP address and mask for the interface.

<SecPathA> system-view

[SecPathA] interface tunnel 0

[SecPathA-Tunnel0] ip address 50.1.1.1 24

# Configure Tunnel 0 to work in the GRE tunnel mode and specify the source and destination
addresses of the interface.

[SecPathA-Tunnel0] tunnel-protocol gre

[SecPathA-Tunnel0] source 20.1.1.1

[SecPathA-Tunnel0] destination 30.1.1.2

[SecPathA-Tunnel0] quit

# Create Tunnel 0 on SecPath C and configure the IP address and mask for the interface.

<SecPathC> system-view

[SecPathC] interface tunnel 0

[SecPathC-Tunnel0] ip address 50.1.1.2 24

# Configure Tunnel to operate in the GRE tunnel mode and configure the source and destination

addresses of the interface.

[SecPathC-Tunnel0] tunnel-protocol gre

[SecPathC-Tunnel0] source 30.1.1.2

[SecPathC-Tunnel0] destination 20.1.1.1

[SecPathC-Tunnel0] quit

3.

Configure OSPF:
# Configure OSPF on SecPath A.

[SecPathA] ospf 1

[SecPathA-ospf-1] area 0

[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 20.1.1.0 0.0.0.255

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

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

[SecPathA-ospf-1] quit

Advertising