03-Layer 2—LAN Switching Command Reference

HomeSupportRoutersCR16000-M SeriesReference GuidesCommand ReferencesH3C CR16000-M Router Command Reference-R8630Pxx-6W10003-Layer 2—LAN Switching Command Reference
11-L2PT commands
Title Size Download
11-L2PT commands 50.58 KB

L2PT commands

l2protocol transparent enable

Use l2protocol transparent enable to enable transparent transmission for packets of the specified protocol.

Use undo l2protocol transparent enable to disable transparent transmission for packets of the specified protocol.

Syntax

l2protocol transparent { lacp | lldp } enable

undo l2protocol transparent { lacp | lldp } enable

Default

Transparent transmission is disabled for packets of the LACP and LLDP protocols, and enabled for other packets.

Views

Layer 3 Ethernet interface view

Layer 3 Ethernet subinterface view

Layer 3 aggregate interface view

Layer 3 aggregate subinterface view

Enter Layer 3 FlexE logical interface view.

Enter Layer 3 FlexE logical subinterface view.

Predefined user roles

network-admin

Parameters

lacp: Specifies LACP.

lldp: Specifies LLDP.

Usage guidelines

This feature is applicable to L2VPN networks such as VPLS and VPWS networks. With this feature disabled on a Layer 3 interface acting as an AC, it drops received LACP or LLDP packets. As a result, user networks across sites cannot communicate by using these Layer 2 protocols. With this feature enabled on a PE, the Layer 3 interface acting as an AC can receive and transparently transmit packets of the specified protocol. These packets are not encapsulated with the multicast destination MAC address for tunneled packets. When the packets reach the peer PE through a PW, the peer PE forwards the packets to the corresponding user sites.

For transparent transmission configurations of different packets in the network, see the following table.

 

Packet type

Network type

Configuration of transparent packet transmission

eoam3ah

SRv6 VPLS: Transparent transmission

SRv6 VPWS: Transparent transmission

l2protocol transparent lacp enable

lldp

SRv6 VPLS: Transparent transmission

SRv6 VPWS: Transparent transmission

l2protocol transparent lldp enable

gmrp

SRv6 VPLS: Transparent transmission

SRv6 VPWS: Transparent transmission

None.

gvrp

SRv6 VPLS: Transparent transmission

SRv6 VPWS: Transparent transmission

None.

dldp

SRv6 VPLS: Transparent transmission

SRv6 VPWS: Transparent transmission

None.

hgmp

SRv6 VPLS: Transparent transmission

SRv6 VPWS: Transparent transmission

None.

vtp

SRv6 VPLS: Transparent transmission

SRv6 VPWS: Transparent transmission

None.

dtp

SRv6 VPLS: Transparent transmission

SRv6 VPWS: Transparent transmission

None.

cdp

SRv6 VPLS: Transparent transmission

SRv6 VPWS: Transparent transmission

None.

udld

SRv6 VPLS: Transparent transmission

SRv6 VPWS: Transparent transmission

None.

pagp

SRv6 VPLS: Transparent transmission

SRv6 VPWS: Transparent transmission

None.

pvst+

SRv6 VPLS: Transparent transmission

SRv6 VPWS: Transparent transmission

None.

stp

SRv6 VPLS: Transparent transmission

SRv6 VPWS: Transparent transmission

None.

lacp

SRv6 VPLS: Transparent transmission

SRv6 VPWS: Transparent transmission

l2protocol transparent lacp enable

mvrp

SRv6 VPLS: Transparent transmission

SRv6 VPWS: Transparent transmission

None.

e-lmi

SRv6 VPLS: Transparent transmission

SRv6 VPWS: Transparent transmission

None.

e-lmi

SRv6 VPLS: Transparent transmission

SRv6 VPWS: Transparent transmission

None.

802.1X

SRv6 VPLS: Transparent transmission

SRv6 VPWS: Transparent transmission

None.

sstp

SRv6 VPLS: Transparent transmission

SRv6 VPWS: Transparent transmission

None.

 

On a Layer 3 interface that has LLDP packet transparent transmission enabled, do not configure the interface to operate in dynamic aggregation mode to prevent aggregate interface flapping.

On a Layer 3 interface that has LLDP packet transparent transmission enabled, disable LLDP to prevent LLDP exceptions on devices attached to the interface.

If different subinterfaces of the same main interface on a following card are bound to the same VSI, transparent transmission for packets of the specified protocol takes effect on all subinterfaces of the main interface once you enable the feature on one of them.

Examples

# Enable transparent transmission for packets of the LACP protocol on GigabitEthernet1/0/1.1.

<Sysname> system-view

[Sysname] interface ten-gigabitethernet 3/0/1.1

[Sysname-GigabitEthernet1/0/1.1] l2protocol transparent lacp enable

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Intelligent Storage
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
  • Technical Blogs
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网