Displaying and maintaining p2mp gre tunnels, P2mp gre tunnel configuration examples, Basic p2mp gre tunnel configuration example – H3C Technologies H3C SecPath F1000-E User Manual

Page 23: Network requirements

Advertising
background image

7

When configuring a route through the tunnel, you can configure a static route, using the address of

the network segment that the original packet is destined for as its destination address and the

address of the peer tunnel interface as its next hop. Or, you can enable a dynamic routing protocol
on both the tunnel interface and the interface connecting the private network, so that the dynamic

routing protocol can establish a routing entry that instructs the device to forward packets through the

tunnel. It is not allowed to set up a static route whose destination address is in the subnet of the

tunnel interface.

Displaying and Maintaining P2MP GRE Tunnels

To do…

Use the command…

Remarks

Display the tunnel entry
information of a P2MP GRE tunnel

interface

display gre p2mp
tunnel-table interface tunnel

number

Available in any view

Clear the tunnel entry information
of a P2MP GRE tunnel interface

reset gre p2mp tunnel-table
[ interface tunnel number

[ dest-address

tunnel-dest-address] ]

Available in user view

P2MP GRE Tunnel Configuration Examples

Basic P2MP GRE Tunnel Configuration Example

Network requirements

A company has a network at the headquarters and each of its branches. It is required to implement

communication between the headquarters and the branches through GRE, while communication

between the branches is not allowed.

Figure 15

shows a simplified scenario, where there is only one

branch.

Device A is the gateway at the headquarters, and Device B is the gateway of the branch.

Host A is an internal user at the headquarters and Host B is an internal user at the branch. A GRE
tunnel is established between Device A and Device B to implement intercommunication between

Host A and Host B.

If you use P2P GRE tunnels, the number of GRE tunnels to be configured is the same as that of the
branches. To simplify the configuration at the headquarters, you can create a P2MP GRE tunnel interface

on Device A, and configure a GRE over IPv4 tunnel interface on Device B.

NOTE:

This example gives only the configuration on Device B. The configuration on other branch gateways is
similar.

Advertising
This manual is related to the following products: