Name

runioscmd.pl — Run Cisco IOS commands

Synopsis

Usage

$NMSTOOLS_HOME/bin/runioscmd.pl {nodelistfile} {cmdfile}

Configuration

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

Files Used

nodelistfile
text file with device names, one per line.
cmdfile
text file with IOS commands one per line.

Files Created

none

Description

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

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