Thank You very mush Photon!!!
Using str(evt.vtpVlanIndex) everything works fine.
I have another little problem.
I need to have all the Events generated by a trap in the same Class, so I created the Class Trap and I added this easy transform to the main event class so that all the trap will be classified correctly:
if evt.agent.find('zentrap') >= 0:
evt.eventClass='/Trap'
Everything works fine an all my traps are classified in the Trap Class but if I add a transform to the Trap Class it is complitely ignored (or it seems to be ignored)?
What could be the problem? is there any log to check what is happend?
Thanks