Hi Christophe,
here you go - I just tested it to verify that it works. the Event Procedure resets the Port Alarming, Port Trap Processing and some Port Thresholds:
0x110a04 E 50 R CA.EventCondition, "({v 2} == {S \"Connected_Ports\"})" , "0xffff0002 -:-"
0xffff0002 E 50 P \
" And( WriteAttribute( {C CURRENT_MODEL}, {H 0x11fc2}, { I 0}), \
And( WriteAttribute( {C CURRENT_MODEL}, {H 0x12da6}, { I 0}), \
And( WriteAttribute( {C CURRENT_MODEL}, {H 0x12952}, { I 0}), \
And( WriteAttribute( {C CURRENT_MODEL}, {H 0x1294e}, { I 0}), \
And( WriteAttribute( {C CURRENT_MODEL}, {H 0x12951}, { I 0}), \
And( WriteAttribute( {C CURRENT_MODEL}, {H 0x1294d}, { I 0}), \
And( WriteAttribute( {C CURRENT_MODEL}, {H 0x12be5}, { I 0}), \
And( WriteAttribute( {C CURRENT_MODEL}, {H 0x12da4}, { I 0}), \
And( WriteAttribute( {C CURRENT_MODEL}, {H 0x12da3}, { I 0}), \
And( WriteAttribute( {C CURRENT_MODEL}, {H 0x12957}, { B FALSE}), \
And( WriteAttribute( {C CURRENT_MODEL}, {H 0x12a54}, { B FALSE}), \
And( WriteAttribute( {C CURRENT_MODEL}, {H 0x11ace}, { B FALSE}), \
And( WriteAttribute( {C CURRENT_MODEL}, {H 0x129f8}, { B FALSE}), \
And( WriteAttribute( {C CURRENT_MODEL}, {H 0x1280a}, { B FALSE}), \
WriteAttribute( {C CURRENT_MODEL}, {H 0x11dd8}, { B FALSE})))))))))))))))"
Regards
Maik