beautypg.com

Displaying and maintaining gre, Gre over ipv4 tunnel configuration example, Network requirements – H3C Technologies H3C S10500 Series Switches User Manual

Page 198

background image

187

To do…

Use the command…

Remarks

Configure the destination address
for the tunnel interface

destination ipv6-address

Required
By default, no destination address

is configured for a tunnel interface.

Return to system view

quit

Configure the device to discard the
IPv4-compatible IPv6 packets

tunnel discard
ipv4-compatible-packet

Optional
By default, the device does not

discard the IPv4-compatible IPv6

packets.

Configure a route for packet
forwarding through the tunnel

See Layer 3—IP Routing
Configuration Guide
.

Required
Each end of the tunnel must have a

route (static or dynamic) through

the tunnel to the other end.

NOTE:

For information about commands interface tunnel, tunnel-protocol, source, destination, and tunnel
discard ipv4-compatible-packet, see

Layer 3—IP Services Command Reference.

For information about tunnel interfaces and related configurations, see the chapter “Tunneling
configuration.”

Displaying and maintaining GRE

To do…

Use the command…

Remarks

Display information about a
specified or all tunnel interfaces

display interface [ tunnel ] [ brief
[ down ] ] [ | { begin | exclude |

include } regular-expression ]
display interface tunnel number

[ brief ] [ | { begin | exclude |

include } regular-expression ]

Available in any view

Display IPv6 information about a
tunnel interface

display ipv6 interface tunnel
[ number ] [ brief ] [ | { begin |

exclude | include }

regular-expression ]

Available in any view

NOTE:

For information about commands display interface tunnel and display ipv6 interface tunnel, see

Layer

3—IP Services Command Reference.

GRE over IPv4 tunnel configuration example

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.