H3C Technologies H3C S7500E Series Switches User Manual

Page 173

Advertising
background image

15-16

To do…

Use the command…

Remarks

ipv6 address { ipv6-address

prefix-length |

ipv6-address/prefix-length }

Configure an

IPv6 global

unicast

address or a

site-local

address

ipv6 address

ipv6-address/prefix-length eui-64

Required.

Use either command.

By default, no IPv6 global unicast

address or site-local address is

configured for the tunnel interface.

ipv6 address auto link-local

Configure an

IPv6 address

for the tunnel

interface

Configure an

IPv6 link-local

address

ipv6 address ipv6-address

link-local

Optional

By default, a link-local address will

automatically be generated when an

IPv6 global unicast address or site-local

address is configured.

Specify the 6to4 tunnel mode

tunnel-protocol ipv6-ipv4 6to4

Required

By default, the tunnel is a GRE over

IPv4 tunnel. 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

source { ip-address |

interface-type interface-number }

Required

By default, no source address or

interface is configured for the tunnel.

z

No destination address needs to be configured for a 6to4 tunnel because the destination address

can automatically be obtained from the IPv4 address embedded in the 6to4 IPv6 address.

z

To encapsulate and forward IPv6 packets whose destination address does not belong to the

network segment where the receiving tunnel interface resides, you need to configure a static route

or dynamic routing for forwarding those packets through this tunnel interface. Because automatic

tunnels do not support dynamic routing, you can configure a static route to that destination IPv6

address with this tunnel interface as the outbound interface or the peer tunnel interface as the next

hop. A similar configuration needs to be performed at the other tunnel end. For the detailed

configuration, refer to IPv6 Static Routing Configuration or other routing protocol configurations in

the Layer 3 - IP Routing Configuration Guide.

z

The automatic tunnel interfaces using the same encapsulation protocol cannot share the same

source IP address.

Advertising