link-protocol discard lacp

Function

The link-protocol discard lacp command configures an interface bound to a VLL to drop LACP packets.

The undo link-protocol discard lacp command restores the default configuration.

By default, an interface bound to a VLL transparently transmits LACP packets.

Format

link-protocol discard lacp

undo link-protocol discard lacp

Parameters

None

Views

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

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
forwarding write

Usage Guidelines

Usage Scenario

By default, main interfaces bound to VLL instances transmit LACP packets. If you want these interfaces to drop LACP packets, run the link-protocol discard lacp command.

Precautions

  • The link-protocol discard lacp command applies only to interfaces bound to VLLs.
  • The link-protocol discard lacp and mode lacp-static commands cannot be used together.

Example

# Bind interface GE 0/1/0.1 to a VLL and configure the interface to drop LACP packets.
<HUAWEI> system-view
[~HUAWEI] interface loopback 1
[*HUAWEI-loopback1] ip address 1.1.1.1 32
[*HUAWEI-loopback1] quit
[*HUAWEI] mpls lsr-id 1.1.1.1
[*HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] interface GigabitEthernet0/1/0.1
[*HUAWEI-GigabitEthernet0/1/0.1] mpls l2vc 1.1.1.1 32
[*HUAWEI-GigabitEthernet0/1/0.1] link-protocol discard lacp
Copyright ? Huawei Technologies Co., Ltd.
Copyright ? Huawei Technologies Co., Ltd.
< Previous topic Next topic >