< Home

interface tunnel

Function

The interface tunnel command creates a tunnel interface and enter the tunnel interface view.

The undo interface tunnel command deletes the specified tunnel interface.

Format

interface tunnel interface-number

undo interface tunnel interface-number

Parameters

Parameter Description Value

interface-number

Specifies the number of a tunnel interface.

The value is an integer, the value range of the parameter is subject to the specific device model. Please refer to the actual data in practice.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

By default, no tunnel interface is configured.

When a tunnel interface serves as the GRE interface, IPv4/IPv6 is in the UP state only after you configure a source IP address, destination address, and route for the interface.

Example

# Create a tunnel interface with interface number as 1.

<sysname> system-view
[sysname] interface tunnel 1
[sysname-Tunnel1] 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >