Cause:
There are three basic causes for this issue to occur:
1. The MAC Address in the trap is an OctetString, but in ascii format, not raw 6byte mac format
2. The ToOctetString() procedure just dupes the incoming OctetString if type is OctetString.
3. The ToOctetString() looks for just '.' as the separator but the MAC Address sent by the trap uses ":" as the separator.
Resolution:
For causes #1 and #2 listed above, the resolution is to use the ToString() procedure on the OctetString before calling the ToOctetString() procedure. Using the above Event Procedure as an example, the Event Procedure will need to be changes as follows:
0xfff0071e E 50 P "\
CreateEventWithVariables( \
GetElement( \
GetModelsByAttrValue(\
{H 0x110df},\
ToOctetString( ToString( GetEventAttribute( {U 104 } ) ) ) ),{U 1}), \
{H 0xfff0071f}, \
GetEventVariableList())"
For cause #3, a code change has been made to the ToOctetString() procedure to look for both "." and ":" as the MAC Address separator. This code change will be available in Spectrum 10.03.00. No projected release date for Spectrum 10.03.00 at the time of this knowledge document publication.