مثال على تكوين Auto Smartport باستخدام وظيفة Custom Trigger