|
Adding SNMP Devices by specifying MIB / Configuration file / SNMP WALK File
Adding Router / Switch / Printer / Firewall devices from the Template device
When you add a large number of devices to the device tree, it is necessary to organize them so that they do not clutter the device tree. For example, if you are going to simulate printers, you can name the group node as printer and add all the related devices under the Group Node printer.
To add a Group to the devices tree, do the following :
Right-click on Devices Node in the component tree and choose the Menu item Add a Group. The Add a Group dialog box is displayed.
Specify the name of the Group in the Specify Name combo-box. You can provide any desired group name. Example : Printer
Click OK to add this as a Group in the device tree.
Adding SNMP Devices by specifying MIB / Configuration file / SNMP WALK File
Right-click a group node and select Add Device . The DeviceAdditionWizard is displayed, wherein you have to specify the following details:
Device name : You can provide any device name.
Device Image : It is preferred that you choose a device image to differentiate between the devices in a network. A collection of images are available in <Simulator_Home>/devices/images directory. You can also provide your own image for the new device. Refer to Adding Device Images.
Device Type : Select the device type as SNMP Device from the list displayed.
You can simulate the SNMP device by specifying the MIB file or the configuration file or the SNMP WALK file.
MIB File
To create a device using a MIB/Configuration file, select the MIB/Config tab.
Select MIB Files option and click Load button. This brings up the MIBs selection dialog listing all the MIBs.
Select a MIB or MIBs and click the Open button. This lists the MIB file you have selected. To select multiple MIBs, press the Shift key and select the MIB file name that you want.
Configuration File
To create a device using a MIB/Configuration file, select the MIB/Config tab.
Select the Pre-Configuration Files option and click Load to select the configuration file. The main configuration file created using SNMP Agent Simulator (filename_main.xml) must be selected.
After selecting the configuration file, click Open button. This loads the configuration file you have selected.
SNMP WALK File
To create a device using SNMP WALK file, select the MIB WALK file tab. Refer to the Help Doc section, Device Creation using SNMP WALK File for more information.
To enable TFTP service, select TFTP and configure the TFTP parameters.
Default root directory: The default TFTP root directory is ./networks/<networkname>/tftp/<templatedevicename> directory.
Root directory : Configure the TFTP root directory as per your requirement.
Upload script/Download script: You can configure Jython script files to be executed when a file is uploaded to the server or downloaded from the server. This facility can be used to inform the manager about a file transfer, by way of sending traps etc. To configure scripts, browse and select the script (.py file).
To enable Telnet Service, select Telnet. Configure the user name and password to login to Telnet. The default user name is root and password is public. The telnet commands supported by the SunSolaris device will be supported.
Click Create to create and add the device in the device tree.
|
|
Note:
1. The SNMP device will support SNMP, TFTP (if TFTP service is enabled) and Telnet (if Telnet is enabled). 2. The configuration will be copied in <Simulator_Home>/devices/db/device name/ directory. The main file will be in the name ./snmp/<device name>_main.xml. 4. The device database files will be created with the specified device name in <Simulator_Home>/mysql/data/devicedb directory. |
Adding a Router, Switch, Printer, Firewall Device
To add an router, switch, printer or firewall device, do the following :
Right-click a group node and select Add Device. The DeviceAdditionWizard is displayed, wherein you have to specify the following details:
Device name : You can provide any device name. The device name cannot have a space in between.
Device Image : It is preferred that you choose a device image to differentiate between the devices in a network. A collection of images are available in <Simulator_Home>/devices/images directory. You can also provide your own image for the new device. Refer to Adding Device Images.
Device Type : Select the device type as Router/Switch/Printer/Firewall from the list displayed.
Select the template device from the list of predefined configurations. The template router/switch and firewall devices supports SNMP and IOS commands. The template printer device supports only SNMP.
To enable TFTP Service, select TFTP and configure the TFTP parameters.
Default root directory: The default TFTP root directory is ./networks/<networkname>/tftp/<templatedevicename> directory.
Root directory : Configure the TFTP root directory as per your requirement.
Upload script/Download script: You can configure Jython script files to be executed when a file is uploaded to the server or downloaded from the server. This facility can be used to inform the manager about a file transfer, by way of sending traps etc. To configure scripts, browse and select the script (.py file).
Click Create to create and add the device in the device tree.
|
|
Note:
1. The router/switch device will support SNMP, CLI and TFTP (if TFTP service is enabled). 2. The Printer device will support SNMP, TFTP (if TFTP service is enabled) and Telnet (if Telnet is enabled). 3. The configuration will be copied in <SimulatorHome>/devices/db/device name/ directory. The main file will be in the name ./snmp/<device name>_main.xml. 4. The device database files will be created with the specified device name in <Simulator_Home>/mysql/data/devicedb directory. |
Adding TL1 devices by specifying TCS / Configuration file
Right-click a group node and select Add Device . The DeviceAdditionWizard is displayed, wherein you have to specify the following details:
Device name : You can provide any device name.
Device Image : It is preferred that you choose a device image to differentiate between the devices in a network. A collection of images are available in <Simulator_Home>/devices/images directory. You can also provide your own image for the new device. Refer to Adding Device Images.
Device Type : Select the device type as TL1 Device from the list displayed.
You can simulate the TL1 device by specifying the TCS file or the configuration file.
TCS File
Select TCS Files option and click Load button. This brings up the TCS selection dialog listing all the TCS files.
Select a TCS file and click the Open button.
Pre Configuration File
Select the Pre-Configuration Files option and click Load to select the configuration file of type <filename>.prp. The configuration file created using TL1 Agent Simulator or Network Simulator can be used.
After selecting the configuration file, click Open button. This lists the configuration file you have selected.
To enable TFTP Service, select TFTP and configure the TFTP parameters.
Default root directory: The default TFTP root directory is <SimulatorHome>/devices/db/<devicename>/<tftp>/ directory.
Root directory : Configure the TFTP root directory as per your requirement.
Upload script/Download script: You can configure Jython script files to be executed when a file is uploaded to the server or downloaded from the server. This facility can be used to inform the manager about a file transfer, by way of sending traps etc. To configure scripts, browse and select the script (.py file).
Click Create to create and add the TL1 device in the device tree.
|
|
Note:
1. The TL1 device will support TL1 and TFPT (if TFTP service is enabled).
2. The configuration main file will be created with the specified device name in <Simulator_Home>/devices/db/device name/ directory. The main file will be in the name <device name>_main.xml for SNMP and <device name>.prp for TL1.
3. The device database files will be created with the specified device name in <Simulator_Home>/mysql/data/devicedb directory.
|
The rules to add a new device image is give below :
The image to be displayed in the device tree must be of size 23 * 23 px. Any name can be specified for this image
The image to be displayed in the network area must be of size 36 * 72 px. The name of this image must end with <name>_32.png. If this image is not provided, the image with size 23*23 px is taken.
The image must be in .png format.
|