beautypg.com

Displaying and maintaining gre – H3C Technologies H3C S12500-X Series Switches User Manual

Page 177

background image

166

Step Command

Remarks

4.

Configure a source IPv6

address or source interface for
the tunnel interface.

source { ipv6-address |
interface-type interface-number }

By default, no source IPv6 address
or interface is configured for a
tunnel interface.
If you configure a source IPv6
address for a tunnel interface, the

tunnel interface uses the source
IPv6 address as the source IPv6

address of the encapsulated

packets.
If you configure a source interface

for a tunnel interface, the tunnel
interface uses the IPv6 address of

the source interface as the source

IPv6 address of the encapsulated
packets.

5.

Configure a destination IPv6
address for the tunnel

interface.

destination ipv6-address

By default, no destination IPv6
address is configured for a tunnel

interface.
The destination IPv6 address is the

IPv6 address of the physical
interface that the tunnel remote

end uses to receive packets from

the GRE tunnel.
The tunnel local end uses this
address as the destination IPv6

address of the encapsulated

packets.

6.

Return to system view.

quit N/A

7.

(Optional.) Configure the

device to discard IPv6 packets
with IPv4-compatible IPv6

addresses

tunnel discard
ipv4-compatible-packet

By default, the device does not
discard such IPv6 packets.

Displaying and maintaining GRE

Execute display commands in any view and the reset command in user view.

Task Command Remarks

Display information about
tunnel interfaces.

display interface [ tunnel ] [ brief
[ down ] ]
display interface [ tunnel [ number ] ]

[ brief [ description ] ]

For more information about the
commands, see Layer 3—IP

Services Command Reference.

This manual is related to the following products: