H3C Technologies H3C SecPath F1000-E User Manual

Page 180

Advertising
background image

34

To do…

Use the command…

Remarks

or site-local

address

ipv6 address
ipv6-address/prefix-length
eui-64

ipv6 address auto link-local

interface

Configure an
IPv6 link-local

address

ipv6 address ipv6-address
link-local

By default, no IPv6 address is

configured for the tunnel interface.

Specify the IPv6 over IPv6 tunnel
mode

tunnel-protocol ipv6-ipv6

Optional
The default tunnel mode is GRE over

IPv4.
The same tunnel mode should be
configured at both ends of the tunnel.

Otherwise, packet delivery will fail.

Configure a source address or
interface for the tunnel interface

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

Required
By default, no source address or
interface is configured for the tunnel.

Configure the destination
address for the tunnel interface destination ipv6-address

Required
By default, no destination address is

configured for the tunnel.

Configure the maximum number
of nested encapsulations of a
packet

encapsulation-limit
[ number ]

Optional
4 by default.

NOTE:

To encapsulate and forward IPv6 packets whose destination address does not belong to the subnet
where the receiving tunnel interface resides, you need to configure a static route or dynamic routing for

forwarding those packets through this tunnel interface. If you configure a static route to that destination
IPv6 address, specify this tunnel interface as the outbound interface, or the peer tunnel interface address

as the next hop. A similar configuration needs to be performed at the other tunnel end. If you configure

dynamic routing at both ends, enable the dynamic routing protocol on both tunnel interfaces. For the
detailed configuration, see

IPv6 Static Routing Configuration or other routing protocol configurations in

the

IP Routing Volume.

The IPv6 address of a tunnel interface must not be on the same subnet as the destination address of the
tunnel.

The destination address of a route with the tunnel interface as the egress interface must not be on the
same subnet as the destination address of the tunnel.

Two or more tunnel interfaces using the same encapsulation protocol must have different source and
destination addresses.

If you specify a source interface instead of a source address for the tunnel, the source address of the
tunnel is the primary IP address of the source interface.

Only the IPv6 over IPv6 tunnel has a maximum number of nested encapsulations for a packet.

Advertising
This manual is related to the following products: