Hi, We have S-series, N-series, C-series switches and I have always thought it would be helpful to be able to type a command on a switch - something like:
show config port ge.1.3 and have it return all the lines of non-default config which refer to that port - duplex, speed, lacp, alias, mirroring, vlan egress etc - for example: show config port ge.1.3 might return: set port alias ge.1.3 lon-srv1-nic1 set port duplex ge.1.1-10 full set port lacp port ge.1.3 aadminkey 333 set port negotiation ge.1.3 disable set port vlan ge.1.3 14 set vlan egress 15 ge.1.2-8;lag.0.1-2 tagged set vlan egress 121 ge.1.1-5;ge.2.12-15;lag.0.1-3 untagged Mainly when re-purposing a port, it's useful to know if someone previously turned off negotiation etc, or had it as part of a LAG. Obviously stepping through the config file is do-able but a can be a bit time-consuming. Is there already anything like this - preferably from the command line? Assuming there isn't, then we pull our configs off regularly and commit any changes to an SVN repo, so I could run a command against a copy of that text file on the remote box as a second best option. In which case, I don't suppose anyone has written a regex or a script that could handle that have they? Thanks, N. -- This e-mail is intended only for the named person or entity to which it is addressed and contains valuable business information that is proprietary, privileged, confidential and/or otherwise protected from disclosure. If you received this e-mail in error, any review, use, dissemination, distribution or copying of this e-mail is strictly prohibited. Please notify us immediately of the error via e-mail to [email protected] and please delete the e-mail from your system, retaining no copies in any media. We appreciate your cooperation. --- To unsubscribe from enterasys, send email to [email protected] with the body: unsubscribe enterasys [email protected]
