H3C Technologies H3C S5560 Series Switches User Manual
Page 227

212
Step Command
Remarks
2.
Create a tunnel interface,
specify the tunnel mode, and
enter tunnel interface view.
interface tunnel number mode { gre
[ ipv6 ] | ipv4-ipv4 | ipv6 | ipv6-ipv4
[ 6to4 | isatap ] | mpls-te }
By default, no tunnel interface is
created.
When you create a new tunnel
interface, you must specify the
tunnel mode. When you enter the
view of an existing tunnel
interface, you do not need to
specify the tunnel mode.
To ensure successful packet
tunneling, the two ends of a
tunnel must use the same tunnel
mode.
3.
(Optional.) Configure a
description for the interface. description text
By default, the description for a
tunnel interface is Tunnel number
Interface.
4.
(Optional.) Specify an IRF
member device for
forwarding the traffic on the
tunnel interface.
service slot slot-number
By default, no IRF member device
is specified.
5.
Set the MTU of the tunnel
interface.
mtu size
The default MTU is 64000 bytes.
6.
Set the expected bandwidth
for the tunnel interface.
bandwidth bandwidth-value
By default, the expected
bandwidth is 64 kbps.
The expected bandwidth for the
tunnel interface affects the link
cost value. For more information,
see Layer 3—IP Routing
Configuration Guide.
7.
Set the ToS for tunneled
packets.
tunnel tos tos-value
The default setting is the same as
the ToS of the original packet.
8.
Set the TTL for tunneled
packets.
tunnel ttl ttl-value
The default TTL for tunneled
packets is 255.
9.
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 the 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.
For more information about the ip
binding vpn-instance command,
see MPLS Command Reference.
10.
(Optional.) Restore the
default settings of the tunnel
interface.
default
N/A