< Home

encapsulate-ring-id enable

Function

The encapsulate-ring-id enable command enables ERPS ring ID encapsulation in the destination MAC addresses of ERPS protocol packets.

The undo encapsulate-ring-id enable command disables ERPS ring ID encapsulation in the destination MAC addresses of ERPS protocol packets.

By default, ERPS ring ID encapsulation in the destination MAC addresses of ERPS protocol packets is disabled.

Format

encapsulate-ring-id enable

undo encapsulate-ring-id enable

Parameters

None

Views

ERPS ring view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

A Huawei device cannot communicate with a non-Huawei device that sends ERPS protocol packets whose destination MAC addresses carry ERPS ring IDs. To enable the Huawei device to communicate with such a non-Huawei device, run the encapsulate-ring-id enable command to enable ERPS ring ID encapsulation in the destination MAC addresses of ERPS protocol packets sent by the Huawei device.

Precautions

The encapsulate-ring-id enable command and its undo form fail to be run in the view of an ERPS ring that has an interface added. To resolve this issue, remove the interface from the ERPS ring by running the undo erps ring ring-id command in the interface view or undo port interface-type interface-number command in the ERPS ring view.

Example

# Enable ERPS ring ID encapsulation in the destination MAC addresses of ERPS protocol packets.

<HUAWEI> system-view
[HUAWEI] erps ring 1
[HUAWEI-erps-ring1] encapsulate-ring-id enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >