Sorry Paul, I need to give you more information. I need to configure rate limit parameters on all the untagged ports belonging to a VLAN. I have a Ridgeline and I'm planning to use one or more script. The script need to collect the untagged ports on several devices ranging from 8 to 48 ports and also a bunch of Black Diamond switches. Since scripting is something I don't do very often I'm looking for suggestions. Is it better to parse the show vlanname command or is it better to cycle all the ports of the switch looking for the given vlan? I guess the first approach is better.
Then i need to put the ports in a list, do you know if there are some examples?
Thanks for your time.
Davo