![]() ![]() ![]() |
Command Line option : Mandatory
Options | Explanation |
---|---|
-net <network name> |
Specify the name of the network. To start multiple networks, specify the name of each network, separated by a comma. |
Options | Explanation |
---|---|
- proto <snmp, cli, ssh, tl1, tftp, telnet> |
To start a specific protocol present in all the devices. The protocol to be supported can be specified, separated by a comma. For example, if SNMP and Telnet are supported, specify the option as follows: -proto snmp, telnet |
Options | Explanation |
---|---|
-m <debugLevel> |
The option to generate debug messages. Debug Level can be 1 or 2 or 3 or 4 |
-l <logFile> |
Log file name |
Initialize Services Options : Optional. The services are enabled by default.
Options | Explanation |
---|---|
-trap or -ts <enable/disable> |
Enable/Disable Trap Sending. If the service is disabled, the agent will not check for trap configurations. |
-snmpbehavior or -bs <enable/disable> |
Enable/Disable Script Execution. If the service is disabled, the agent will not check for script configurations. |
-scramblepdu or -ps <enable/disable> |
Enable/Disable to scramble the PDU |
-autonomous or -at <enable/disable> |
Enable/Disable Autonomous Sending. If the service is disabled, the agent will not check for autonomous configurations. |
-tl1behavior or -tb <enable/disable> |
Enable/Disable TL1 Script Execution. If the service is disabled, the agent will not check for script configurations. |
Miscellaneous Options : Optional
Options |
Explanations |
---|---|
-v3 |
Starts the network with v3 agents. |
-encoding |
Starts the network with the encoding format specified. If the specified encoding format is not supported, then default encoding format is selected. |
-rmi |
To manage the network simulator remotely using RMI. |
Global Manager Settings to send traps : Optional
Options |
Explanation |
---|---|
-tms <Trap Manager Settings> |
To specify the global manager details, if you want all the traps to be sent to the same set of Managers, specified in this option. It should be in the following format - mgr1:port1:community1,mgr2:port2,community |
Starting Network Simulation in Windows
StartNetwork.bat -net .\networks\samplenetwork -m <specify debug level as 1 or 2> -l <to log the messages> |
Starting Network Simulation in Linux
$ Sh StartNetwork.sh -net ./networks/samplenetwork -m <specify debug level as 1 or 2> -l <to log the messages> |
|
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.
2. To start multiple networks from command line, the name of each network must be specified with the -net option, separated by a comma. For example: StartNetwork -net test1, test2
3. If there is an IP clash while starting multiple networks, an error message will be displayed and the networks will not get started. |
For example: sh GetStartedNetworks.sh
![]() ![]() ![]() |