|
On creating a network, the View -> Tree View -> Show Template Tree View will be enabled. By default, the device library will be listed on the left-side tree. sThe template tree will list the template devices that were used to create the network and the number of devices of each type. For example, Cisco3600_1(3) means that the loaded network consists of 3 devices created using the device Cisco3600. If we add another set of devices of the same type to this network, for example, 4 devices of type Cisoc3600, the template tree will display it as Cisco3600_2 (4). Refer the screen-shots of the Template tree view, given below:
|
|
|
The template device right-click menu option Template Info provides details about the devices created using the template. The ip address of the devices and the protocol specific properties will be displayed as shown in the screen-shot given below. You can modify the protocol specific properties. This will be reflected in all the selected devices. By default, all the devices are selected.

|
|
Note: When a template device is double-clicked, the devices created of this type are highlighted in the network area.
|
Bulk configurations using template devices
Configuration changes made to the template devices will be reflected on all the devices in the network which was created using this template. The screen-shot given below shows the right-click menu options that are available on the SNMP template devices. Each of these options is explained below:

You can configure scalar and table values, configure simulation types, and perform table operations on the template device. This will be reflected in all the devices in the network created using this template. To configure values,
Right-click on the template device and select SNMP -> Agent Values. The Configure SNMP Agent Values dialog is displayed with the MIBs loaded in the MIB tree. You can load a new MIB using the Load MIBs button or unload an existing MIB using the Unload MIBs button.
Refer to the topic, Simulating an SNMP Agent -> Configuring Values for the MIB to learn about the steps involved in configuring MIB values and simulation types.
Refer to the topic, Simulating an SNMP Agent -> Populating the SNMP Table, to learn about the table operations supported.
You can configure SNMP traps on the template device. This will be reflected in all the devices in the network created using this template. The following traps can be configured.
Request-based traps
Threshold-based traps
Timer-based traps
To configure traps,
Right-click on the template device and select SNMP -> Trap. The Trap Configuration dialog is invoked.
Refer to the topic, Simulating an SNMP Agent -> Simulating Traps, to learn about the steps involved in trap configuration.
You can configure SNMP informs on the template device. This will be reflected in all the devices in the network created using this template. The following inform messages can be configured.
Request-based informs
Threshold-based informs
Timer-based informs
To configure informs,
Right-click on the template device and select SNMP -> Informs. The Inform Configuration dialog is invoked.
Refer to the topic, Simulating an SNMP Agent -> Simulating Informs, to learn about the steps involved in inform configuration.
You can configure Real-Time Behavior of SNMP devices using Jython scripts. . This will be reflected in all the devices in the network created using this template. To configure behavior scripts,
Right-click on the template device and select SNMP ->Behavior . The Configure Behavior dialog is invoked.
Refer to the topic, Simulating a Network -> Configuring Behavior in SNMP Devices , to learn about the steps involved in behavior configuration.
This option allows you to modify the SNMP read and write communities. This will be reflected in all the devices in the network created using this template.
Right-click on the template device and select Template Info. The Template Info dialog is displayed.
Select the SNMP Tab and specify the new Read Community and Write Community to be assigned to the devices.
Click OK to update the changes.
This option allows you to modify the TFTP properties for the template based devices in the network. You can modify the TFTP root directory and configure a script to be executed when a file is uploaded/downloaded.
Right-click on the template device and select Template Info. The Template Info dialog is displayed.
Select the TFTP Tab. The following TFTP parameters can be configured :
a. Execute Script on File Upload/Download
To execute a script when a file is downloaded from the TFTP server in the simulator, browse and select the script (.py file) in the Execute script on Download combo box. This script file will be copied in ./networks/<networkname>/tftp/<templatedevicename> directory in the name TftpDownloadScript.py.
To execute a script when a file is uploaded to the TFTP server in the simulator, browse and select the script (.py file) in the Execute script on Upload combo-box. This script file will be copied in ./networks/<networkname>/tftp/<templatedevicename> directory in the name TftpUploadScript.py.
b. Root Directory
Configure the TFTP root directory for the template device. This will set the specified directory as the root directory for the template based devices in the network. All TFTP file transfers will be with respect to this root directory.
Click OK to apply the changes to the specified range of TFTP servers.
Configuring CLI command scripts
If the template device supports CLI, the CLI -> Command script right-click menu option will be displayed, in addition to SNMP. This option enables you to view and edit the script files configured for the IOS commands, as per your requirement. It gives a list of all the IOS commands supported for the specific device. Selecting a command will display the script file configured for the command.
Right-click on the template device and select CLI -> Command script. The CLI command editor is displayed.
Refer to the topic, IOS Simulator Guide -> Editing Scripts, to learn more about editing scripts.
This option allows you to modify the user name and password to login to the IOS simulation.
Right-click on the template device and select Template Info. The Template Info dialog is displayed.
Select the CLI Tab. Specify the new User name and Password to login to the IOS simulation.
Specify the new Enable Mode Password to get into exec mode.
Click OK to update the changes on the template based devices in the network.
Configuring Telnet command scripts
If the template device supports Telnet, the Telnet -> Command script right-click menu option will be displayed, in addition to SNMP. This option enables you to view and edit the script files configured for the telnet commands, as per your requirement. It displays a list of all the telnet commands supported for the specific device. Selecting a command will display the script file configured for the command.
Right-click on the template device and select Telnet -> Command script. The command editor is displayed.
Refer to the topic, Editing Scripts, to learn more about editing telnet scripts.
This option allows you to modify the user name and password to login to the telnet devices.
Right-click on the template device and select Template Info. The Template Info dialog is displayed.
Select the Telnet Tab. Specify the new User name and Password to login to Telnet.
Click OK to update the changes on the template based devices in the network.
|
|
Note:
1. Configuration of SNMP Agent values, traps, informs and behavior scripts made to the template devices will be reflected on all the devices in the network which was created using this template, except on the following devices:
2. Configuration of SNMP, TFTP, CLI and Telnet parameters made to the template devices will be reflected on all the devices in the network which was created using this template.
3. Template based bulk configurations are not supported on TL1 devices. |
|