custom-eapol-ether-type-profiles

Syntax

Syntax (PTX Series)

Hierarchy Level

Description

Define a custom profile for Extensible Authentication Protocol over LAN (EAPoL) packets. You can use this profile to define a custom EtherType for EAPoL packets.

The EtherType is a field in an Ethernet frame. The value of the EtherType field identifies the protocol of the packet encapsulated in the frame. MACsec uses EAPoL as a transport protocol to establish sessions. When you configure a custom MAC destination address for EAPoL packets, in most cases the network tunnels the packet appropriately. However, some networks filter packets based on EtherType value rather than destination address. Some networks intercept packets with the default EAPoL EtherType automatically. To ensure the network tunnels MACsec packets properly, you can set a custom EtherType for EAPoL.

Note:

On PTX Series routers, two EAPoL EtherType profiles come preconfigured on your device: EAPOL_ETHERTYPE1 and EAPOL_ETHERTYPE2. You must use one of these preconfigured profiles. By default, the EtherTypes associated with these profiles are 0x876f and 0xb860, respectively. You can configure an EtherType value other than the default if you prefer.

Options

eapol-profile-name The name of the EAPoL profile.
ether-type ether-type-value When the EtherType profile is applied, packets assign this EtherType value to EAPoL. You must use a valid EtherType value that isn't reserved. See Media Access Control Security (MACsec) over WAN for how to choose the EtherType value.
  • Range: 1536 through 65535.

  • Default on PTX routers:

    • EAPOL_ETHERTYPE1: 0x876f

    • EAPOL_ETHERTYPE2: 0xb860

  • Default on other devices: None. You must configure a custom EtherType value to use a custom EtherType profile. If no custom EtherType profile is configured, the default EtherType value for EAPoL is 0x888e.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Evolved Release 25.4R1.