Displaying and maintaining gre, Gre over ipv4 tunnel configuration examples, Gre over ipv4 tunnel configuration example 1 – H3C Technologies H3C S12500 Series Switches User Manual
Page 242: Network requirements

228
Step Command
Remarks
8.
Set an IPv6 MTU for the tunnel
interface.
ipv6 mtu mtu-size
Optional.
By default, the IPv6 MTU is 1476
bytes.
The ipv6 mtu command applies
only to IPv6 packets sent from a
tunnel interface.
9.
Return to system view.
quit
N/A
10.
Configure the device to
discard the IPv4-compatible
IPv6 packets.
tunnel discard
ipv4-compatible-packet
Optional.
By default, the switch does not
discard the IPv4-compatible IPv6
packets.
For information about tunnel interfaces and more configuration commands in a tunnel interface, see
"Configuring tunneling."
For information about commands interface tunnel, tunnel-protocol, source, and destination, see Layer
3—IP Services Command Reference.
Displaying and maintaining GRE
Task Command Remarks
Display information about a
specific tunnel interface or all
tunnel interfaces.
display interface tunnel [ number ] [ |
{ begin | exclude | include }
regular-expression ]
Available in any view.
Display IPv6 information about a
specific tunnel interface or all
tunnel interfaces.
display ipv6 interface tunnel [ number ]
[ brief ] [ | { begin | exclude | include }
regular-expression ]
Available in any view.
For more information about commands display interface tunnel and display ipv6 interface tunnel, see
Layer 3—IP Services Command Reference.
GRE over IPv4 tunnel configuration examples
IMPORTANT:
By default, Ethernet, VLAN, and aggregate interfaces are down. To configure such an interface, bring the
interface up by executing the undo shutdown command.
GRE over IPv4 tunnel configuration example 1
Network requirements
Switch A and Switch B are interconnected through the Internet. Two private IPv4 subnets Group 1 and
Group 2 are interconnected through a GRE tunnel between the two switches.