beautypg.com

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

Page 26

background image

10

NOTE:

To avoid looping, do not configure the tunnel interface of the GRE over IPv4 tunnel as the backup interface
of the P2MP GRE tunnel interface on Device B.

Figure 16 Network diagram for P2MP GRE tunnel backup at the headquarters

Device Interface IP

Address

Device Interface IP

Address

Device A

GE1/1

11.1.1.1/24

Device B

GE1/1

11.1.1.2/24

GE1/2

10.1.1.1/24

GE1/2

10.1.1.2/24

GE1/3

192.168.11.1/24

GE1/3

192.168.11.2/24

Tunnel0

172.168.1.1/24

Tunnel0

172.168.2.2/24

Tunnel1

192.168.22.1/24

Tunnel1

192.168.22.2/24

Device C

GE1/1

11.1.1.3/24

Device C

Tunnel0

172.168.1.3/24

GE1/2

192.168.12.1/24

Tunnel1

172.168.2.3/24

Configuration procedure

Configure IP addresses and masks for interfaces as per

Figure 16

. (Omitted)

Step1

Configure Device A

# Create interface Tunnel 1 and configure an IP address for it.

system-view

[DeviceA] interface tunnel 1

[DeviceA-Tunnel1] ip address 192.168.22.1 255.255.255.0

# Configure the tunnel encapsulation mode of interface Tunnel 1 as GRE over IPv4.

[DeviceA-Tunnel1] tunnel-protocol gre

# Configure the source and destination IP addresses of interface Tunnel 1.

[DeviceA-Tunnel1] source 10.1.1.1

[DeviceA-Tunnel1] destination 10.1.1.2

[DeviceA-Tunnel1] quit

# Create interface Tunnel 0 and configure an IP address for it.

[DeviceA] interface tunnel 0

[DeviceA-Tunnel0] ip address 172.168.1.1 255.255.255.0