< Home

loopback-detect untagged mac-address

Function

The loopback-detect untagged mac-address command sets the destination MAC address of untagged loopback detection packets.

The undo loopback-detect untagged mac-address command restores the default destination MAC address of untagged loopback detection packets.

By default, the destination MAC address of untagged loopback detection packets is 0180-C200-000A.

Format

loopback-detect untagged mac-address mac-address

undo loopback-detect untagged mac-address [ mac-address ]

Parameters

Parameter

Description

Value

mac-address mac-address

Specifies the destination MAC address of untagged loopback detection packets.

The destination MAC address can only be a broadcast MAC address or a multicast MAC address.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The loopback-detect untagged mac-address command applies to scenarios with self-loops and loops on the downstream network. When the connected interfaces are access interfaces, run the loopback-detect packet vlan command to configure the device to detect loops in a specified VLAN. This is because untagged packets are processed only when the transmit interface receives them. If the device is not configured to detect loops in a specified VLAN, run the loopback-detect untagged mac-address command.

Prerequisites

Loopback detection has been enabled using the loopback-detect enable (system view) command.

Precautions

If you run this command multiple times, only the latest configuration takes effect.

You are not advised to set the destination MAC address of untagged loopback detection packets to a destination MAC address of other protocols but to the broadcast MAC address FFFF-FFFF-FFFF.

Example

# Set the destination MAC address of untagged loopback detection packets to FFFF-FFFF-FFFF.

<HUAWEI> system-view
[HUAWEI] loopback-detect enable
[HUAWEI] loopback-detect untagged mac-address ffff-ffff-ffff
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >