interface loopback

Function

The interface loopback command creates a loopback interface.

The undo interface loopback command deletes a loopback interface.

Format

interface loopback loopback-number

undo interface loopback loopback-number

Parameters

Parameter Description Value
loopback-number Specifies the number of a loopback interface.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

After the loopback interface is created, it keeps Up all the time. Owing to its loopback features, the loopback interface is often used to improve the reliability of configuration.

Example

# Create a loopback interface 5.

<sysname> system-view
[sysname] interface loopback 5
[sysname-LoopBack5]

Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.