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

Hello,

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

rubik001
1223
accept rate: 0%

edited 07 May '13, 05:01


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

http://tcpreplay.synfin.net/wiki/tcprewrite

Run it like this:

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

Please read the man page for more options.

Regards
Kurt

permanent link

answered 07 May '13, 06:08

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×66
×16
×9
×1

question asked: 07 May '13, 04:34

question was seen: 11,009 times

last updated: 07 May '13, 06:14

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