Roberto,
I need to ask a couple of questions for clarification:
1. Are you already aware of the ports you want grouped?
2. If so, are you wanting direction on how to create this group?
3. If no, are you wanting direction on how to poll the switches and dynamically add ports to a specific group based on tag status?
Thanks