|
The Network Simulator provides option to start and stop individual agents in the network from the UI or from a script file at runtime. You can also change the interface status of the device.
The Network Simulator provides the facility to dynamically configure IP addresses when starting each agent instance in the network. This facility is supported in Windows NT, 2000, XP and Linux/Solaris OS, when the system is started with Admin user access. Refer to Configuring Virtual IP Address, for more information.
Starting Agents in the Network - From UI
The Network Designer provides options to start individual/multiple/all agents in the network with specific protocols or all the supported protocols.
1. To start a device/agent with all the protocols supported by the device:
Right-click on a device in the network tree or network area
Select Start Device. This will start the device at the specified port numbers. For example, if a device supports SNMP, TFTP and CLI, the SNMP agent will start at the specified SNMP port, the TFTP agent will start at the specified TFTP port and the CLI agent will start at the specified TFTP port.
2. To start a specific protocol in the device:
Right-click on a device in the network tree or network area
Select the protocol name supported in the device and click Start. For example, if your select SNMP -> Start, the SNMP agent will start at the specified SNMP port number.
3. To start all the agents in the network will all the protocols supported:
Right-click on the blank network area
Select Start All Agents
4. To start all devices in the network with the specified protocol:
Right-click on the blank network area
To start all SNMP agents, select Start All SNMP Agents
To start all TFTP agents, select Start All TFTP Agents
To start all CLI agents, select Start All CLI Agents
To start all TL1 agents, select Start All TL1 Agents
To start all Telnet agents, select Start All Telnet Agents
5. To start multiple devices in the network:
Use Ctrl + arrow key to select the required devices. The selected devices will be high-lighted.
Press Ctrl key and right-click on any of the selected device.
Select the right-click menu option Start Devices, to start the selected devices.
To start individual/multiple SNMP and TL1 agent in the network from the script file, the method startAgent( ) in the script interface can be used in the script file.
The Script API methods are provided under the <SimulatorHome>/examples/javadocs directory.
For an SNMP device, the agent will be started at the specified SNMP port . For a TL1 device, the agent will be started at the specified TL1 port . If the device implements both SNMP and TL1, the agent will be started at the specified SNMP and TL1 ports.
The Network Designer provides options to stop individual/multiple/all agents in the network with specific protocols or all the supported protocols.
1. To stop a device with all the protocols supported by the device:
Right-click on a device in the network tree or network area
Select Stop Device. This will stop the device at the specified port numbers. For example, if a device is started at SNMP, TFTP and CLI ports, the Stop device option will stop the agents running at SNMP port, TFTP port and CLI port.
2. To stop a specific protocol in the device:
Right-click on a device in the network tree or network area.
Select the protocol name supported in the device and click Stop. For example, if the SNMP agent is started, and you select SNMP -> Stop, the SNMP agent will stop running at the specified SNMP port number.
3. To stop all the agents in the Network
Right-click on the blank network area
Select Stop All Agents
4. To stop all devices in the network with the specified protocol
Right-click on the blank network area
To stop all SNMP agents, select Stop All SNMP Agents
To stop all TFTP agents, select Stop All TFTP Agents
To stop all CLI agents, select Stop All CLI Agents
To stop all TL1 agents, select Stop All TL1 Agents
To stop all Telnet agents, select Stop All Telnet Agents
5. To stop multiple devices in the network
Use Ctrl + arrow key to select the required devices. The selected devices will be high-lighted.
Press Ctrl key and right-click on any of the selected device.
Select the right-click menu option Stop Devices, to stop the selected devices.
Stopping Agents/DevicesFrom Script file
To stop individual SNMP and TL1 agent in the network from the script file, the method stopAgent( ) in the Sscript interface can be used in the script file.
The Script API methods are provided under the <simulatorhome>/examples/javadocs directory.
|