loop-detection identifier

Function

The loop-detection identifier command configures a device identifier for L2VPN loop detection.

The undo loop-detection identifier command deletes a device identifier configured for L2VPN loop detection.

By default, no authentication identifier for L2VPN loop detection is globally configured.

Format

loop-detection identifier identifier-value

undo loop-detection identifier [ identifier-value ]

Parameters

Parameter Description Value
identifier-value

Specifies an authentication identifier.

The name is a string of 1 to 16 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
vlan write

Usage Guidelines

Usage Scenario

L2VPN loop detection detects whether a loop exists between the AC interfaces of two PEs on a VPLS or VLL network to which a user network is dual homed. To prevent an AC interface from being unexpectedly blocked, run the loop-detection identifier command on the two PEs to configure the same identifier for them. After a PE receives a detection packet, it checks whether the identifier in the packet is the same as its local one. The PE considers the packet valid only when the identifiers are the same.

Prerequisites

L2VPN loop detection has been enabled globally using the loop-detection enable command.

Precautions

The loop-detection identifier command takes effect only for L2VPN loop detection.

Example

# Configure the device identifier as huawei_123 for L2VPN loop detection.
<HUAWEI> system-view
[~HUAWEI] loop-detection enable
[*HUAWEI] loop-detection identifier huawei_123
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >