Configuring an ipv6 manual tunnel, Configuration prerequisites, Configuration guidelines – H3C Technologies H3C S12500 Series Switches User Manual

Page 218: Configuration procedure

Advertising
background image

204

NOTE:

When active/standby switchover occurs or the standby card is removed from the switch, tunnels

configured on the active or standby card still exist. To delete tunnels, use the undo interface tunnel
command.

The bandwidth of a tunnel interface set through the tunnel bandwidth command is used for path cost
calculation by dynamic routing protocols and has no impact on the transfer rate of the interface. It is a

good practice to set the value based on the actual bandwidth of the outgoing interface.

Configuring an IPv6 manual tunnel

Configuration prerequisites

Configure IP addresses for interfaces (such as the VLAN interface, Ethernet interface, and loopback

interface) on the switch to ensure normal communication. One of the interfaces will be used as the source
interface of the tunnel.

Configuration guidelines

Follow these guidelines when you configure an IPv6 manual tunnel:

After a tunnel interface is deleted, all features configured on the tunnel interface will be deleted.

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

where the current tunnel interface resides, you must 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. Similar configuration is required 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 Layer 3—IP Routing Configuration Guide.

Configuration procedure

To configure an IPv6 manual tunnel:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable IPv6.

ipv6

By default, IPv6 is disabled.

3.

Create a tunnel interface
and enter tunnel interface

view.

interface tunnel number

By default, there is no tunnel interface
on the switch.

Advertising