question

PaintedMagentaFeather avatar image
PaintedMagentaFeather asked

STC API - filter VLAN or IPv4 fields using analyzerFrameConfig

I have problems with filtering using analyzerFrameConfig. I use method which used stc::config:

stc::create ethernet:EthernetII -under $hAnalyzerFrameConfigFilter -name af1_eth \ -srcMac "00:00:00:00:00:00/FF:FF:FF:FF:FF:FF#FF:FF:FF:FF:FF:FF" stc::create ipv4:IPv4 -under $hAnalyzerFrameConfigFilter -name af1_ip \ -destAddr "192.168.1.1/192.168.1.3#255.255.255.255"

This is just an example but I tried to filter VLAN ID, VLAN Prio, CFI or SrcIP and DestIP. However I always get empty results (so no frames match filter) despite frameConfig looks good (or maybe it is not good?). I only managed to filter srcMac and destMac - this works fine.

Here are the sample filters frameConfigs:

IPV4 filter:<frame><config><pdus><pdu name="eth1" pdu="ethernet:EthernetII"></pdu><pdu name="ip_1" pdu="ipv4:IPv4"><sourceAddr filterMinValue="000.000.000.000" filterMaxValue="255.255.255.255">255.255.255.255</sourceAddr></pdu></pdus></config></frame>

Does anyone has working examples how to configure it?

apivlanfilter
10 |950

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

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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