I'm trying to build a config script that will match against any interfaces that are on access VLAN X and change them to access VLAN Y.
I know there is a packaged script to do this but I don't want to track down and manually select every interface with that config. I'd rather take care of it with scripting because I want to run this against a list of switches.
My questions are:
1. What should be contained in the VLANID field on the interface?
The admin guide says it's supposed to be a binary string with each bit mapped to an interface on the device but I've never seen that be the case on the Interface or VLAN class. What it looks like is that this gets the VLAN number. It seems to be populated correctly in the VLAN class but not the Interface class. Some of my interfaces show with VLANID 1. Most are blank.
2. If VLANID should contain the access VLAN this port is a member of, how do I get it to populate correctly?
3. If this field isn't going to be useful for identifying access VLAN, is there anything added in NCM versions above 7.2.2 (where we currently are) that would make this identification possible?
As far as I know we can't base config templates on anything other than interface description and there are no capabilities to generate config based on existing interface config. This would be a HUGE feature in my opinion so if there is indeed still no work being done on this I'll gladly add my vote to the feature request forum.
Thanks for any assistance!