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

Page 30

Advertising
background image

14

Figure 17 Network diagram for P2MP GRE tunnel backup at a branch

GE1/1

GE1/1

Device B

Device C

(Backup gateway)

IPv4 network

Device A

GE1/1

GE1/2

Tunnel0

Tunnel0

Tunnel0

Host B

Host A

GE1/2

GE1/2

Headquarters

Branch

GRE P2MP tunnel

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

172.17.17.1/24

GE1/2

192.168.1.2/24

Tunnel0

192.168.22.1/24

Tunnel0

192.168.22.2/24

Device C

GE1/1

11.1.1.3/24

Device C

Tunnel0

192.168.22.3/24

GE1/2

192.168.1.3/24

Configuration procedure

Configure IP addresses and masks for interfaces as per

Figure 17

. (Omitted)

Step1

Configure Device A

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

<DeviceA> system-view

[DeviceA] interface tunnel 0

[DeviceA-Tunnel0] ip address 192.168.22.1 255.255.255.0

# Configure the tunnel encapsulation mode of interface Tunnel 0 as P2MP GRE.

[DeviceA-Tunnel0] tunnel-protocol gre p2mp

# Configure the mask of the branch network connected to Tunnel 0 as 255.255.255.0.

[DeviceA-Tunnel0] gre p2mp branch-network-mask 255.255.255.0

# Set the tunnel entry aging time to 20 seconds.

[DeviceA-Tunnel0] gre p2mp aging-time 20

# Configure the source IP address of interface Tunnel 0.

[DeviceA-Tunnel0] source 11.1.1.1

[DeviceA-Tunnel0] quit

# Configure a static route to the branch network with the outgoing interface being Tunnel 0.

[DeviceA] ip route-static 192.168.1.0 255.255.255.0 tunnel 0

Step2

Configure Device B

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

<DeviceB> system-view

[DeviceB] interface tunnel 0

[DeviceB-Tunnel0] ip address 192.168.22.2 255.255.255.0

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

Advertising
This manual is related to the following products: