configure l2pt profile add profile

configure l2pt profile profile_name add protocol filter filter_name {action [tunnel {cos cos} | encapsulate | none]}

Description

Adds an entry to an L2PT profile.

Syntax Description

profile profile_name Specifies the profile that defines L2PT configuration for L2 protocols.
add protocol filter filter_name Adds the specified Layer 2 protocol filter.
action Specifies the action to perform on PDUs of the protocol (the default value is tunnel).
tunnel Specifies to tunnel PDUs through the network.
cos cos Specifies to override the class of service for tunneled PDUs, and specifies the class of service value to use for tunneling PDUs.
encapsulate Specifies to encapsulate PDUs at egress, and decapsulate L2PT packets at ingress.
none Specifies to not participate in tunneling for this protocol.

Default

Disabled.

Usage Guidelines

Use this command to add an entry to an L2PT profile.

Example

The following example adds an entry to my_l2pt_prof to tunnel protocols in "mylistt" at cos 2:

configure l2pt profile my_l2pt_prof add protocol filter mylist action tunnel cos 2 

The following example adds an entry to my_l2pt_prof to encapsulate/decapsulate protocols in "mylist":

configure l2pt profile my_l2pt_prof add protocol filter mylist action encapsulate

The following example adds an entry to my_l2pt_prof that is in use by 2 services:

configure l2pt profile my_l2pt_prof add protocol filter mylist

History

This command was first available in ExtremeXOS 15.5.

Platform Availability

This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X590, X620, X690, X870 series switches.