link-protocol forwarding

Function

The link-protocol forwarding command enables an interface to forward the specific packets.

The undo link-protocol forwarding command deletes the specific packets forwarding configuration. That means that an interface is enabled to discard the specific packets again after the undo link-protocol forwarding command is run.

By default, interfaces configured discard received lacp, lamp, c-stp, s-stp, port-authentication, link-oam, eoam3ah, e-lmi and ptp-peer-delay packets.

Format

link-protocol forwarding { c-stp | s-stp | eoam3ah | e-lmi | ptp-peer-delay }

undo link-protocol forwarding { c-stp | s-stp | eoam3ah | e-lmi | ptp-peer-delay }

Parameters

Parameter Description Value
c-stp

Configures interfaces to forward Layer 2 control protocol packets c-stp with the destination MAC address of 01-80-c2-00-00-00.

-

s-stp

Configures interfaces to forward Layer 2 control protocol packets s-stp with the destination MAC address of 01-80-c2-00-00-08.

-

e-lmi

Configures interfaces to forward Layer 2 control protocol packets e-lmi.

-

ptp-peer-delay

Configures interfaces to forward Layer 2 control protocol packets ptp-peer-delay.

-

eoam3ah

Configures interfaces to forward Layer 2 control protocol packets eoam3ah.

-

Views

Layer 2 Eth-Trunk interface view, Eth-Trunk interface view, Layer 2 GE interface view, GE interface view, GE electrical interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

This command enables an interface to forward the specific packets.

The protocol of lacp, lamp, c-stp, s-stp, port-authentication, e-lmi, eoam3ah cannot be run on Eth-Trunk member interfaces. A GE interface that has this command run cannot be added to an Eth-Trunk interface.

The protocol of link-oam and ptp-peer-delay cannot be configured on an Eth-Trunk interface, but can be configured on an Eth-Trunk member interface.

Example

# Configure Eth-Trunk 1 to forward C-STP packets.
<HUAWEI> system-view
[~HUAWEI] interface eth-trunk 1
[*HUAWEI-Eth-Trunk1] link-protocol forwarding c-stp
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >