SNMP Trap - ifindex - ifname

Hi,

we have a Cisco router that send a trap when an interface goes down (E1). The trap sends the status of the interface and the ifIndex. I have created the event and works fine but I can not get the snmp interface name. how can I get the ifName from the ifIndex?
I have tested with:

%parm[snmpifname]%

and with:

%snmpifname%

but doesn’t work.

appreciate your help.

Is this trap a default switch trap? Or a specific one from Cisco? What’s the OID?
Can you please provide also the event you get and the definition?

Hi,
Apologies by my delay.
Object: demandNbrLayer2Change
OID: 1.3.6.1.4.1.9.9.26.2.0.3

thanks.