question

udaya avatar image
udaya asked sreerag.parameswaran answered

How to capture only layer2 frames in STC ?

I would like to capture all layer2 frames on STC. When I am trying to add any pattern with template , it is asking for value. But I would like to capture all layer2 frames irrespective of values. Please suggest how to do this.
Spirent TestCenter (STC)frame capture
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

sreerag.parameswaran avatar image
sreerag.parameswaran answered
Any frames with L3 or higher headers will have a corresponding Ethertype set in Ethernet header (Different or every upper header). So you may try filtering out based on Ethrtype field. Do a capture for all frames and see what value is being set for your L2 frames. (Usually 0x88B5 if no upper headers are there) Not that we need to select Capture source as "RX mode" while applying a filter on capture. Thanks, Sreerag
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

sreerag.parameswaran avatar image
sreerag.parameswaran answered udaya commented
Yes, start capture without setting any conditions. The capture file will have all the L2 frames in it. Thanks, sreerag
1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

udaya avatar image udaya commented ·
No no.Sorry, I might be confusing. We need to capture only all L2 frames. means we neither want to capture any other frames except L2 nor a specific L2 frame.
0 Likes 0 ·
sreerag.parameswaran avatar image
sreerag.parameswaran answered
When you do a capture on STC port, by default it captures all the frames (TX/RX Control plane and RX Data plane). **So you don't need to have a particular pattern defined to capture any L2 frames**. But if you need to capture **only specific L2 frames, we need to define the filer accordingly**. Thanks, Sreerag
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

udaya avatar image
udaya answered
Yes, I understood. But we need to capture all the L2 frames rather than a specific one. Can we do that ?
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.