< Home

alias (interface view)

Function

The alias command configures an interface alias.

The undo alias command deletes an interface alias.

Format

alias alias

undo alias

Parameters

Parameter Description Value

alias

Specify the alias for an interface.

The value is a string of 1 to 31 characters. The name cannot contain the following characters:

( ) < > ' " \

Views

Ethernet interface view, Layer-2 Ethernet interface view, Eth-Trunk interface, Layer-2 Eth-Trunk interface view, Tunnel interface, Dialer interface view, virtual-template interface view, NULL interface view, loopback interface view, VLANIF interface view, Management interface view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Set the alias for GigabitEthernet 0/0/1 to Interface1.

<sysname> system-view
[sysname] interface GigabitEthernet 0/0/1
[sysname-GigabitEthernet0/0/1] alias Interface1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >