Creating Networks from Command Line

 



 

Overview

 

The command line Create Network is purely NON-GUI and uses only character user interface for obtaining various inputs for the network. It can be invoked by executing the createNetwork.bat/sh in <Simulator Home>/bin/cmdline directory.  Using this utility, you can create a single network, from command line by specifying the valid parameters for the network to be created.

 

Command Line Options

 

Command Line option : Mandatory

 

Options Explanation

-net <network name>

Specify the name of the network to be created.

-ip <IP address>

Specify the starting IP address for the network

-n <number of devices>

The number of devices to be added to the network

-dev <device name>

The name of the device to be added to the network

-snp <SNMP port >

Specify the optional SNMP port number for the SNMP devices in the network. Default port is 8001

-tlp <TL1 port>

Specify the optional TL1 port number for TL1 devices in the network. Default port is 8004

-iosp <IOS port>

Specify the optional IOS port number for Cisco IOS devices in the network. Default port is 2323

-tep <Telnet port>

Specify the optional Telnet port number for devices with Telnet in the network. Default port is 2424

-tfp <TFTP port>

Specify the optional TFTP port number for devices with TFTP in the network. Default port is 6969

-r <read community>

Specify the read community for SNMP devices. Multiple communities can be specified separated by comma (,)

-w <write community>

Specify the write community for SNMP devices. Multiple communities can be specified separated by comma (,)

 

 

 

Creating Network in Windows

 

To create the network  in windows, type the following command from the <SimulatorHome>/bin/cmdline directory.

 

CreateNetwork.bat -net net1 -ip 12.12.12.1 -n 50 -dev SunSolaris -snp 8001

-r public,private -w private

 

Creating Network  in Linux and Solaris

 

To create network in LOS, type the following command from the < SimulatorHome>/bin/commandline directory :

 

$ sh CreateNetwork.sh -net net1 -ip 12.12.12.1 -n 50 -dev SunSolaris -snp 8001 -r public,private -w private

 

 

Note:

 

1. The details of the Database server name, Port number, User name, Password and the Server path is stored in database_params.conf file in <SimulatorHome>/conf  directory.  You can make the required database settings in this file.

 

 

 

Copyright © 2012, ZOHO Corp. All Rights Reserved.
Network Monitoring Software from ManageEngine