< Home

description (tunnel interface view)

Function

The description command sets the description of the current tunnel interface.

The undo description command deletes the description of the current tunnel interface.

By default, a tunnel interface does not have a description.

Format

description text

undo description

Parameters

Parameter Description Value
text Specifies the description of a tunnel interface. The value is a string of 1 to 242 case-sensitive characters, with spaces supported.

Views

Tunnel interface view

Default Level

2: Configuration level

Usage Guidelines

After using the interface tunnel command to create a tunnel interface, you can run the description command to configure a description of the tunnel interface to facilitate later query.

To check the description of a tunnel interface, run the display this interface command in the tunnel interface view or the display interface tunnel command.

Example

# Configure the description of Tunnel 1.
<HUAWEI> system-view
[HUAWEI] interface tunnel 1
[HUAWEI-Tunnel1] description This is a tunnel from 10.1.1.1 to 10.2.2.2
# Delete the description of Tunnel 1.
<HUAWEI> system-view
[HUAWEI] interface tunnel 1
[HUAWEI-Tunnel1] undo description
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >