Comments
-
Here is the exact, full change script where the pause command works: /* .CHANGE_TEMPLATE_DESCRIPTION Bounces all FastEthernet ports on a 48 port ADTRAN switch .PLATFORM_DESCRIPTION ADTRAN AOS .PARAMETER_LABEL @ContextNode NCM Node .PARAMETER_DESCRIPTION @ContextNode The node the template will operate on. All templates…
-
I'm very curious as to whether you found the correct format of calling these interface custom properties. Did it start working after another inventory job run?
-
FYI, this is a capability in config change templates. I beat my head against a wall for about 30 minutes trying to figure out how to implement the ${Delay:15} variable, so maybe I'll be saving someone else some precious time in the future . Here is a change script that I created that includes a 15 second pause between…
-
Ooh! Two new helpful bookmarks! Thanks again, Jiri
-
Jiri, Thank you SO MUCH for your assistance! Just so that this is super clear for anyone else that may run into this issue in the future : script BaseChangeTemplate( NCM.Nodes @ContextNode ) { //Issue commands to the device string @Send_Enter='${CRLF}' CLI { copy tftp://<ip_address>/<file_name> flash:/<file_name> } CLI {…
-
Validation Failed: An error occurred during script parsing. Position: Line 20, Character 6 Error message: no viable alternative at character '$' Please check script syntax. Line 20 is where the first Macro is placed and Character 6 is at the first $
-
Here is the CLI portion of a change template that is giving me an error when I click the "Validate" button. Does the syntax below look correct? { //Issue commands to the device CLI { copy tftp://<ip_address>/asdm-731.bin flash:/asdm-731.bin ${CRLF} ${CRLF} ${CRLF} } } Thank you so much for your help!
-
fatset5, Have you tried using these lines in your device template? <Command Name="Startup" Value="show startup"/> <Command Name="Running" Value="more:system running"/> <Command Name="DownloadConfig" Value="${ConfigType}"/> I just verified in my own environment that the three above lines work.
-
Thanks for pointing me in the right direction. I'm still having some weird activity where even though L2 and L3 topology polling is disabled, my Orion station still seems to poll my devices and spike the CPU usage. Should the Rediscover button cease to function if topology polling is disabled? Because whenever I hit this…
-
Jiri, How would one go about passing this macro through a configuration change template? I'm trying to send 3 "enter" keys after a command to a Cisco ASA that needs confirmation of filenames when doing a copy.
-
Is there a way to globally disable topology polling in NPM 11.0?
-
HolyGuacamole is absolutely correct. I used the word none instead of dummy, but here is the actual template that I used: script BaseChangeTemplate( NCM.Nodes @ContextNode, string @Line_1, string @Line_2, string @Line_3) { //Issue commands to the device CLI { configure terminal @Line_1 } if(@Line_2 !='none') { CLI{@Line_2}…
-
There was a "Default Purge Configs Job" that's scheduled to run once a week. An option in that job is a checkbox for "Do not purge any baseline configs" Thank you, mharvey!
-
I've never been able to get a regex string to be consistently parsed in the configuration comparison module, so it doesn't surprise me that it's inconsistent in other applications.
-
I've also tried creating a custom property for each interface that spells out the full form of the interface name, but I'm unable to get NCM to pull the custom property within the change script.