Quantcast
Viewing all articles
Browse latest Browse all 8827

Re: NCM templates/scripts for reading output of CLI commands

I have a similar need. In about 60 of my remote Cisco firewalls, the dhcprelay server is set to the IP address of the local server. I need to get that address so my script can remove the dhcprelay configuration and add the correct configuration, which includes the address of the centralized DHCP server. I can issue a command to the firewall to see the line in the configuration I need to remove, but I don't know how to capture that string and get it into the command the script that will remove it. I don't want to do it manually or create 60 different scripts, so is there a way to do it? (Orion Platform 2014.2.1, SAM 6.1.1, QoE 1.0, NCM 7.3.2, NPM 11.0.1, NTA 3.11.0)


Viewing all articles
Browse latest Browse all 8827

Trending Articles