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

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.
- H3C SR8800 H3C SR6600-X H3C SR6600 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C S6800 Series Switches H3C S3100V2 Series Switches H3C S12500-X Series Switches H3C S9800 Series Switches