[c-nsp] elam trigger for src mac address

Saku Ytti saku at ytti.fi
Tue Aug 17 09:47:27 EDT 2010


On (2010-08-17 11:50 +0300), Tassos Chatzithomaoglou wrote:

> This isn't an IP packet (it probably has to do with CFM) and i only
> know the source mac address.

AFAIK what you want to do, needs to be done by matching bit by bit.

First you specify pattern then you specify mask. So if you
want to match for SMAC of c00l.dead.babe it should be:

dbus others if data = 0 0 0 0xc00ldead 0xbabe0000 [ 0 0 0 0xffffffff 0xffff0000 ]


-- 
  ++ytti


More information about the cisco-nsp mailing list