Skip to content
Eddie Kohler edited this page Oct 17, 2017 · 2 revisions

VLANDecap Element Documentation

NAME

VLANDecap — Click element; strip VLAN information from Ethernet packets

SYNOPSIS

VLANDecap(keywords])

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 2017/10/17.

Clone this wiki locally