Ipv6 basics configuration example, Network requirements, Displaying and maintaining gre – H3C Technologies H3C S12500 Series Switches User Manual

Page 191: Gre over ipv4 configuration example

Advertising
background image

178

Step Command

Remarks

6.

(Optional.) Enable GRE
keepalive and set the

keepalive interval and
keepalive number.

keepalive [ interval [ times ] ]

By default, GRE keepalive is
disabled.

7.

Return to system view.

quit N/A

For information about tunnel interfaces and more configuration commands on a tunnel interface, see

"Configuring tunneling."
For more information about the interface tunnel, source, and destination commands, see Layer 3—IP

Services Command Reference.

161B

Displaying and maintaining GRE

Execute display commands in any view.

Task Command Remarks

Display information about
tunnel interfaces.

display interface [ tunnel [ number ] ]
[ brief ]

For more information about this
command, see Layer 3—IP Services
Command Reference
.

Display IPv6 information about
tunnel interface.

display ipv6 interface [ tunnel
[ number ] ] [ brief ]

For more information about this
command, see Layer 3—IP Services

Command Reference.

162B

GRE over IPv4 configuration example

By default, Ethernet interfaces, VLAN interfaces, and aggregate interfaces are in down state. To
configure such an interface, first use the undo shutdown command to bring the interface up.

432B

Network requirements

Switch A and Switch B are connected to the Internet running IPv4. Establish a GRE tunnel between the

switches to interconnect the two private IPv4 networks Group 1 and Group 2.

Figure 77 Network diagram

433B

Configuration procedure

Before the configuration, make sure Switch A and Switch B can reach each other.

Advertising