NeDi Help

Devices Write

## Introduction

This is a very helpful, but also dangerous module! Always use with caution, because you could create a big mess rather quickly...

## Usage

Once you understand the filtering concept of Devices-List you should be able to pinpoint the group of devices you wish to access. (Note that only devices of the same operating system can be used at once).

Additionally you'll have to specify the desired commands. On IOS or similar devices you can use the Interface Configuration section (to the right) to generate ranges of commands.

#### Important!

Click Show to verify your input before sending!

You can simply Send Commands or use Configure to surround your commands with "conf t" and "end", "write mem" (or "sys" and "save" for Comware) on supported devices.

A newer feature is the "Condition B" subsitution mode, where you can substitute the matches (using 2nd text field) and use the result as argument for the command in "Commands" (only 1 command per device supported in this mode).
Here's an Example:

- Let's say you moved all switches named SW01,02,03 etc. from the floor into a wallrack.
- Use ^SW as Condition A
- Enter something like "snmp-server location " (or whatever sets SNMP location on those switches) in the Execute/Config area.
- Select Location in Condition B and enter "floor" in the left text field of Condition B and "wallrack" in the right one.
- Click Show and you should see each matched device with the command setting the new location.
- Click configure if it's correct.

## Details

A couple pointers for the setup:

- Make sure you adjust GUI authentication (towards the end of nedi.conf) to fit your needs.
- If you're unsure about it, delete html/inc/Devsend.pl to completely disable sending commands to devices!