Name

runiosbatch.pl — Run Cisco IOS commands from a batch file

Synopsis

Usage

$NMSTOOLS_HOME/bin/runiosbatch.pl {cmdfile}

Configuration

$NMSTOOLS_HOME/etc/devlogin.conf
Standard device login credentials

Files Used

cmdfile
Text file with node names and IOS commands one per line. Each node name should start with "@@" at the start of the line, with the IOS commands on the following lines.

Files Created

none

Description

The program executes the given IOS commands on given devices, step by step. Afer each command, it expects for "#" prompt.

Warning: If a confirmation quiestion appears (i.e. "[confirm]"), runiosbatch.pl sends carriage return to the device!