On Wed, Feb 18, 2009 at 09:12:35PM -0500, Tim Durack wrote:
Yup, ifIndex->ifName is what I'm looking for.
I need to run some automation scripts that enable certain port-level functions based on VLAN membership. Right now I have to harvest configs and parse out the necessary ports. scli would make this a little easier.
I am concerned that for some devices, the output might look really ugly since they have rather lengthy interface names.
This should be fairly easy to do and I believe it is useful. I just prototyped the necessary code and now I get:
Vlan Id: 1234 Vlan Name: planetlab Egress Ports: 7-8,19-21,23 Forbidden Ports: Untagged Ports: 7-8,19-20 Tagged Ports: 21,23 Status: active
Cool. Did you commit this?
Yes.
It would also be nice to have a command that returns the information sorted by port rather vlan; I sometimes wonder what the set of VLANs is running over a given port...
Agreed. Glad to see scli is alive and kicking! (the mailing list has been quiet.)
I assume there are not many users of scli or they are all extremely happy or both. ;-)
/js