318
Step Command Remarks
7. Set the expected bandwidth
for the tunnel interface.
bandwidth
bandwidth-value
The default expected bandwidth
(in kbps) is the interface
maximum rate divided by 1000.
The expected bandwidth for the
tunnel interface affects the link
cost value. For more information,
see Layer 3—IP Routing
Configuration Guide.
8. Set the ToS for tunneled
packets.
tunnel tos
tos-value
The default setting is the same
as the ToS of the original
packets.
9. Set the TTL for tunneled
packets.
tunnel ttl
ttl-value
The default TTL for tunneled
packets is 255.
10. Specify the VPN instance to
which the tunnel destination
belongs.
tunnel vpn-instance
vpn-instance-name
By default, the tunnel destination
belongs to the public network.
For a tunnel interface to come
up, the tunnel source and
destination must belong to the
same VPN. To specify a VPN
instance for the tunnel source,
use the
ip binding
vpn-instance
command on the
tunnel source interface.
11. (Optional.) Restore the
default settings of the tunnel
interface.
default
N/A
12. (Optional.) Shut down the
tunnel interface.
shutdown
By default, the state of a tunnel
interface is not
Administratively DOWN
.
Configuring an IPv6 over IPv4 manual tunnel
Follow these guidelines when you configure an IPv6 over IPv4 manual tunnel:
• The tunnel destination address specified on the local device must be identical with the tunnel
source address specified on the tunnel peer device.
• Do not specify the same tunnel source and destination addresses for the tunnel interfaces in the
same mode on a device.
• To ensure correct packet forwarding, identify whether the destination IPv6 network and the IPv6
address of the local tunnel interface are on the same subnet. If they are not, configure a route
reaching the destination IPv6 network through the tunnel interface. You can configure the route
by using one of the following methods:
{ Configure a static route, and specify the local tunnel interface as the egress interface or
specify the IPv6 address of the peer tunnel interface as the next hop.
{ Enable a dynamic routing protocol on both tunnel interfaces to achieve the same purpose.
For more information about route configuration, see Layer 3—IP Routing Configuration Guide.
To configure an IPv6 over IPv4 manual tunnel:
Step Command Remarks
1. Enter system view.
system-view
N/A