-
Re: Orion NCM scripts
tegguy Feb 21, 2012 1:53 PM (in response to tegguy)Does anyone happen to have any suggestions?
-
Re: Orion NCM scripts
jcpetrey Feb 22, 2012 9:02 AM (in response to tegguy)You can make scripts with the logic you are needing in the "Config Change Templates" on the web interface.
NCM6.1 (what we are running) came with a Config Change Template called "Execute Execute Configure Interfaces Based on Description Cisco IOS"
That template should match your needs if you are running Cisco equipment or could easily be modified to work with the APs in your environment.
-
Re: Orion NCM scripts
tegguy Feb 28, 2012 9:13 AM (in response to jcpetrey)We are still running V6.0 and I don't see that Template on there.
Is it going to be possible to schedule these to run on a weekly basis or do they have to be done manually?
-
Re: Orion NCM scripts
cvachovecj Mar 26, 2012 9:26 AM (in response to tegguy)Hi tegguy,
scheduling capability for config change templates has been tracked as feature request #25845.
Regards,
Jiri
-
-
-
-
Re: Orion NCM scripts
rcahill Feb 22, 2012 10:04 AM (in response to tegguy)If the process of implementing a NCM script daunting you may find adding in kron scripts on your cisco switches a little easier, at least initially.
Examples:
kron occurrence 8PM at 20:00 recurring
policy-list Shut20
!
kron occurrence SaveConfigSchedule at 23:00 recurring
policy-list SaveConfig
!
kron occurrence Activate20 at 9:00 recurring
policy-list Activate20
!
kron policy-list Shut20
cli configure terminal
cli interface g1/0/20
cli shutdown
cli exit
!
kron policy-list SaveConfig
cli write
!
kron policy-list Activate20
cli configure terminal
cli interface g1/0/20
cli no shutdown
cli exitI use a few of these to shut down Access Points and ethernet ports at public locations during "off-hours" to prevent network intrusion.
Also to complete a wr command on a nightly basis.
It may not be an elegant system wide method like NCM scripting but it is bullet proof for the configured ports.
Also note some newer switches post 12.2(55)SE come with the ability to support auto smartports and auto smartmacros allowing the switch to configure itself for the device connecting. These could be modified allowing you to make certain that the proper description is added, even dynamically if someone adds an interested device type. This would be the best solution for a NCM script. You get the proper labeling for the script to interrogate.
Good luck