mpe(4)

mpe4

Mpls provider edge

Usage

pseudo-device mpe

Overview

The mpe interface is a Multiprotocol Label Switching (MPLS) Provider Edge pseudo-device used to enter and leave an MPLS domain.

An mpe interface can be created at runtime using the ifconfig mpeN create command or by setting up a hostname.if(5) configuration file for netstart(8). The interface itself can be configured with ifconfig(8); see its manual page for more information.

Ioctls

The following ioctl(2) calls are specific to mpe, mpip(4) and mpw(4) interfaces:

SIOCSETLABEL

Encapsulate packets entering this interface in MPLS using the specified label.

SIOCGETLABEL

Report the label that packets entering this interface will be tagged with.

SIOCDELLABEL

Unset the MPLS label.

Releases

38 releases since OpenBSD 4.4; the text changed 7 times.

  1. 4.4
  2. 4.5–4.7
  3. 4.8–5.3
  4. 5.4–5.7
  5. 5.8–6.2
  6. 6.3–6.8
  7. 6.9
  8. 7.0–8.0

History

The mpe device first appeared in OpenBSD 4.4.

Authors

The mpe driver was written by Pierre-Yves Ritschard ⟨[email protected]⟩.

From man 8.0-current-20261101 in OpenBSD 8.0-current (2026-11-01). Parsed by carta from the page's mdoc source.