Submit a ticketCall us

Looking to compare latest NPM features with previous versions of NPM?
The NPM new feature summary offers a comparison of new features and improvements offered with this release.

 

Home > Success Center > Network Configuration Manager (NCM) > NCM 7.6 Administrator Guide > Common tasks > Change the community string on multiple nodes

Change the community string on multiple nodes

Created by Caroline Juszczak, last modified by Anthony.Rinaldi on Oct 03, 2016

Views: 28 Votes: 1 Revisions: 4

This procedure replaces the public read-only community string with a new read-only community string on several network nodes at the same time.

  1. Click My Dashboards > Configs > Jobs.
  2. Click Create New Job.
  3. Name the job, and select Execute Command Script on Devices from Job Type.
  4. Select the Schedule Type. If you are creating an Advanced schedule, use the five fields to create an appropriate cron expression.
  5. Add a comment if this job relates to a business rule, and click Next.
  6. Select the nodes to target with this job, and click Next.
  7. Select an email notification option, and click Next. If you click Email Results, the default Email Notification Settings and SMTP Server Settings Email Notification Settings and SMTP Server Settings are populated. These settings can be overridden in each job.
  8. Add the script to execute.

    config t
    no snmp-server community public RO
    snmp-server community 123@dm1n RO
    exit
    wr mem

    Where 123@dm1n is the new community string.

    • If you want to load a saved script, click Load Saved Script, and select a script.
    • If you want to load an existing script from disk, click Load Script from File, browse to the file, and click Open.
    • If you want to create a new script, enter your script in the text box. For example:
  9. If you want to save a script, click Save Script, specify a location, and click Save.
  10. Select Filter Results that match a pattern if you want to see in the script output only those lines that match a specific regular expression pattern.
  11. Select Show Commands in Output to view what SolarWinds NCM sent to the targeted devices.
  12. Click Next.
  13. Review the settings for the job, and click Finish.

Verify success by comparing configs

  1. Click My Dashboards > Configs > Configuration Management.
  2. Select one or more nodes, and click Compare Node(s) Configs.
  3. Select a config from each list.
  4. Click Compare Selected. Changes to are highlighted in red, green, and yellow.

 

Last modified
11:38, 3 Oct 2016

Tags

Classifications

Public