According to IANA definition, IPFIX elementId 58 vlanId is:

Virtual LAN identifier associated with ingress interface. For dot1q vlans, see 243 dot1qVlanId.

But according to RFC5102:

Description: The IEEE 802.1Q VLAN identifier (VID) extracted from the Tag Control Information field that was attached to the IP packet.

I didn't find any updates to this element in RFC6313 and RFC7012. So what should this element be for packets coming from an access switchport? The original IP packets have no VLAN Tag, but the ingress port definitely has an associated pvid.

  • Did any answer help you? if so, you should accept the answer so that the question does not keep popping up forever, looking for an answer. Alternatively, you could post and accept your own answer.
    – Ron Maupin
    Commented Dec 23, 2021 at 17:27

1 Answer 1


If there's no explicit VLAN tag (802.1Q), vlanId is the VLAN ID associated with an untagged frame for the ingress port.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.