Skip to content
Tom Barbette edited this page Oct 3, 2018 · 2 revisions

VLANDecap Element Documentation

NAME

VLANDecap — Click element; strip VLAN information from Ethernet packets

SYNOPSIS

VLANDecap(keywords])

Batching: Batching natively supported
Ports: 1 input, 1 output
Processing: agnostic

DESCRIPTION

Expects a potentially 802.1Q VLAN encapsulated packet as input. If it is encapsulated, then the encapsulation is stripped, leaving a conventional Ethernet packet.

Keyword arguments are:

  • ANNO — If ANNO is true (the default), then the VLAN_TCI annotation is set to the VLAN TCI in network byte order, or 0 if the packet was not VLAN-encapsulated.
  • ETHERTYPE — Specifies the ethertype designating VLAN encapsulated packets. The default is 0x8100 (standard 802.1Q customer VLANs); other useful values are 0x88a8 (for 802.1ad service VLANs, aka QinQ) and 0x9100 (old non-standard VLANs).

SEE ALSO

VLANEncap

Generated by click-elem2man from ../elements/ethernet/vlandecap.hh:7 on 2018/10/03.

Clone this wiki locally