Hà Nội: NTT03, Line 1, Thống Nhất Complex, 82 Nguyễn Tuân, Thanh Xuân, Hà Nội. ● HCM: Số 31B, Đường 1, Phường An Phú, Quận 2 (Thủ Đức), TP HCM. ===> Đơn Vị Hàng Đầu Trong Lĩnh Vực Cung Cấp Thiết Bị Security - Network - Wifi - CCTV - Conference - Máy chủ Server - Lưu trữ Storge.
Danh mục sản phẩm

Configure Tunnel Interface

Configuration Condition

None

Configure Basic Functions of Tunnel Interface

Table 8-2 Configure basic functions of tunnel interface

Step

Command

Description

Enter the global configuration mode configure terminal -

Create tunnel interface and enter its configuration mode

interface tunnel tunnel-unit

Mandatory
By default, the tunnel interface is not created on the device.

Configure work mode of tunnel interface

tunnel mode { gre [ ip | ipv6 ] | ipip | ipipv6 | ipv6ipv6 | ipv6ip [ 6to4 | isatap ] }

Optional
By default, the work mode of the tunnel interface is GRE over IPv4.

Configure TOS of tunnel interface

tunnel tos tos-value

Optional
By default, the tunnel interface is not configured with TOS.

Configure TTL of tunnel interface

tunnel ttl ttl-value

Optional
By default, the TTL value of the tunnel interface is 255.

note


  • The TOS configured on tunnel interface is used to fill the TOS field in the outer IPv4 packet header during encapsulation. If the TOS value is not configured on tunnel interface, use the TOS value in the inner IPv4 packet header.
  • The TTL value configured on tunnel interface is used to fill the TTL field in the outer IPv4 packet header during encapsulation.