This is our old Q&A Site. Please post any new questions and answers at


I have a H248 pcap trace with double vlan tag:

802.1Q Virtual LAN, PRI: 0, CFI: 0, ID: 999

802.1Q Virtual LAN, PRI: 0, CFI: 0, ID: 473

And my question if there any way to remove one vlan tag, or both tags from the trace?.

Thanks beforehand for your answer.

This question is marked "community wiki".

asked 07 May '13, 04:34

rubik001's gravatar image

accept rate: 0%

edited 07 May '13, 05:01

Please take a look at tcprewrite. It is able to add/remove VLAN tags.

Run it like this:

tcprewrite --enet-vlan=del --infile=vlan.cap --outfile=novlan.cap

Please read the man page for more options.


permanent link

answered 07 May '13, 06:08

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
accept rate: 15%

edited 07 May '13, 06:14

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 07 May '13, 04:34

question was seen: 11,772 times

last updated: 07 May '13, 06:14

p​o​w​e​r​e​d by O​S​Q​A