Home

MG-SOFT SNMP Agent Simulator

image

Contents

1. eere eee ee 10 2 1 System Requirements uerus iras 10 2 2 Installing SNMP Agent Simulator for Windows ooccccoccnccocncccocononcnonacnnnnnnnnnacnnnnons 10 3 Starting SNMP Agent Simulator oonccconncicnnnciconnccnnnnccnnnnnonnnnnenanonenannnenanrnenanens 15 3 1 Starting SNMP Agent Simulator Management Console oocccoccccccnccccccocncnncocncnnnnnonos 15 3 2 Starting SNMP Agent Simulator EENQIN ccooccccocncccccnconcncnncnnconcnonacnnonnnnnnncnnnncnononos 15 4 Configuring Simulation cirio 16 An Adding SIMULA r ENGINES prsna 16 4 2 Adding Simulated Agents to ENQINES occcoccccccncccnccncnnncncnnnnonononncnonancnnnnonaronarnonanonos 18 LA EP Too sies viae ecne S 18 DECI IRE TEVA AGOTCSS DAS e ERN E DR RISE Foe 16 SDECIIVING LEO Address Ded asso e EN CEN SER ENERO ROHPDROTD OEC De 20 4 2 2 Adding Multiple SNMP Agents eee iiL i esee ease assa a saa ARR a eniai aa 24 4 2 2 1 Adding Multiple SNMP Agents in an IPv4 or IPv6 Address Range essent 24 4 2 2 2 Adding Multiple SNMP Agents in a PORRES 32 4 3 Editing Multiple SNMP Agent ccccsscccseecssceceeeceeeeceeecceeessusesueeseeeeeeessueeseeeseas 37 4 4 Organizing Simulated Agents in FOlders cccccccssececeeeeeeeeeeeeeeeseeeeeeeeeseeeaeeeensees 41 AAA Creating aJNeW EOIOGF o oi ED Ace ead RE ERA re ba an ME 41 4 4 2 Putting
2. 1Pw4 address 10 0 3 109 Subnet mask 255 255 240 0 Fort 161 Network interface 28 Intel R PROF 1000 MT Network Conner SNMP profile Default SUMP 1 Agent snapshot ee DSLAM 1 Enable statistics EJ L Comment Figure 30 The Edit Multiple SNMP Agents dialog box In the Edit Multiple SNMP Agents dialog box select the desired IP version button at the top of the dialog and then check the checkbox in front of the property you wish to change for all selected SNMP agents and set its value in the accompanying GUI control drop down list checkbox input line etc All selected SNMP agents will have the same value of this property e g IP address SNMP profile agent snapshot live agent template etc Tip For the description of SNMP agent properties available in the Edit Multiple SNMP Agents dialog box please refer to the Adding an SNMP Agent section After configuring the desired properties in the Edit Multiple SNMP Agents dialog box click the OK button to close the dialog box and apply the changes to all selected SNMP agents Example How to configure multiple existing SNMP agents to listen on IPv4 UDP port 1161 use the DSLAM1 agent snapshot disable the live agent simulation and make the agents read only 1 Select the IPv4 button in the IP version frame at the top of the Edit Multiple SNMP Agents dialog box LL 38 MG SOFT SNMP Agent Simulator User Manual Editing Multiple SNMP Agents
3. syshame OBJECT TYPE Q Find Ctrl F 13 64 2445 Find Next F3 Marne syntax Value All Instances P Edit sysllpTimel timeticks Automatic Duplicate Binding Previous sibling syeContact Mext sibling sysLocation X Remove Numerical syntax Octets Base syntax OCTET STRING lt Trap template name High chasis temperature notifications Cancel Figure 68 Adding a variable binding to a trap LL 72 MG SOFT SNMP Agent Simulator User Manual Configuring Live Agent Settings Agent Behavior 3 4 To set a custom value uncheck the Automatic checkbox in the lower panel of the New Trap Templates window and double click the relevant variable binding and specify the custom value into the Value input line in the dialog box that appears Figure 69 Clicking the OK button to apply the setting and close the dialog box OID Send as Mew Trap v1 LI 1 3 6 1 2 1 1 5 0 Cancel A Mew Trap vz Value TT X Mew Timer Server machine 1 i i Duplicate Operation Syntax C Integer32 Timeticks Counter 4 nteger imetic ounter tdi 3 UInteger32 IF address 6 Opaque R O Counter32 OID C Msapaddr M Remove 0 Gauges Octets Bits C ad Binding list Mame Syntax Value All Instances i Automat Edit sysUpTimel Omen automa saraplrapO objectident Automatic sysMame octet string 0 Remove Pr uf Figure 69 Setting a variable binding va
4. Adding an IPv6 SNMP agent instance configuring general settings In the Port drop down list specify the UDPv6 port e g 161 on which the new SNMP agent instance will listen to for incoming SNMP requests In the Network interface drop down list select the network interface card which the specified IPv6 address is or will be assigned to Note The Network interface drop down list contains the currently connected Ethernet and Wi Fi network interface controllers on the computer where the given simulator engine runs If the network interface you selected in SNMP Agent Simulator is later disabled or removed from the system the simulated agent instances will fail with the Specified interface not available message lo solve the problem you need to select a valid interface from the Network interface drop down list LL 20 MG SOFT SNMP Agent Simulator User Manual Adding Simulated Agents to Engines 3 From the SNMP profile drop down list select a profile for the simulated SNMP agent instance The selected SNMP profile determines the SNMP access parameters accepted by the agent SNMP protocol version community names or SNMPv3 settings Tip Click the Manage SNMP Profiles button next to the SNMP profile drop down list to open the SNMP Profiles Manager dialog box where you can create a New SNMP Profile or edit existing ones and then select the desired profile in this drop down list 4 From the Agent snapshot file drop down list sele
5. Anew agent icon appears below the selected folder in the main window Figure 38 as File Edt YWiew SNMP Agent simulator Engine Run Tc 45 fe Wels 6 X FAB Filter Options Simulator Engines status Address 4 WE Local Simulator Engine Connected 12 7 0 0 1 GS Printer A Running 10 0 3 161 4 m Subnet 1 Cisco Switch 1 10 0 3 161 Figure 38 SNMP Agent has been moved to a folder 4 Repeat the steps 1 2 above to move other simulated agents into folders Note You can select multiple agents use the SHIFT key to select adjacent agents and the CTRL key to select non adjacent agents and move them together to a desired folder via drag amp drop 4 4 3 Deleting a Folder 1 Right click the folder that you wish to delete and select the Delete Folder pop up command Note If the folder you are deleting contains any subfolders and or SNMP agents they will be also deleted This operation is irreversible 2 After confirming the delete operation the selected folder and all its content is deleted LL 43 MG SOFT SNMP Agent Simulator User Manual Configuring SNMP Profiles 4 5 Configuring SNMP Profiles Each simulated SNMP agent instance must have one SNMP profile assigned A SNMP profile contains the SNMP protocol settings SNMP version community names or SNMPv3 user settings that are used by the simulated agent which the profile is assigned to To start configuring SNMP profiles click the Edit SNMP Profiles command
6. Filter simulator Engines T status Address Port SNMP Profile snapshot 2 SE Local simulator Engine Connected 12 00 7 5898 al Remote Simulator Engine 1 Connected 10 0 3 167 5899 Linux server_000 10 0 1001 161 Default SWMP 1 RHEL6 Figure 82 Starting all SNMP Agents a To run all SNMP agent instances controlled by a particular simulator engine right click the simulator engine in the upper window panel and select the Start All Agents pop up menu command Figure 83 File Edit View SNMP Agent Simulator Engine Run Tools Help e Je HA X BOO datul X ie q Filter simulator Engines status Address Fot SMMIP Profile snapshot SE Local simulatar Engine Connected 127 0 0 1 3099 al ES Remate Simulator Engine 1 Connected 1003114 5699 a Linux Server QOUT Idle 10 0 5 114 161 Default SNMP RHELG al z 5 Remote Simulator Engine 2 Connected 10039167 5000 Remate Simulator Engine zZ Agent QUQT Idle New SNMP Agent A Remote Simulator Engine 2 gent QOD2 Idle New SNMP Agents in Range a Rernote_simulator_Engine_2_ gent_0003 Idle GS Remote Simulator Engine 2 Agent 0004 Idle t GB Stop All SNMP Agents Figure 83 Starting all SNMP agents of a given simulator engine LL 85 MG SOFT SNMP Agent Simulator User Manual Starting Simulation a To start simulating one or more SNMP agents first select them with the mouse press and hold down the CTRL key and click individual agent instances in the upper window panel rig
7. MG SOFT SNMP Agent Simulator User Manual Configuring Live Agent Settings Agent Behavior Request Based Value Changing If you choose the Request based value change option the value changes every time the given OID is retrieved by means of SNMP Get GetNext GetBulk request In addition you need to select and configure one of the following mechanisms of value changing Figure 55 a Generate generates a new value based on the selected method Methods are a Increment increments the value for STEP until MAX value is reached then restarts from the MIN value STEP is a configurable integer or a random value with configurable minimum and maximum Decrement decrements the value for STEP until MIN value is reached then restarts from the MAX value STEP is a configurable integer or a random value with configurable minimum and maximum Random generates a random number between MIN and MAX values Linear value increases in the linear manner based on the SLOPE parameter until the MAX value is reached then restarts from the MIN value Sinus value changes according to the sine function if MIN is 1 and MAX is 1000 the amplitude is 500 values are between 1 and 1000 The speed of value change is determined by the FREQUENCY parameter in Hz a Run command runs a script or a command line program to perform arbitrary operation and optionally retrieve the value from the exit code of that script program as described below
8. MIB node properties Mame cold Start Figure 64 Adding an SNMPv1 Trap from MIB to trap template 3 A new SNMPv1 Trap whose properties match the ones defined in the MIB module is added to the trap template list displayed in the central section of the New Trap Template window Figure 65 If there are any variable bindings defined for the given trap type in the MIB module these variable bindings are also automatically added to the trap and displayed in the Bindings list panel of the New Trap Templates window General Trap destinations IP Address 10 0 0 215 10 0 3 132 minutes a Repeat ever 10 Trap list Operation Trap type Aqentaddress Enterprise OID Specific trap SNMP trap OID ln o ie NL nr Ll Tn 1 mi A Mew Trap v1 Trap fj Y Cold start 10 0 3 134 1 3 6 NOMINE RISE IX UM MM LLL D LED RE J Mew Trap iwz TT amp Mew Timer Figure 65 SNMPv1 Trap added to the trap template 4 To view or configure the trap properties double click the trap in Trap list which opens the Trap Properties dialog box o o add additional variable bindings to the trap or edit existing variable bindings proceed as explained in the Adding Bindings to Traps section LL 68 MG SOFT SNMP Agent Simulator User Manual Configuring Live Agent Settings Agent Behavior Adding user defined SNMPy1 Traps 1 To add a user defined SNMPv1 trap to trap template click the New Trap v1 button in the N
9. The SNMP Profiles Manager dialog box appears Figure 39 Filter LA Default SMMP S Default SNMP i Profile name Default SMP SNMP version SMM Pw Read com munity public Write community priwate Trap com munity public Duplicate Edit Delete Figure 39 Managing SNMP Profiles a To create a new SNMP profile click the New button and the New Edit SNMP Profile dialog box will appear a To create a copy of an existing SNMP Profile select the profile and click the Duplicate button and specify the name for the duplicate profile To delete an SNMP profile select it in the list and click the Delete button To edit an SNMP profile select it on the list and click the Edit button and the New Edit SNMP Profile dialog box will appear 4 5 1 New Edit SNMP Profile Dialog Box The New SNMP Profile and Edit SNMP Profile dialog boxes have the same appearance as described in this section 1 In the Name input line in the New Edit SNMP Profile dialog box Figure 40 enter the name of the SNMP profile LL 44 MG SOFT SNMP Agent Simulator User Manual Configuring SNMP Profiles 2 Choose the SNMP version that will be supported by the simulated agent s by selecting the corresponding radio button SNMPv1 or SNMPv2c or SNMPv3 3 If you have selected the SNMPv1 or SNMPv2c protocol version specify the community names for different types of SNMP operations as follows a Into the Read community input line enter the commu
10. 0 100 8 10 0 100 9 10 0 100 10 10 0 100 11 Port 093 161 1161 3007 161 161 161 161 161 161 161 161 161 161 161 SNMP Profile Default SMhMP Default SNMP Default SMhMP 2 Default SNMP Default SNMP Default SNMP Default SNMP Default SNMP Default SNMP Default SNMP Default SNMP Default SAM PY Default SNMP Default SNMP snapshot Live Agent Simulat Ciscoswitch Disabled PrinterHP Printerxerox Ternplate based Basic Ternplate based Ternplate based Ternplate based Ternplate based Ternplate based Ternplate based Ternplate based Ternplate based Ternplate based Ternplate based Ternplate based Figure 25 Many SNMP agent instances added in an IP range LLI 31 MG SOFT SNMP Agent Simulator User Manual Adding Simulated Agents to Engines 4 2 2 2 Adding Multiple SNMP Agents in a Port Range This section describes how to create multiple SNMP agent instances in a port range where every agent instance will listen on a different UDPv4 or UDPv6 port but all will listen to the same IPv4 or IPv6 address 1 Right click the simulator engine you want to add the agents to and choose the New SNMP Agents in Range pop up command Figure 18 or choose the SNMP Agent New SNMP Agents in Range command from the main menu The New SNMP Agents in Range dialog box appears Figure 26 Into the Agent base name input line enter the name prefix that will be common to all created SNMP agent instances
11. 1 a 7 cCallHistoryPeer amp ddress 30 octet string 2002 lt Duplicate Binding Vv Trap template name ImportedTraps Cancel Figure 72 Imported Traps from a MIB Browser Trap XML trfx file LL 75 MG SOFT SNMP Agent Simulator User Manual Configuring Live Agent Settings Agent Behavior Tip You can edit the imported SNMP Traps in the same manner as manually added configured Traps see previous sections 6 Into the Trap template name input line at the bottom of the New Edit Trap Template window specify the name of the trap template you are creating editing 7 Finally after you have finished editing the trap template click the Save button at the bottom of the New Edit Trap Template window to close it and save the changes you have made to the trap template Tip A trap template can be assigned to simulated agents in the Traps tab of the Agent Properties dialog box You can select multiple simulated agent instances and choose the Edit Multiple SNMP Agents pop up command to configure the properties including the assigned trap template for multiple agents at the same time LL 76 MG SOFT SNMP Agent Simulator User Manual About Filtering Methods 5 FILTERING SIMULATED SNMP AGENTS The MG SOFT SNMP Agent Simulator Management Console implements advanced filtering feature that lets you enter a search pattern to find and display only those agent instances rows whose properties match the search pattern 5 1
12. 2 When creating an IP address make sure that no such IP address already exists on your network as this may cause connectivity problems caused by IP address conflicts By default the subnet mask from the selected network interface s IP address is displayed in the Subnet mask input line If you want to use a different subnet mask for the IP address you are creating enter it into the Subnet mask input line instead of the mask offered by default LL 32 MG SOFT SNMP Agent Simulator User Manual Adding Simulated Agents to Engines IP version Range type Agent base name SetTopBox IP addresses IPv4 address 10 0 3 141 Subnet mask 255 255 252 I Network interface GS Intel R PRO 1000 MT Network Connection Ports Stark pork 10161 End port 11160 General Agent behavior Traps SNMP profile Default SNMP Agent snapshot File SPP statistics Number of SNMP agents to be added 1000 11 00000 Cancel Figure 26 Adding multiple SNMP agents in a port range UDP IPv4 4 In the Network interface drop down list select the network interface card which the IP address and port range will be assigned to Note The Network interface drop down list contains the currently connected Ethernet and Wi Fi network interface controllers on the computer where the given simulator engine runs If the network interface you selected in SNMP Agent Simulator is later disabled or removed from the system the simulated agent
13. 94 Tee COMPETING ERE d 95 LJ 4 MG SOFT SNMP Agent Simulator User Manual Product Description TABLE OF FIGURES Figure 1 SNMP Agent Simulator installation wizard Welcome screen seeeessssse 11 Figure 2 SNMP Agent Simulator installation wizard Firewall Settings screen 12 Figure 3 SNMP Agent Simulator installation wizard Setup Type screen ssssssuuus 13 Figure 4 SNMP Agent Simulator installation wizard Custom Setup screen ssss 13 Figure 5 SNMP Agent Simulator installation wizard Ready to Install screen 14 Figure 6 Run dialog bOX EET NT EE 15 Figure 7 Starting SNMP Agent Simulator Engine service oocccccccnonnconccononcconccononcconcnonncconcnonanccancnnnnns 15 Figure 8 Adding a simulator engine to the management console ccccccooccnncccccnccnncccnnancnnnnononccnnnnnnnns 16 Figure 9 New Engine dialog BOX sess gi 17 Figure 10 Management console displaying two simulator engiNesS c oooccnncconcnnconoccnnononcnnonnnnnncnnanenoos 17 Figure 11 Adding a new SNMP agent to a simulator engine ooooocccccccnnncconccnnnncconcnonnncnonononanccnncnnnnns 18 Figure 12 New SNMP Agent dialog box General tab occcccccconnconccononcconncononncnnnonnnnncnnonononncnnnnnnnns 19 Figure 13 Adding an IPv6 SNMP agent instance configur
14. About Filtering Methods You can filter entries in the SNMP Agent Simulator GUI using the following methods a String normal text search filtering method all rows that contain the entered string in any of the enabled columns will be displayed as result File Edit View SNMP Agent Simulator Engine Run Tools Help y e lo M FAB O Mal X ie C Simulator Engines status Address SNMP Profile snapshot 4 YE Local simulator Engine Connected 127 0 0 1 a Linux Running 10 0 2 212 Default SMIMP T default a Linux Running 10 0 2 212 Default SHBAP T default a Linux3Q Running 10 0 2 212 Default SWBAP T default a Linux532 Running 10 0 2 212 Default SNBAPY1 default Figure 73 Example of using a string filter a Wildcard text search filtering method that allows combining normal text with wildcard characters which represent zero one or more other characters e g and File Edit View SNMP Agent Simulator Engine Run Tools Help 45 4e Mela 5 X FAR OO Mil 4 d lin options Simulator Engines status Address 4 WE Local simulator Engine Connected 12 7 0 0 1 E Linux Running 10 02 21 a Linux Running 10 0 2 21 _ Status Match whole word only m Columns E Options Simulator Engines Dynamic Filter Address Match case C Port Lise Profile Wildcard Snapshot Live Agent Simulation Trap Template a Statistics E 195 0 a C Comment Figure 74 Example of using a wildcard filt
15. Furthermore the built in editor lets you view and edit agent snapshot files XML in a visual manner The management console incorporates bulk commands that let you add configure start and stop simulating a group of SNMP agents at a time MG SOFT SNMP Agent Simulator User Manual Product Description MG SOFT SNMP Agent Simulator runs on supported Microsoft Windows operating systems Windows Vista Windows Server 2008 Windows 7 Windows Server 2012 Windows 8 x and Windows 10 LL 9 MG SOFT SNMP Agent Simulator User Manual System Requirements 2 INSTALLING SNMP AGENT SIMULATOR 2 1 System Requirements MG SOFT SNMP Agent Simulator 2015 successfully runs on the following 32 bit and 64 bit Microsoft Windows operating systems a D D D O O Windows Vista Windows Server 2008 Windows 7 Windows Server 2012 Windows 8 x Windows 10 Additionally administrative user privileges are required to successfully install SNMP Agent Simulator Hardware requirements for SNMP Agent Simulator 2015 Enterprise 1000 Edition Mmmm ommended Intel Pentium 2 GHz CPU Intel i3 dual core or better CPU 2 GB RAM 4 GB RAM or more 100 MB program files 2 GB for configurations data Ethernet network interface controller Other USB port required for plugging in the hardware dongle HASP shipped with the licensed version of the software 2 2 Installing SNMP Agent Simulator for Windows Note 1 You can install MG SOFT SNMP Agent Simulator Eng
16. Import li PrinteXerox Duplicate iia RHEL BiR snapshot from MIBs amp DSL snapshot from MIBs VD SL Delete ii STE dla Win Server 2008 R2 Edit Figure 46 Agent Snapshots Manager dialog box LI 51 MG SOFT SNMP Agent Simulator User Manual Editing Agent Snapshots 2 Select the agent snapshot file you want to edit and click the Edit button The selected agent snapshot is displayed in a form of a MIB tree Figure 47 Note To enable viewing and editing the agent snapshot in a user friendly manner you should load the MIB modules that define the MIB objects contained in the given agent snapshot file Syntax 4 7 interfaces E ifMumber gt ifNumber Integer a E ifTable a p ifindex Edit iflndex1 Remove e iflridex 2 Add Leaf 2 a p ifDescr e ifDescr 1 y Expand MS TCP Loopback interface IfDescr 2 t Collapse VMware Accelerated AMD PCNet Adapter P ifDescr 3 Vivware Accelerated AMD PCNet Adapter a E ifType O Find Ctrl F Ep ifType Franc Riese F3 saftwarel oopback 24 IFType 2 ethernet csmacdi i he Find P Ctrl F3 B ifType 3 icis di ethernet csmacdi bi a ifMty mI Ru Copy OID 1500 ifivttu 2 1500 E ifivitu 3 EY Show MIB Node Properties 1500 4 ifSpeed ifSpeed 1 10000000 Ep ifSpeed 2 1000000000 Ep ifSpeed 3 1000000000 Snapshot File name default Number of object instances in agent snapshot 677 Cancel Figure 47 Agent Snapshot File Editor window 3 To add an ins
17. Network interface drop down list contains the currently connected Ethernet and Wi Fi network interface controllers on the computer where the given simulator engine runs If the network interface you selected in SNMP Agent Simulator is later disabled or removed from the system the simulated agent instances will fail with the Specified interface not available message To solve the problem you need to select a new binding interface To quickly change the network interface for multiple simulated agents select the agents in the management console and choose the Edit Multiple SNMP Agents command from the pop up menu In the Edit Multiple SNMP Agents dialog box check the Network interface checkbox and select a new interface from the accompanying drop down list In the Ports frame in the Start port and End port drop down lists specify the UDPv6 port range the first and the last port number on which the newly created group of SNMP agent instances will listen to for SNMP requests How many agent instances will be created depends on the port range span For example if the start port is 7001 and end port is 7010 port range includes 10 ports 10 SNMP agent instances will be added where every agent instance will bind to a different port from the range however all agent instances will bind to the same IPv6 address The exact number of agent instances that are going to be added is displayed at the bottom of the New SNMP Agents in Range dialog box see the
18. Run Tools Help E fe Bey AG Ni owen WO x i Filter Rename Engine Edit Engine E l i l M Delete Engine SE Local simulator Engine simulator Engines SNMP Profile snapshot B Engine Status Report SNMF Statistics Averagqe s Peak Delta Peak Delta Time Peak Aver SMMP Statistics Error List B oc 0 Figure 8 Adding a simulator engine to the management console 1 Select the Simulator Engine New Engine command from the main menu Figure 8 or right click inside the upper window panel and choose the New Engine command from the pop up menu 2 The New Simulator Engine dialog box appears Figure 9 LL 16 MG SOFT SNMP Agent Simulator User Manual Adding Simulator Engines 3 Into the Engine name input line in the New Simulator Engine dialog box enter the name of the new simulator engine e g Remote enginel 4 n the IP Address drop down menu specify the IP address of the computer on which the simulator engine runs Engine name Remote Simulator Engine 1 IP Address 10 0 3 157 Port 5099 Comment Simulator engine running on the remote machine 1 Figure 9 New Engine dialog box 5 Inthe Port drop down menu specify the TCP port number on which the simulator engine will listen for the Management Console connection e g 5899 6 Into the Comment input field you can optionally enter a comment for the new simulator engine 7 Click the OK button to close the New Engine dialog box create the
19. SNMP Agent Simulator will automatically add the _NNNN where N 0 9 numerical suffix to the specified base name For example if you create 100 SNMP agent instances and enter the base name Linux the software will generate agent instances with the following names ban COOL Linux 0002 Linux 00035 525lliDux OTOU Depending on whether you would like to add a group of IPv4 or IPv6 SNMP agents proceed as follows a To add SNMP agent instances in an UDP IPv4 port range follow the instructions in the Specifying UDP IPv4 Port Range Details section below a To add SNMP agent instances in an UDPv6 IPv6 port range follow the instructions in the Specifying UDPv6 IPv6 Port Range Details section Specifying UDP IPv4 Port Range Details 1 To add multiple SNMP agent instances in a port range where every agent instance will listen on a different UDP port but all will listen to the same IPv4 address select the IPv4 option at the top of the New SNMP Agents in Range dialog box and the Port range radio button below it Figure 26 In the IP address start drop down list specify the IP address that will be common to all SNMP agent instances you are creating by default the first IP address that is assigned to the selected network interface is displayed in this input line Note 1 If the entered IP address does not exist it will be added to the system and assigned to the network interface card selected in the Network interface drop down list Note
20. a Note Running external programs scripts can be very time and resources consuming operation lts extensive use can lead to a serious performance degradation of the entire simulation system Command line enter the full path to the command line application or script file to be executed Parameters optionally enter the switches and parameters to be included in the command line You can include the OID syntax and the current value of the OID you are configuring as parameters by using the reserved words SOID SSYNTAX and SVALUE respectively Set return value check this option if you would like the software to check the exit code returned by the executed scripts program set the value of the given OID to the value of the exit code and return this value in the SNMP Response message Timeout the timeout value in seconds that controls how long the software waits for the executed script program to finish and return the exit code After configuring the request based value change options click the OK button at the bottom of the Value Change Configuration dialog box to save the changes and close the dialog box LL 59 MG SOFT SNMP Agent Simulator User Manual Configuring Live Agent Settings Agent Behavior Time Based Value Changing If you choose the Time based value change mechanism select one of the following options a Periodic The value will changes every X seconds minutes hours Figure 56 a Select the value cha
21. a To start the bundled MG SOFT MIB Compiler application click the Run MIB Compiler button J Run MIE Compiler at the bottom of the MIB Modules dialog box MIB Compiler lets you compile any standard or private vendor specific MIB file and save it to SMIDB format so it can be loaded and used in MG SOFT SNMP Agent Simulator and other MG SOFT applications For detailed instructions on compiling MIB files please refer to the MIB Compiler User Manual a To quickly find a MIB module in the MIB modules list or Loaded MIB modules list enter the name of the MIB module or part of its name into the Filter input line Q above the corresponding list This will display only those MIB modules in the respective list that contain the entered text string in the module name Figure 43 To remove the filter and display all modules click the Remove filter symbol ES MIB modules 24 3207 Loaded MIB madules snmp Filter SNMP COMMUNITY MIB ADSL2 LINE MIB S SNMP FRAMEWORK MIB gt lg ADSL2 LINE TC MIB SMMP IEEES02 TM MIB s ADSL LINE MIB a SMMP MPD MIB ig ALARM MIB SNMP NOTIFICATION MIB M RFC1155 SMI d SMMP PROXY MIB i RFC1213 MIB d SNMP REPEATER MIB RFC1215 TRAP S SNMP SSH TM MIB ie SMMP TARGET MIB SNMP TLS Th MIB wm SNMP TSM MIB Number of available MIB modules 328 Number of loaded MIB modules 7 Run MIB Compiler Figure 43 A filtered list of MIB Modules left panel LL 48 MG SOFT SNMP Agent Simul
22. agents of the selected simulator engine LL 88 MG SOFT SNMP Agent Simulator User Manual Viewing Errors a To stop simulating one or more running SNMP agents first select them with the mouse press and hold down the CTRL key and click individual agent instances in the upper window panel right click one of them and select the Stop Agent command from the drop down list Figure 88 File Edit View SNMP Agent Simulator Engine Run Tools Help sel X FB 004017 Filter a Options simulator Engines status Address Port SNMP Profile Snapshot SE Local simulator Engine Connected 127 0 0 1 9099 4 y Remote Simulator Engine 1 Connected 10 0 3 114 5899 Linux Server_O001 i 4003 14 i161 Default SNMP RHEL al Remate Simulator Engine Connected New SNMP Agent ie Rernote_Sirnulatar_Engine_2_Agent_0001 Running New SNMP Agents in Range Cisco sto 4 Remote Simulator Engine 7 Agent_O002 Running Ciscoswitchs ie Remote Simulator Engine 2 Agent Q003 Running Rename SMMP Agent CiscoSwitchA GS Remote Simulator Engine 2 Agent 0004 Running Edit Multiple SYMP Agents CiscoSwitchA 3 Delete SNMP Agents SNMP Statistics start SAMAR Se Figure 88 Stopping selected a agents 7 3 Viewing Errors When you perform certain operations in SNMP Agent Simulator Management Console like starting and stopping SNMP agents some errors may occur e g an SNMP agent may fail to start because it cannot bind
23. and click the Duplicate button and specify the name for the duplicate trap template To delete a trap template select it in the list and click the Delete button To import a trap template from a Trap template XML file tsfx click the Import button and in the Import dialog box select the desired tsfx file from disk L 65 MG SOFT SNMP Agent Simulator User Manual Configuring Live Agent Settings Agent Behavior 4 9 5 Creating Editing a Trap Template Prior to configuring a trap template you need to load the MIB modules that define the SNMP notifications you are going to use in the trap template 1 To create or edit a trap template click the New button in the Trap Template Manager dialog box or select an existing trap template and click the Edit button respectively Alternatively to create a new trap template select the Tools Create Trap Template command from the main menu 2 The New Edit Trap Template window appears Figure 62 MIB tree General Show nodes Show MIB node properties Trap destinations Al IP Address Add Traps Only 3 2 Edit 4o SNMP Traps Only emove Af SNMP Traps Only L Repeat ever 10 minutes 4 7j internet O Rep d directory Trap list 4 lE mgmt a amp mib 2 Operation Trap type Specific trap SNMP Agent addr New Trap iwl 4 3 system QR sysDescr B sysObjectlD E Mew Timer O sysUpTime E sysContact Duplicate Operation gt sys Mame P Edit gt
24. appnPortOperstate Change rap apsEventlhannelMismatch apsEventFEPLF apsEventhdodellismatch apsEventPSBF apsEventSwitchover atmlntfPcFailuresTrap authenticatianFailure bgpBackwardTransMotification bgpBackwardTransitian 1 3 6 1 2 1 34 4 2 3 1 3 6 1 2 1 118 0 2 1 3 5 1 2 1 118 0 3 1 3 6 1 2 1 34 4 2 2 1 3 6 1 2 1 32 4 2 1 1 3 5 1 2 1 16 23 0 1 1 3 6 1 2 1 15 23 0 2 1 3 6 1 2 1 32 3 0 1 1 3 6 1 2 1 34 4 0 3 1 3 6 1 2 1 34 4 0 2 1 3 6 1 2 1 34 3 0 5 1 3 5 1 2 1 34 4 0 4 1 3 6 1 2 1 10 43 2 0 3 1 3 6 1 2 1 10 33 2 0 5 1 3 6 1 2 1 10 43 2 0 7 1 3 6 1 2 1 10 33 2 04 1 3 6 1 2 1 10 33 2 0 1 1 3 6 1 2 1 3 7 1 14 2 1 0 1 1 3 6 1 5 3 1 1 5 5 1 3 6 1 2 1 15 0 2 1 3 5 1 2 1 15 7 2 Figure 67 Add SNMPv2 Traps dialog box LL 71 MG SOFT SNMP Agent Simulator User Manual Configuring Live Agent Settings Agent Behavior Adding Bindings to Traps SNMP notification messages typically carry event details in the variable bindings list included in the respective Trap or Inform PDU When a v1 or v2 trap that is defined in the currently loaded MIB modules is added to a trap template the corresponding variable bindings are automatically added to the trap variable bindings list displayed in the lower panel of the New Trap Templates window The New Trap Templates window lets you edit and remove existing variable bindings as well as add additional MIB objects as variable bindings to traps 1 To add an object as a variable b
25. how a Feature is installed Feature Description SNMP Agent Simulator Engine Service r E s This is a user interface For SNMF Agent Simulator Management Console miananaina SPD amen ink see This feature will be installed an local hard drive This feature and all subfeatures will be installed on local hard drive This feature will be installed when required This feature will not be available Install to C Program Files lt 66 MG SOFTISNMP Agent Simulator Change InstallShield Help lt Back Cancel Figure 4 SNMP Agent Simulator installation wizard Custom Setup screen LL 13 MG SOFT SNMP Agent Simulator User Manual Installing SNMP Agent Simulator for Windows In the Custom Setup screen disable installing the SNMP Agent Simulator Management Console by choosing the This feature will not be available option from its drop down menu Figure 4 Click the Next button to proceed to the Ready to Install the Program screen Figure 5 Ready to Install the Program The wizard is ready to begin installation Click Install to begin the installation IF you want to review or change any of your installation settings click Back Click Cancel to exit the wizard InstallShield Cancel Figure 5 SNMP Agent Simulator installation wizard Ready to Install screen 6 Click the Install button to install the software according to the settings specified in previous steps After copying the required fil
26. in an agent snapshot 6 Enter the desired value in the Value to set input line Optionally you can change the syntax of the given object instance by selecting the desired radio button in the Syntax frame Click the OK button to apply the changes and close the dialog box 7 To save the changes you have made to the agent snapshot click the Save button LL 53 MG SOFT SNMP Agent Simulator User Manual Configuring Live Agent Settings Agent Behavior 4 9 Configuring Live Agent Settings Agent Behavior MG SOFT SNMP Agent Simulator lets you configure whether the simulated SNMP agents will be completely static in terms of OID values they return or dynamic alive meaning that they will automatically change the values of simulated OIDs they return The latter behavior can be controlled by configuring the live agent templates as described in this section Note Not all OIDs can be configured to change Presently only the values of OIDs of type integer counter and gauge can be configured to change 4 9 1 About Live Agent Templates The live agent templates offer two types of SNMP variable value changes request based value changes and the time based value changes as follows Request based value change The value automatically changes or a command is run at every retrieval operation Get GetNext GetBulk requesting the given object instance Time based value change Periodic The value changes every X seconds X is con
27. in hierarchical tree structures and group related agents 4 4 1 Creating a New Folder 1 Right click a simulator engine or folder under which you want to create a new folder and select the New Folder pop up command Figure 34 File Edit View SNMP Agent Simulator Engine Run Tools Help e Je HA FAB O mals i Filter a Options simulator Engines y status Address Port SNMP Profile snapshot alatar Encina iCannartad 1270n4 5099 QD Servery New SNMP Agent 161 Default SNMPv1 RHEL6 Ay Cisca New SNMP Agents in Range 1161 Default SMhPv1 CiscaSwitch amp Start All SNMP Agents QR Stop All SNMP Agents Mew Engine Rename Engine Edit Engine 3 Delete Engine mw New Folder select d E Engine Status Report fi ICMP Ping Ctrl l Figure 34 Creating a new folder in the SNMP Agent Simulator management console 2 he New Folder dialog box appears prompting you to enter a name and optional description of the new folder Figure 35 into the Folder name and Comment input lines respectively 3 Click the OK button to close the New Folder dialog box and create a new folder in the main window LL 41 MG SOFT SNMP Agent Simulator User Manual Organizing Simulated Agents in Folders Folder name Subnet 1 Comment Folder containing devices in subnet 1 10 0 3 x 24 Figure 35 Specifyin
28. internet 4 lE mgmt 4 7 mib 2 4 53 systern a D sysDescr cysDescr a D sysObjectlD sys ObjectlD O 4 D sysUpTime sysllpTime 4 D sysContact Contact i a syshlame Mame d 4 gt sysLocation syslocation 0 a SYS SErVICES sessereaices O ds Show MIB node properties octet string object identifier timeticks octet string octet string octet string Integer Hardware x8b F enterprises 1315 29 days 12h 28n MG SOFT Supp APOLLO OUT MG SOFT d o o Tf 4 interfaces a E FNumber DE ifNurnber 0 4 E ifTable Live agent template name live agent template 1 Y Expand U Collapse Copy OID j is Selected MIB node sysServices 0 MIB node configuration MIB node properties Marne Type CID Full path Module SysServices OBJECT TYPE 13512141 isa J ora 3 dod B internet RFC1213 MIB Mumerical syntax Integer C3zbit Base syntax INTEGER Composed syntax INTEGER Status mandatary read only Size list TECTA Description value which indice gt Save Cancel Figure 52 New Live Agent Template window LL 56 MG SOFT SNMP Agent Simulator User Manual Configuring Live Agent Settings Agent Behavior 3 From the Base agent snapshot drop down list select the agent snapshot that will be used as a base for configuring the live agent template Tip If the required agent snapshot is not listed in the drop down list click the Manage
29. like the software to send the given notification as SNMP Inform message Inform is a confirmed event reporting operation as it requires from the Inform receiver to send back a response message confirming Inform reception Note Inform operation exists only in SNMPv2c and SNMPv3 protocol version Therefore a simulated agent will be able to send Inform messages only if it has an SNMP profile assigned that uses SNMPv2c or SNMPv3 protocol version Click the OK button to close the SNMPv1 Trap Properties dialog box and add the new SNMPv1 Trap to the trap template Figure 65 Adding Timers to Template Trap templates may also contain timers i e elements that cause SNMP Agent oimulator to wait a configured amount of time e g 100ms 1s 5s etc before sending the subsequently listed SNMP notifications from the trap template list 1 To add a timer to the template click the New Timer button in the New Trap Templates window The Add Timer dialog box opens where you can specify how long the program will wait before sending the next SNMP notification from the template Enter the time in the input line choose the appropriate unit from the drop down menu and click the OK button to add the timer to the template LL 70 MG SOFT SNMP Agent Simulator User Manual Configuring Live Agent Settings Agent Behavior Adding V2 Traps to Template Note The actual version SNMPv1 SNMPv2c SNMPv3 and format V1 Trap V2 Trap Inform of SNMP not
30. live agent simulation l Basic value changes Tis Template based value changes Live agent templates Show only checked Excessive disk usaqe Heavy CPU Load High bandwith usage inbound High bandwith usage outbound High memory usage High temeprature chassis High voltage chassis ifspeed Sinnus Lows traffic Low voltage Medium traffic PP PP Use agent actual IP and MAC address Make this agent read only Figure 32 Setting modifying some of the agent behavior settings for multiple SNMP agents 7 Click the OK button to apply the properties you configured to all selected SNMP agents Figure 33 Note that only the properties that have been explicitly enabled with the left checkbox are applied Ele Edit View SNMP Agent SimulatorEngine Run Tools Help e fe AX FAR OO als i Filter a Options a simulator Engines status Address Port SNMP Profile Snapshot Live Agent Simulation 4 WE Local simulator Engine Connecte 127 0 0 1 3800 a Lacal Simulatar Engine Agent QUU Running 10 0 1 1 161 Default SNP default Basic a Lacal Simulator Engine amp gent QOO Running 10 0 3 156 161 Default SNBAPsT default Basic Sy Local Simulator Engine Agent 00003 Running 10 0 1 3 1161 Default SNhIIPuT DSLAM 1 Disabled x Local Simulator Engine Agent 00004 Running 10 0 1 4 1161 Default SNKMAP YT DSLAM 1 Disabled Ay Local Simulator Enqine_A4gent_00005 Running 10 0 1 5 1161 Default SNMP DSLAM 1 Disabled Local Simul
31. the title bar displays the name of the loaded configuration file and you can continue working with the software Ei MG SOFT SNMP Agent Simulator Enterprise Edition C ProgramData MG SOFT SNMP Agent Si File Edit View SNMP Agent Simulator Engine Run Tools Help e I es 45 5e ls M FAB OO dA CA O X i Q Filter a Options X Loading configuration lt B cf o Figure 80 Loading a simulation configuration LL 83 MG SOFT SNMP Agent Simulator User Manual Starting Simulation 7 RUNNING SIMULATION After you have added and configured SNMP agent instances you can start simulating them When started each simulated SNMP agent instance will listen for SNMP queries on its designated IP address and port and respond to SNMP queries returning the OIDs and values specified in the assigned agent snapshot file Once started the simulated SNMP agents will continue to run until you stop them SNMP agents are simulated by the SNMP Agent Simulator Engine service therefore exiting the SNMP Agent Simulator Management Console will not stop the simulation 7 1 Starting Simulation The software lets you start simulating either all existing SNMP agents a group of agents or individual agent instances as described in this section MG SOFT SNMP Agent Simulator can simulate thousands of SNMP agents at a time by employing multiple simulator engines running on different computers Even in such large scale setups all agents
32. to the specified IP address or port as it is already occupied etc The software provides a convenient Error List window that lists all errors This may be particularly useful when simulating a large number of SNMP agents where it is not immediately evident from the main window that some error occurred e g one of several thousand SNMP agent instances failed to start 1 If the Error List window is currently not displayed display it by selecting the View Error List command from the main menu 2 The Error List window appears typically docked to the bottom of the main window listing all present errors if any Figure 89 LL 89 MG SOFT SNMP Agent Simulator User Manual Viewing Errors File Edit SAIMIP Agent Simulator Engine Help amp p f X DO MAL x i A Options Status Views Run Tools Filter a Port 127 0 0 1 3880 10 0 1 1 161 10 0 1 3 161 10 0 1 4 161 10 0 1 5 161 10 0 1 6 161 10 0 1 7 161 Default SMBEAPT 10 0 1 8 161 Default SANKAR ST 10 0 1 9 161 Default SMP SHIP Profile Snapsho simulator Engines 4 Local Simulator Engine a Lacal Simulator Engine Agent QOQU a Lacal Simulator Engine amp gent DOQ3 y Local_Sirmulator_Engine_4gent_00004 ay Local_sirmmulator_Engine_4qent_00005 y Local_sirnulator_Engine_4qent_00006 Connected Default SAK Default SHhIP ST Default SMhPu Default SA bP Default SNMP Yt default default default default default default default default
33. window and choose the Edit SNMP Agent command from the context menu Figure 90 to open the respective dialog box where you can change the resource Tip You can edit the properties of several many SNMP agents at the same time in the Edit Multiple SNMP Agents dialog box 5 After eliminating the error try to start the agent again The error should disappear from the errors list and the agent status should change to running LI 91 MG SOFT SNMP Agent Simulator User Manual 7 4 Viewing Statistics 1 Viewing Statistics Select the View Statistics command from the main menu or click the Show Statistics toggle button EJ in the toolbar to display the Statistics window By default the Statistics window is docked and displayed at the bottom of the main window Figure 91 but can be repositioned or undocked as desired In the upper window panel click a running agent instance that has enabled collecting statistics to view its SNMP statistics in the Statistics window The Statistics column in upper window panel Figure 91 indicates whether collecting Statistics is enabled for a particular agent instance or not Yes No Tip You can enable or disable collecting and computing SNMP statistics for a simulated agent by checking unchecking the SNMP Statistics checkbox in the Agent Properties dialog box General panel You can select multiple simulated SNMP agents and choose the Edit Multiple SNMP Agents pop up command to configure their pr
34. 1 2 1 10 21 2 0 1 ld ciscoEsEChannel A Trap v2 X dialCtlPeerCalllnformation 1 3 6 1 2 1 10 21 2 0 1 a CISCO ES STACK MIB A Trap v2 dialCtlPeerCallSetup 1 3 6 1 2 1 10 21 2 0 2 A ciscoEsEtherChannelFailed A Trap v2 dialCtlPeerCallSetup 13 3 5 2 LAO LED i ciscoEsPort A Trap v2 dialCtlPeerCalllnformation 1 3 6 1 2 1 10 21 2 0 1 4 CISCO ES STACK MIB A Trap v2 dialCtlPeerCalllnformation 1 3 6 1 2 1 10 21 2 0 1 WN ciscoEsPortStrNFwdEntry A Trap v2 ciscoConfigManEvent 1 3 6 1 4 1 9 8 43 2 0 1 dd ciscoEsStack A Trap v2 ciscoConfigManEvent 1 3 6 1 4 1 9 9 43 2 0 1 a CISCO ES STACK MIB A Trap 42 ciscoConfigManEvent 1 3 6 1 4 1 9 9 43 2 0 1 MW ciscoEsStackTempChanae A Trap v2 ciscoConfigManEvent 1 3 6 1 4 1 9 9 43 2 0 1 lt A Tran v2 ciscoConfiaManEvent 1 3 6 1 4 1 9 9 43 2 0 1 MIB node properties lt O O Repeat every 10 minutes v Operation Trap type Specific trap SNMP trap A New Trap v2 Import ta s New Timer Duplicate Operation Y Edit x Remove JOOOOoOoOoOoOoOoOoo0 No information Binding list No Name Syntax Value All Instances i 4 Edit e 1 sysUpTirne O timeticks 0 days 10h 10m 65 19th N A e 2 snmpTrapOID O object identifier dialCtlPeerCalllnformation N A e 3 cCallHistoryPeerld 30 integer 20002 3 Remove e a4 cCallHistoryPeerlflndex 30 integer 8 e 5 cCallHistoryLogicallflndex 30 integer 7 amp 6 ifOperStatus 8 integer up
35. 2 Check the checkbox in front of the Port property to enable editing it and enter number 1161 into the Port input line 3 Check the checkbox in front of the Agent snapshot drop down list and select the desired agent snapshots from the drop down list e g DSLAM1 General Agent Behavior Traps IP version IPv4 IPw address 10 0 3 109 Subnet mask 255 255 240 0 Part 1161 Network interface 23 Intel R PROF 1000 MT Network Conner SNMP profile Default SNMP Agent snapshot iliis default bat u DSLAM 1 Enable statistics B default C Comment Figure 31 Setting modifying the port and agent snapshot property for multiple SNMP agents 4 Click the Agent Behavior tab at the top of the dialog box to display the Agent Behavior settings 5 Check the Live agent simulation checkbox at the top of the dialog box and leave the Enable live agent simulation checkbox unchecked Figure 32 This will disable the live agent simulation for all selected agents 6 Check the checkbox in front of the Make this agent read only property to enable configuring this property and check the checkbox next to it on the right side of the property see Figure 32 This will make the selected agents read only i e values of SNMP variables not writeable via the SNMP Set operation LL 39 MG SOFT SNMP Agent Simulator User Manual Editing Multiple SNMP Agents General Agent Behavior Traps Live agent simulation Enable
36. 3 Click the Ping button to ping the selected agent The center section of the console will display the result of the SNMP Ping operation a SNMP response or timeout message L 94 MG SOFT SNMP Agent Simulator User Manual Using Ping Tools 7 5 2 ICMP Ping 1 To initiate ICMP Ping select the Tools ICMP Ping command or click the ICMP Ping button on the toolbar The ICMP Ping console appears Figure 93 IP address 10 0 0 215 Pinging 10 0 0 215 with 32 bytes of data Reply From 10 0 0 215 bytes 32 time lt ims TTL2128 Reply From 10 0 0 215 bytes 32 time lt ims TTL 128 Reply From 10 0 0 215 bytes 32 time lt ims TTL2128 Reply From 10 0 0 215 bytes 32 time lt ims TTL2128 Ping statistics For 10 0 0 215 Packets Sent 4 Received 4 Lost 0 0 loss Approximate round trip times in milli seconds Minimum Ome Maximum ms Average Ums Figure 93 ICMP Ping console 2 Enter the IPv4 or IPv6 address you want to ping e g IP address of a simulated SNMP agent or simulator engine and press the Ping button to start pinging it The center section of the console displays the results of the Ping operation LL 95
37. 55 MG SOFT SNMP Agent Simulator User Manual Configuring Live Agent Settings Agent Behavior a To create a copy of an existing live agent template select the template and click the Duplicate button and specify the name for the duplicate live agent template a To delete live agent template select it in the list and click the Delete button To import a live agent template from a Live agent template XML file tsfx click the Import button and in the Import dialog box select the desired tsfx file from disk 4 9 3 Creating Editing a Live Agent Template Prior to configuring a live agent template it is recommended to load the MIB modules that define objects OIDs that will be used in the live agent template otherwise the OIDs will not be resolved to names Note If a simulated agent uses an agent snapshot file that does not include the object instances that are controlled by the assigned live agent template the assigned live agent template will have no effect 1 To create a new live agent template select the Tools Create Live Agent Template command or click the New button in the Live Agent Template Manager dialog box Alternatively to edit an existing live agent template select in the Live Agent Template Manager dialog box and click the Edit button 2 The New Edit Live Agent Template window appears Figure 52 Base agent snapshot ii default Snapshot tree Show nodes All MIB Tree 4 iso aD org 4 2 dod 4 7
38. 61 Default SMHMPy2 default Disabled Mo Recent Configurations Running 10 0 3 156 2161 Default SMMPu2 default Disabled No Running 10 0 2 212 10161 Default SMMPy default Disabled Mo ae Running 10 0 2 212 10162 Default SP default Disabled Ma e Lacal Simulator Engine Agent QOOQ3 Running 10 0 2 212 10163 Default SNMP default Disabled Ma e Lacal Simulator Engine Agent QOCA Running 10 0 2 212 1016 Default SNMP default Disabled Ma e Local Simulator Engine Agent QQUO5 Running 10 0 2 212 10165 Default ShhMPT default Disabled Ma e Local Simulator Engine Agent QOQ6 Running 10 0 2 212 10166 Default SNMP default Disabled Mo e Lacal Simulator Engine Agent OQ Running 10 0 2 212 10167 Default SNMP 1 default Disabled Mo e Local Simulator Engine Agent QQUU8 Running 10 0 2 212 10168 Default SNMP 1 default Disabled Ma e Local Simulator Engine _Agent_Q0009 Running 10 0 2 212 10169 Default SNMP default Disabled Mo Figure 76 Saving a simulation configuration note the asterisk in the titlebar L 80 MG SOFT SNMP Agent Simulator User Manual Saving Configuration 2 The Save Configuration dialog box appears Figure 77 Look in de C ProgrambiataMG SOFTISMNMP Agent Simulator Configurations a i Li gt Ly fRecycle Bin gt a Documents and Settings gt Je PerfLags a de ProgramData fa Application Data gt Auslogics gt a Desktop gt Documents 4 MG SOFT gt Ly SMI Modules 4 Je SNMP Agent Simulator Configurat
39. Agent Snapshots bution i to open the Agent Snapshots Manager dialog box where you can take generate or import and agent snapshot 4 The entire hierarchical tree structure of the selected agent snapshot is displayed in the MIB Tree panel on the left side of the New Live Agent Template window If the Show MIB node properties checkbox is checked you can click individual nodes in the MIB Tree panel and view their properties as defined in the MIB in the bottom right panel of the New Live Agent Template window 5 To view only the nodes that are configurable select the Configurable entry from the Show Nodes drop down list Figure 53 Note Not all OIDs can be configured to change Presently only the values of OIDs of type integer counter and gauge can be configured to change Base agent snapshot fle default Snapshot tree Show nodes Show MIB node properties e MIB Tree All Syntax i 4 iso Configured Live 4 dL Confiqur able Figure 53 Live Agent Configuration Selecting the option to view only configurable nodes 6 Only the configurable object instances marked with i from the selected agent snapshot are displayed in the MIB tree panel Figure 54 Base agent snapshot We default Z Snapshot tree Selected MIB node IfinOctets 1 Show nodes e Configurable Show MIB node properties q MIB node configuration Syntax Value L4 fOperstatus 2 intege
40. IP range make sure that no IP addresses from this range already exist on your network as this may cause connectivity problems caused by IP address conflicts IP version Range type IPv4 Py Address range Port range Agent base name Linux Server IP addresses IPv4 address start 10 0 100 1 IPv4 address end 100 101 255 Subnet mask 255 255 0 0 Network interface ES Intel R PRO 1000 MT Network Connection Ports Port 161 General Agent behavior Traps SNMP profile Default SMMPvZ Agent snapshot File SHMP statistics Number of SNMP agents to be added 5117 63998 Cancel Figure 19 Creating multiple new SNMP agents in an IPv4 address range LO 25 MG SOFT SNMP Agent Simulator User Manual Adding Simulated Agents to Engines 3 he subnet mask from the selected network adapter s IP address is displayed in 5 the Subnet mask input line by default If you want to use a different subnet mask for the IP address range you are creating enter it into the Subnet mask input line instead of the mask offered by default In the Network interface drop down list select the network interface card which the IPv4 addresses will be assigned to Note The Network interface drop down list contains the currently connected Ethernet and Wi Fi network interface controllers on the computer where the given simulator engine runs If the network interface you selected in SNMP Agent Simulator is later disabled or removed from the
41. LL 35 MG SOFT SNMP Agent Simulator User Manual Adding Simulated Agents to Engines Click the Agent behavior tab to display the agent behavior settings Figure 22 In the Agent Behavior tab check the Enable live agent simulation checkbox if you want the values of SNMP variables to change in the simulated agents Select either a The Basic value changes radio button where the values of all counter object instances increase by one at every SNMP retrieval operation Get GetNext and GetBulk requesting the given instance or a The Template based value changes radio button where the values of object instances change according to the rules in the assigned live agent template s a he Live Agent Templates frame lists all configured live agent templates To assign a live agent template to the agents check the checkbox in front of the template in this list You can assign more than one live agent template to the agents Figure 22 Note If a simulated agents use an agent snapshot file that does not include the object instances OIDs that are controlled by the assigned live agent template s the live agent template s will have no effect a To quickly find the desired live agent template s enter its name or part of its name into the Filter input line in the Live Agent Templates frame Figure 28 To remove the filter and display all templates click the Remove filter symbol E C Template based value changes Live agent te
42. MG SOFT Corporation SNMP Agent Simulator 2015 USER MANUAL Document Version 4 0 Document published on September 08 2015 Copyright 2009 2015 MG SOFT Corporation MG SOFT SNMP Agent Simulator User Manual Product Description In order to improve the design or performance characteristics MG SOFT reserves the right to make changes in this document or in the software without notice No part of this document may be reproduced or transmitted in any form or by any means electronic or mechanical for any purpose without the express written permission of MG SOFT Corporation Permission to print one copy is hereby granted if your only means of access is electronic Depending on your license certain functions described in this document may not be available in the version of the software that you are currently using Screenshots used in this document may slightly differ from those on your display MG SOFT may have patents patent applications trademarks copyrights or other intellectual property rights covering subject matter in this document The furnishing of this document does not give you any license to these patents trademarks copyrights or other intellectual property Copyright 2009 2015 MG SOFT Corporation All rights reserved LL 2 MG SOFT SNMP Agent Simulator User Manual Product Description TABLE OF CONTENTS MEO CIC WON asia 8 151 Product Description ENTE Em 8 2 Installing SNMP Agent Simulator
43. NMP Agent Simulator is later disabled or removed from the system the simulated agent instances will fail with the Specified interface not available message To solve the problem you need to select a new binding interface To quickly change the network interface for multiple simulated agents select the agents in the management console and choose the Edit Multiple SNMP Agents command from the pop up menu In the Edit Multiple SNMP Agents dialog box check the Network interface checkbox and select a new interface from the accompanying drop down list Into the Start port drop down list in the Port range frame enter the UDPv6 port number on which the simulated agent instances will listen for incoming SNMP requests e g 161 Specifying Common Properties for Multiple Agents 1 From the SNMP profile drop down list in the General tab Figure 20 select a profile to be used by all SNMP agent instances All SNMP agent instances will have the same SNMP access parameters SNMP protocol version community names or SNMPv3 settings Tip Click the Manage SNMP Profiles dis button next to the SNMP profile drop down list to open the SNMP Profiles Manager dialog box where you can create a New SNMP Profile or edit existing ones and then select the desired profile in this drop down list From the Agent snapshot file drop down list select an agent snapshot file All simulated SNMP agent instances in this group will return the same OIDs syntaxes and va
44. NMP agent instances in a port range where every agent instance will listen on a different UDPv6 port but all will listen to the same IPv6 address select the Pv6 option at the top of the New SNMP Agents in Range dialog box and the Port range radio button below it Figure 27 IP version Range type Agent base name Winz lz Server IP addresses IPv6 address Fean 5 rz 597z2 43a7 dba3 vi Network interface ES Intel R PRO 1000 MT Network Connection bl Ports Start port 1161 vi End pork 1261 he Figure 27 Configuring settings for adding multiple SNMP agents in a port range UDPv6 IPv6 2 In the IP address start drop down list specify the IPv6 address that will be common to all SNMP agent instances you are creating by default the first IPv6 address that is assigned to the selected network interface is displayed in this input line Note 1 If the entered IP address does not exist it will be added to the system and assigned to the network interface card selected in the Network interface drop down list Note 2 When creating an IP address make sure that no such IP address already exists on your network as this may cause connectivity problems caused by IP address conflicts L 34 MG SOFT SNMP Agent Simulator User Manual Adding Simulated Agents to Engines 3 4 In the Network interface drop down list select the network interface card which the IP address and port range will be assigned to Note The
45. Number of agents to be added value Figure 26 Specifying Common Properties for Multiple Agents 1 From the SNMP profile drop down list in the General tab Figure 26 select a profile to be used by all SNMP agent instances All agent instances that will be added will have the same SNMP access parameters SNMP protocol version community names or SNMPv3 settings Tip Click the Manage SNMP Profiles e button next to the SNMP profile drop down list to open the SNMP Profiles Manager dialog box where you can create a New SNMP Profile or edit existing ones and then select the desired profile in this drop down list From the Agent snapshot file drop down list select an agent snapshot file to be used by all SNMP agent instances All simulated SNMP agent instances in this group will return the same OIDs syntaxes and values determined by the selected agent snapshot file Tip Click the Manage Agent Snapshots button ui next to the Agent snapshot file drop down list to open the Agent Snapshots Manager dialog box where you can create a new agent snapshot or edit existing ones and then select the desired snapshot in this drop down list Check the SNMP statistics checkbox if you want the software to automatically collect and compute SNMP traffic statistics for all agents in the range Note If computing statistics is enabled for a large number of simulated agents this may degrade the performance of MG SOFT SNMP Agent Simulator
46. OFT SNMP Agent Simulator User Manual Configuring SNMP Profiles O Into the Retransmits input line enter the number which specifies how many times the messages will be retransmitted after the first timeout occurs this is used for retransmitting SNMP Inform messages only 5 f you have selected the SNMPv3 protocol version specify the following parameters in SNMPv3 Settings section of the dialog box O Enter the name of the SNMPv3 USM user into the Security user name input line In the Context name input line enter the SNMPv3 context name Choose an SNMPv3 authentication protocol from the Authentication protocol drop down list m Click the Change Password Key button to open the Authentication Password dialog box Figure 41 and enter the authentication password in the Password input line and again in the Password Confirmation input line Alternatively click the Edit Key button to open the Binary Key for Authentication Protocol dialog box where you can enter the authentication security key directly Click the OK after editing the key Click the OK after setting the password or key Choose an SNMPv3 privacy protocol from the Privacy protocol drop down list Password ATT Show password Kew BeSSEDETIEU371C43BDFDBBU F 189095F15 Edit Key Figure 41 Change Password Key dialog box Click the Change Password Key buiton to open the Privacy Password dialog box and enter the privacy password in the Passwo
47. Oth E Fixed Step d gt ifLastChange timeticks O days Oh rn Us Oth Step 2 Lr gt flastihange 3 timeticks 0 days Oh Or Os Oth Absolute Gne periode a ifInOctets Sfat every day af 2 00 PM iflnOctets 1 counter 931013000 Stag every day af 11 59 PM WAR iflnOctets 2 counter 566705213 a Veeeaiae i iflnQctets 3 counter 1802915767 4 iflnUcastPkts i flnUcastPkts 1 counter 26551570 HF ifinUicastPkts 2 counter 2919047 dame IflnOctets OBJECT TYPE flnUcastPkts 3 counter 31898193 13612122440 a iflpnNUcastPkts Full path iso orgr3 dod 6 internetti mamt 23 DE iflnNUcastPkts counter O Module RFCT213 MIB i FinPlllcastPkts 2 counter 255047 i iflInMLIcastPkts 3 counter 24399355 Numerical syntax cntr32 4 ifinDiscards Base syntax Counter MIB node properties Live agent template name Peak traffic La Save Cancel Figure 60 Live Agent Template with a configured node 10 Into the Live agent template name input line at the bottom of the New Edit Live Agent Template window specify the name of the live agent template you are creating editing 11 Click the Save button l to save the changes you have made to the live agent template Once saved the live agent template can be assigned to simulated agents in the Agent behavior tab of the Agent Properties dialog box Tip You can select multiple simulated agent instances and choose the Edit Multiple SNMP Agents pop up c
48. P address end drop down lists respectively Figure 21 How many agent instances will be created depends on the span of the specified IPv4 range and the subnet mask For example if the netmask is 255 255 0 0 the start address is 10 0 100 1 and the end address is 10 0 101 254 address range includes 510 unicast IPv4 addresses 510 SNMP agent instances will be added where every agent instance will bind to a different IPv6 address from the range Note 1 If the specified IPv6 addresses do not exist they will be added to the system and assigned the network interface card selected in the Network interface drop down list Note 2 When creating an IPv6 range make sure that no IPv6 addresses from this range already exist in your network as this may cause connectivity problems caused by IP address conflicts The subnet mask from the selected network adapter s IP address is displayed in the Subnet mask input line by default If you want to use a different subnet mask for the IP address range you are creating enter it into the Subnet mask input line instead of the mask offered by default In the Network interface drop down list select the network interface card which the IPv6 addresses will be assigned to Note The Network interface drop down list contains the currently connected Ethernet and Wi Fi network interface controllers on the computer where the given simulator engine runs If the network interface you selected in S
49. Running Running Running Running Running ay Lacal Simulator Engine amp gent DOC s Lacal Simulator Engine Agent QOQUS a Lacal Simulator Engine Agent QOO Running kz NES A i E 5 Running Running al gt Error List Bx F3 Mame 1 a 00120 a Lacal Simulator Engine Agent Q0121 a Lacal Simulator Engine Agent QU111 Sy SS 200 QB 197 Local Simulator Engine Figure 89 Viewing errors in the Error List panel Description Engine 5 Local Simulator Engine Local Simulator Engine Local Simulator Engine IP address or port not available 3 Double click an error in the Error List to quickly locate the respective SNMP agent or Simulator engine which the error refers to The symbol of an SNMP agent in error is colored red both in the main window and in the Errors list Figure 90 File Edit View SNMP Agent Simulator Engine Help a fe HIS X DO Beals A Options Status Run Tools Filter SNMP Profi Default SP Default SMi Addres 10 0 1 118 10 011 119 q ae m AR Umm em Mew SNMP Agent simulator Engines a Lacal Simulator Engine gent QU118 a Lacal Simulatar Engine Agent QU119 Local Simulator Engine Agent 00120 a Local Simulator Engine Agent QU121 Running Running l IP address or port not available IF address or port not awailable ay Local Simulatar Engine Agent QU122 a Lacal Simulator Engine Agent 0123 ay Local S
50. SNMP Agents in Folders sse isse sena nennen nn nua aan nass a aaa nass nna 42 44 o Deleting As OAC tm m PE 43 Ao GONTIGUNGZONMP Prone ci a 44 4 5 1 New Edit SNMP Profile Dialog BOX oooooococcccononcoconoonononconoonononoonononnnonaronnonanonnonannonnnnas 44 4 6 Loading Unloading MIB Modules oocccoccccccncocncoccccncncnncocnnnnoncnonaconononnanonnrnonanonos 47 4 7 Creating SNMP Agent SNapshotS cocccccocncccccnccncnnoncncnonononncnnnnnnnonncnnnnnnonnnnnonacinonons 49 4 7 1 Taking a Snapshot of SNMP Dewvice eiiis se eeeea seen en nnn nnn n nnn nass nass a aa aas n naa 49 4 7 2 Creating a Snapshot from MIB Modules isses sessi essen nna 50 4 8 Editing Agen SrHapsliols cuiii etie Im Da a ties ids 51 4 9 Configuring Live Agent Settings Agent Behavior oooccconccccoccccnccnconcnonncncnnanononcncnnnos 54 4 9 1 About Live Agent Tetmplatesi siste oubli vetita mes bea soli ni eu aliqua esa Rn mado uuo ade 54 4 9 2 Opening Live Agent Template Manager u 1cccccsssccccnsceeccnscnecccsausecensenesecsausecesacsesensanssessanes 55 4 9 3 Creating Editing a Live Agent Template ccccccssseseccccseeseccsssaeesecessauenseeessauensecessaaaesseeseaas 56 Reguest Based Valte CHANGING lt a ic 59 Time Based Valme Chano Mi Nenea 60 4 9 4 Opening Trap Template MAnaQer cccccccsseccccsecseccnacseccnseuseccsausesensusesensauseeesanaesensanese
51. SOFT SNMP Agent Simulator User Manual Adding Simulator Engines 4 1 CONFIGURING SIMULATION Adding Simulator Engines This section describes how to add simulator engines to the SNMP Agent Simulator Management Console A simulator engine is a Windows service that controls all SNMP agent instances on the given computer Since it is implemented as a service it can run and control simulated agent instances even when no user is logged on the operating system Multiple simulator engines running on different computers can be employed Note 1 Simulator engine that runs on the local machine is added automatically to SNMP Agent Simulator Management Console To be able to add additional remote simulator engines to the SNMP Agent Simulator Management Console and successfully connect to them you need to install MG SOFT SNMP Agent Simulator Engine service on one or more remote computers using the custom installation type option Please ensure no firewall is blocking ports on which remote simulator engines listen to for the Management Console connection by default TCP port 5899 Note 2 The total number of SNMP agents that can be simulated depends on the purchased Edition of MG SOFT SNMP Agent Simulator However there is a built in limit of maximum 25000 SNMP agent instances per simulator engine To simulate more than 25000 SNMP agents if your license permits it please use two or more SNMP Agent Simulator engines computers File Edit View SNMP Agent
52. Snapshot File Editor window where you can edit the values of all objects instances and also edit the actual instances of columnar objects e g 1 2 etc After you have finished editing the snapshot save it to the agent snapshot XML file as fx This section describes how to generate a snapshot from MIB modules 1 To generate an agent snapshot from MIB modules select the Tools Create Agent Snapshot from MIBs command The Create Agent Snapshot from MIB Modules dialog box appears Figure 45 MIB modules 331 Create agent snapshot From MIB modules 4 d ACCOUNTING CONTROL MIB s HOST RESOLIRCES MIB ADSL2 LIME MIB d INET ADDRESS MIB d ADSL2 LINE TC MIB d MGSOFT MGBEEP MIB S ADSL LINE EXT MIB d RFC1213 MIB m ADSL LIME MIB S ADSL TC MIB m AGENTX MIB d AGGREGATE MIB im ALARM MIB a APM MIB m APPC MIB i APPLETALK MIB APPLICATION MIB m APPN DLUR MIB a APPN MIB d APPN TRAP MIB a APS MIB ARC MIB ATM2 MIB d ATM ACCOUNTING INFORMATION MIB Options Create Snapshot LJ Run MIB Compiler Close Figure 45 Create Agent Snapshot from MIB Modules dialog box LUI 50 MG SOFT SNMP Agent Simulator User Manual Editing Agent Snapshots 2 In the MIB Modules list on the left hand side choose the MIB modules which the snapshot will be generated from and click the Add button to move them to the list displayed on the right hand side Note While the standard MIB files come with the softwar
53. The Save Configuration dialog DOX ccccocoonncnnccccconconcccnnancnnnocnnancnnnnononncnnnnnonancnnnnnnannennnnnnnns 81 Figure 78 Selecting Load Configuration command from the main menu sseeeeseeesesss 82 Figure 79 Selecting SNMP Agent Configuration to load sese 82 Figure 80 Loading a simulation CONTIQULrAtiON cccoonncncoconnnnononnnnconononnnnnncnnnnnnrononnnncnnonnnrnnonnnrnnnnnanennss 83 Fig re 81 Starting an SNMP agent snae avv re vu ve uve ai ee eu Ve 84 Figure 82 Starting all SNMP AJOS iii S colin hv vc as roa ov Edu Vota ag ci dato Laid 85 Figure 83 Starting all SNMP agents of a given simulator engiN e ccccccooccnncconcnncononcncononcnnonnnnnncnnanenoss 85 Figure 84 Starting selected SNMP agents cccccssseccccccessseeeccceeseceecsaeuseeeeeseeeeceeesseeseeeeessaaeeeeeessaaees 86 Figure 85 Stopping an SNMP aQent cccccccceccseeseeeeceseeeeeeesaeeeceeeesaaueeeeesaeeeceeesseaeeeeeessaaeeeeessagess 87 Figure 86 Stopping all SNMP agents ood tias 88 Figure 87 Stopping all SNMP agents of the selected simulator engine essesssesssusse 88 Figure 88 Stopping selected SNMP agents ccccccccccseeseeeeeeeeeeceeeesaeeeeeeeeeeaeeeeeseeaaeeeeessaeeeesessagess 89 Figure 89 Viewing errors in the Error List panel eeeesseeeeeeeeeee nene 90 Figure 90 Opening the Edit SNMP Agent dialog box to
54. ace card selected in the Network interface drop down list LL 18 MG SOFT SNMP Agent Simulator User Manual Adding Simulated Agents to Engines a The subnet mask from the selected network adapter s IP address is displayed in the Subnet mask input line by default To use a different subnet mask for the IP address you are creating enter it into the Subnet mask input line General Agent Behavior Traps NENNEN PvE Agent name Local Simulator Engine Agent 1 IP address 10 0 100 1 Subnet mask 255 255 010 Port 161 Network interface Ml Intel R PRO 1000 MT Network Connection SNMP profile amp Default SNMP 1 Agent snapshot file ie default SNMP statistics Comment Figure 12 New SNMP Agent dialog box General tab a Inthe Port drop down list specify the UDP port e g 161 on which the new SNMP agent instance will listen to for incoming SNMP requests a In the Network interface drop down list select the network interface card which the specified IP address is assigned or will be assigned to if the IP address does not exist yet Note The Network interface drop down list contains the currently connected Ethernet and Wi Fi network interface controllers on the computer where the given simulator engine runs If the network interface you selected in SNMP Agent Simulator is later disabled or removed from the system the simulated agent instances will fail with the Specified interface not available message To solv
55. ade in the SNMP Agent Simulator Management Console e g when agents that match the filter criteria are added deleted or edited If this option is disabled the filter functions as a one time filter with a static list of results a Match whole word only If this option is enabled the filter will display only those strings that are whole words and not part of a larger word e g ads1 will find adsl and Ads1 but not ads12 a Match case Make the filter case sensitive If this option is enabled the filter will display only those strings in which the capitalization matches the one used in the Find what input line e g ads1 will find ads1 but not Ads1 LL 78 MG SOFT SNMP Agent Simulator User Manual Specifying Filtering Parameters a Use Select one of the following filtering methods from the accompanying drop down list a Regular Expression A special text search method employing the regular expression syntax where a number of meta characters e g are combined with alphanumeric characters to form the search pattern a Wildcard Text search method that allows combining normal text with wildcard characters which represent zero one or more other characters e g and 5 2 Specifying Filtering Parameters 1 Enter a search pattern that will serve as filter a text string a string with wildcards or a regular expression into the Filter input line A and press Enter If you wish to use wildcard filteri
56. al operation Get GetNext GetBulk requesting the given object instance a Click the OK button in the Value Change Configuration dialog box to save the changes and close the dialog box MIB node properties OID 1 3 6 1 2 1 2 2 1 5 1 ifSpeed 1 Size list Syntax gauge Max access read only Value change configuration 0 Fixed value Request based value change Time based value change C3 Periodic 2 5 Absolute tine Absolute time periodic 8 Relative to syvsUpTime Q tT Increment Decrement C 34 Random O Linear 9 y Sinus Sinus configuration 30857600 v 104857600 1 Stark at sysllpTime O day s 0 01 00 hine Dared valve change Relatie fa serve Time r Sinus Range Afni anas zen Maximan 104857600 Sinus amplitude Figure 59 Configuring the relative to sysUpTime value change options LL 63 MG SOFT SNMP Agent Simulator User Manual Configuring Live Agent Settings Agent Behavior 9 The live agent setting summary for the configured node is displayed in the upper right panel of the New Live Agent Configuration dialog box Figure 60 Base agent snapshot B default Snapshot tree Selected MIB node e ifinOctets 1 Show nodes All Show MIB node properties MIB node configuration syntax Value i fOperstatus 2 integer uptl i fOperstatus s integer upili Ainan 1 4 amp ifLastChange Maximum 100000 Le ifLastChange 1 timeticks O days Oh Orn Os
57. ancel Figure 1 SNMP Agent Simulator installation wizard Welcome screen The SNMP Agent Simulator installation wizard welcome screen appears Figure 1 To proceed with the installation click the Next button at the bottom of the wizard screen After passing the standard steps of accepting the license agreement specifying the license key file location and providing the user information the Destination Folder screen appears After specifying the program installation path click the Next button to proceed to the Windows Firewall settings screen Figure 2 LL 11 MG SOFT SNMP Agent Simulator User Manual Installing SNMP Agent Simulator for Windows Windows Firewall Settings Please specify your Windows Firewall configuration preferences Add MG SOFT SNMP Agent Simulator Engine tmgsnmpsimd exe to allowed programs IF enabled this option allows managing and accessing simulated SNMP agent instances From remote hosts InstallShield Cancel Figure 2 SNMP Agent Simulator installation wizard Firewall Settings screen 4 Leave the Add MG SOFT SNMP Agent Simulator Engine mgsnmpsimd exe to allowed programs checkbox checked if you want the Installation Wizard to add the corresponding exception to the Windows Firewall configuration if applicable If you disable this option the SNMP Agent Simulator Engine service as well as the SNMP agent instances simulated by it will not be accessible from remote hosts Note The installa
58. ances at a time 4 2 1 Adding an SNMP Agent 1 In the main window right click the simulator engine you want to add an agent instance to and choose the New SNMP Agent pop up command Figure 11 or choose the SNMP Agent New SNMP Agent command from the main menu File Edit View SNMP Agent Simulator Engine Run Tools Help 2 We c X FR AO RALLY Filter a Options simulator Engines status Address Part SNMP Profile snapshot Local Simulator Engine Connected 127 0 0 1 5899 Remate Simulator Engine 1 New SNMP Agent s x i Remote_Simulator_Engine_2 New SNMP Agents in Range Figure 11 Adding a new SNMP agent to a simulator engine 2 The New SNMP Agent dialog box appears Figure 12 which lets you add an IPv4 or IPv6 SNMP agent instance i e simulated SNMP agent that will exchange SNMP messages either over UDP IPv4 or UDPv6 IPv6 transport protocols as follows Specifying IPv4 Address Details a To add an IPv4 SNMP agent instance select the Pv4 button in the IP version frame at the top of the New SNMP Agent dialog box Figure 12 a Into the Agent name input line enter a name for the SNMP agent instance you are adding This is merely a label assigned to the agent instance a In the IP address drop down list specify the IPv4 address which the new SNMP agent instance will bind to Note If the specified IP address does not exist yet it will be added to the system and assigned to the network interf
59. ator Engine Agent QOO Running 10 0 1 6 1161 Default SNMP DSLAM 1 Disabled a Lacal Simulator Engine Agent QUDD Running 10 0 1 7 161 Default SNP default Basic ay Lacal Simulatar Engine Agent 00008 Running 10 0 1 8 161 Default SNMP default Basic a Lacal Simulator Engine Agent QOUDO Running 10 0 1 9 161 Default SNBAPsT default Basic y Lacal Simulator Engine amp gent 00010 Running 10 0 1 10 1161 Default SNMP DSLAM 1 Disabled Ay Local_Simulator_Engine_4gent_00011 Running 10 0 1 11 1161 Default SNMP YT DSLAM 1 Disabled ay Lacal Simulatar Engine Agent QU12 Running 10 0 1 12 161 Default SNP default Basic Local Simulator Engine gent QUCT3 10 0 1 13 Default SNMP DSLAM 1 Disabled ay Lacal Simulator Engine Agent QUD14 Running 10 0 1 14 Default SNP default a Lacal Simulator Engine Agent QUO15 Running 10 0 1 15 Default SNP default a Lacal Simulator Engine Agent QQU16 Running 10 0 1 15 Default SNBAPsT default a Lacal Simulator Engine Agent OUT 7 Running 10 01 17 Default SN MPy 1 default rh 1 F7 og T id T TaTaTa5 FD T E a5 Ma dn ror Ir Rik am 4 tr hr Figure 33 Multiple SNMP agents with modified settings LL 40 MG SOFT SNMP Agent Simulator User Manual Organizing Simulated Agents in Folders 4 4 Organizing Simulated Agents in Folders The SNMP Agent Simulator Management Console lets you group simulated SNMP agents in folders Each folder can contain any number of agents and sub folders This mechanism allows you to organize agents
60. ator User Manual Creating SNMP Agent Snapshots 4 7 Creating SNMP Agent Snapshots MG SOFT SNMP Agent Simulator can take a snapshot of any SNMP agent on the network or generate a snapshot from one or more MIB modules An agent snapshot is a collection of MIB object instances together with their values and syntaxes An agent snapshot is stored in an XML file that can be assigned to simulated SNMP agents in order to return the OIDs and values included in the agent snapshot file Tip You can import and use also agent snapshot XML files asfx created with MG SOFT MIB Browser Pro To import an external agent snapshot asfx file use the Import button in the Agent Snapshots Manager dialog box Figure 46 and select the desired asfx file from disk 4 7 1 Taking a Snapshot of SNMP Device MG SOFT SNMP Agent Simulator lets you take a snapshot of any SNMP agent on the network and then simulate this agent An agent snapshot is a collection of MIB object instances together with their values and syntaxes as existed on the SNMP agent at the time of taking the snapshot i e retrieving all existing object instances by performing the SNMP Walk operation This section describes how to take and save a snapshot of an SNMP agent 1 To take an agent snapshot use the Tools Take Agent Snapshot command The Take Agent Snapshot dialog box appears Figure 44 IP address SNMP profile 10 0 0 215 W MD5 DES User Ready Close Take Snapshot Figure 44 Ta
61. box Traps tab 12 Check the Use trap template for sending notifications checkbox if you want to the simulated agent to sends SNMP Trap or Inform notifications 13 Select the trap template you want the agent to use from the drop down list To open the Trap Template Manager where you can create new trap templates or edit existing ones click the Trap Template Manager button 14 Click the OK button to create a new SNMP agent instance Figure 17 File Edit View SNMP Agent Simulator Engine Run Tools Help ie fe Ws a X AD DALLY sie d Filter Options simulator Engines status Address Port SNMP Profile snapshot Liwe Agent Simulation 4 UE Lacal Simulator Engine Connected 1220 01 3099 47 Local Simulator Engine 10 0 100 1 161 Default SAMPY1 default Basic SE Remote_Simulator_Engine_1 Connected 10 0 3 167 5899 Figure 17 A new SNMP agent instance has been added to the local simulator engine LL 23 MG SOFT SNMP Agent Simulator User Manual Adding Simulated Agents to Engines 4 2 2 Adding Multiple SNMP Agents This section describes how to quickly create many instances of an SNMP agent each binding to a different IPv4 or IPv6 address or port 4 2 2 1 Adding Multiple SNMP Agents in an IPv4 or IPv6 Address Range 1 Right click the simulator engine you want to add the agents to and choose the New SNMP Agents in Range pop up command Figure 18 or choose the SNMP Agent New SNMP Agents in Range command from the main men
62. can be controlled from a single SNMP Agent Simulator management console 7 1 1 Starting a Single SNMP Agent To start simulating an SNMP agent right click it in the upper window panel and select the Start Agent command from the pop up menu Figure 81 File Edit Yiew SNMP Agent Simulator Engine Run Tools Help aoe YX FB O9 Bas Filter CL Options 2 simulator Engines status Address Port SNMP Profile snapshot SE Local Simulator Engine Connected 127 0 0 1 3099 al Remote Simulator Engine 1 Connected 10 0 3 114 5899 Linux Server QOCT 1005 11A 1Rnl Default PB RAP 21 RHEL 5 a ER Remote Simulator Engine 2 Connected New SNMP Agent a Remate simulator Engin Idle Mew SNMP Agents in Range oit hA Ww Remote Simulator Engin Idle arte h Q5 Remote Simulator Engin Idle Rename SNMP Agent to Switch Jg Remate Simulator Engin Idle S Edit SNMP Agent awe h Remate simulator Engin Idle Delete SNMP Agent ia switch y SNMP Statistics Be Start SNMP Agent stop SNMP Agent Figure 81 Starting an SNMP agent L 84 MG SOFT SNMP Agent Simulator User Manual Starting Simulation 7 1 2 Starting Multiple SNMP Agents You can start simulating multiple SNMP agents at a time in more than one way a To start simulating all existing SNMP agents use the Run Start All Agents command Figure 82 or click the Start All Agents toolbar button 5 File Edit YWiew SNMP Agent simulator Engine T fe Wels s X FB
63. coccnncccnnncconcnononnnnnnnnnnns 53 Figure 51 The Live Agent Template Manager dialog DOX ooocccccconcncccocconoconcnnconanonnononennononcnnnonanenoss 55 Figure 52 New Live Agent Template WIIQOW iiie ci eee ve vvv ev xau uoc Fee D vau v di ee as 56 Figure 53 Live Agent Configuration Selecting the option to view only configurable nodes 57 Figure 54 Live Agent Configuration Choosing the Configure command on a node 5 Figure 55 Value Change Configuration dialog box request based value change options 58 Figure 56 Configuring the periodic value change options occccccccocccnncccconncnnncnnonncnnnnonnnnconononanncnnnnnnons 60 Figure 57 Configuring the absolute time value change options esee 61 Figure 58 Configuring the absolute time periodic value change options sssssssesese 62 Figure 59 Configuring the relative to sysUpTime value change options ssssssssse 63 Figure 60 Live Agent Template with a configured node nccccconcnnccnoccncoconcnnccnncnnconannnnononconononnnnnonanennos 64 Figure 61 The Trap Template Manager dialog DOX ccccooococcccoconcococcococoncnnnonanonnonanonnononcnnnnnnnnnnos 65 Figure 62 New Trap Template WIndOwW cccccccssseccccsseeecceuseecseeseeecsaueeesseeeeeseaseeessageeeesegeeeessseeeses 66 Fig re 63 Add Trap Destination dialog DOX s
64. cononnconccononcconcnonnncconononancnancnnnnns 43 Figure 39 Managing SNMP Prones dokn Docket edad ap uci ba d aix bove Rua oe TAN d Cena ba On Ead Vo daban ui 44 Figure 40 New Edit SNMP Profile dialog bOx sese 45 Figure 41 Change Password Key dialog DOX ccccccconnconccccoocconccconanonononnnancnnnnononncnnnnnnnnncnnononnanennnnnnnns 46 Figure 42 The MIB Modules dialog box with several modules selected 47 Figure 43 A filtered list of MIB Modules left panel oooccccccccconcnncccnooncnnnnononnconnnonnnnnnnonononnnnnnnonono 48 Figure 44 Take Agent Snapshot dialog box occccccccooccnnccccnonconncononnconnnonnnncnnnononnncnnnnnnnnncnnnnnnnnnennnnnnnns 49 LL 5 MG SOFT SNMP Agent Simulator User Manual Product Description Figure 45 Create Agent Snapshot from MIB Modules dialog DOX ccoooocccccooccococoncnnoconcnnconanonoos 50 Figure 46 Agent Snapshots Manager dialog box ooocccccccccocconcccconncnnncnnnancnnnnonnnncnnnnnnnnncnnnnnnannrnnononnns 51 Figure 47 Agent Snapshot File Editor window cooocccncccccoccnncccnnnncnnncononnconnnonnnncnnnononancnnnnonannnnnnnnnnns 52 Figure 46 Adding table TASA fto a dta uec o put aut esie Dites dee adipe ii 52 Figure 49 Choosing the Edit pop up command in the Agent Snapshot File Editor window 53 Figure 50 Editing a MIB object instance value in an agent snapshot oooccnccccc
65. ct an agent snapshot file for the simulated SNMP agent instance The simulated SNMP agent will return those OIDs syntaxes and values that are contained in the selected agent snapshot file the actual values depend also on the live agent settings Tip Click the Manage Agent Snapshots button is next to the Agent snapshot file drop down list to open the Agent Snapshots Manager dialog box where you can create a new agent snapshot or edit existing ones and then select the desired snapshot in this drop down list 5 Check the SNMP statistics checkbox if you want the software to automatically collect and compute SNMP traffic statistics when the simulated SNMP agent is running 6 If you want to add a comment to the SNMP agent instance you are creating enter a short comment in the Comment text area 7 Switch to the Agent Behavior tab of the New SNMP Agent dialog box Figure 14 where you can configure the agent behavior including live agent settings i e if and how the values of MIB object instances returned by the simulated agent change General Agent Behavior Traps Live agent simulation Enable live agent simulation Q l Basic value changes IO A Template based value changes Live agent templates Filter Show only checked L i Excessive disk usage Heavy CPU Load L i High bandwith usage inbound C LE High bandwith usage foutbound High memory usage Cie High temeprature chassis O be High voltage chass
66. ddress ES zs a Start value 1 fe50 n E Number of addresses 200 Network interface GS Intel R PRO 1000 MT Network Connection Ports Port 161 General Agent behavior Traps SNMP profile Default SNMP1 Agent snapshot File dee CiscoSwitchd SMMP statistics Number of SNMP agents to be added 200 64000 Figure 20 Creating multiple new SNMP agents in an IPv6 address range If you would like to simulate SNMP agents that will use Pv4 mapped IPv6 addresses select the IPv4 mapped IPv6 addresses option in the IP addresses frame IPv4 mapped IPv6 addresses are a special class of IPv6 addresses This type of address has its first 80 bits set to zero and the next 16 bits set to one while its last 32 bits are filled with the IPv4 address x x x x 96 These addresses are commonly represented in the standard IPv6 format but having the last 32 bits written in the customary dot decimal notation of IPv4 for example 10 0 0 1 represents the IPv4 address 10 0 0 1 J IPv amp addresses 8 IPy4 mapped IPv amp addresses IPve address start FFFF 10 0 100 1 IP address end FFF 10 0 101 254 Subnet mask 255 255 252 0 Figure 21 Configuring an IPv4 mapped IPv6 address range LL 27 MG SOFT SNMP Agent Simulator User Manual Adding Simulated Agents to Engines a Specify the first and the last IPv6 address of the range into the IP address start and I
67. display all templates click the Remove filter symbol 3 e C Template based value changes Live agent templates high 3 J show only checked LO High bandwith usage inbound l High memory usage C n High temperature chassis Figure 15 Filtering live agent templates while configuring the agent behavior a To view only assigned checked live agent templates enable the Show only checked checkbox in the in the Live Agent Templates frame This is useful if the list of available templates is large a To open the Live Agent Template Manager dialog box where you can create new live agent templates or edit existing ones click the Live Agent Templates Manager button l 9 Check the Use agent actual IP and MAC address checkbox if you want the simulated SNMP agent to automatically override the IP and MAC address values written in the assigned agent snapshot file MIB II only with the agents own IP and MAC address values 10 Check the Make this agent read only checkbox if you want to disable changing values of the simulated OIDs via the SNMP Set operation LL 22 MG SOFT SNMP Agent Simulator User Manual Adding Simulated Agents to Engines 11 Click the Traps tab Figure 16 if you would like to configure the simulated agent to send SNMP Trap or Inform notifications General Agent Behavior Traps Trap template Use trap template For sending notifications A Peak notifications Figure 16 New SNMP Agent dialog
68. e MIB files supplied by the vendors of SNMP manageable devices first need to be compiled with the bundled MG SOFT MIB Compiler and saved to SMIDB file format For detailed instructions on compiling MIB files please refer to the MIB Compiler User Manual Click the Options button at the bottom of this dialog box to set the following options a Check the Add instance to tables checkbox to enable adding one instance to all columnar objects in MIB tables present in the selected MIB modules a Select the Automatically load selected MIB modules option to automatically load selected MIB modules into MIB Modules window to enable viewing and editing the generated snapshot in a user friendly manner names instead of OIDs etc Click the Create Snapshot button to generate an agent snapshot from the MIB modules you have selected When the snapshot is generated it is automatically displayed in the Agent Snapshot File Editor window Figure 47 where you can edit the snapshot as described in the next section When you have finished editing the snapshot enter a name for the snapshot into the Snapshot file name at the bottom of the Agent Snapshot File Editor window and click the Save button Figure 47 4 8 Editing Agent Snapshots 1 To edit an agent snapshot use the Edit Agent Snapshots command The Agent Snapshots Manager dialog box appears Filter da Cisco Switch Take ee CiscoSwitchB on default From MIB B DSLAM 1 ee PrinterHP
69. e the problem you need to select a valid interface in the Network interface drop down list To quickly change the network interface for multiple simulated agents select the agents in the management console and choose the Edit Multiple SNMP Agents command from the pop up menu In the Edit Multiple SNMP Agents dialog box check the Network interface checkbox and select a new interface from the accompanying drop down list LL 19 MG SOFT SNMP Agent Simulator User Manual Adding Simulated Agents to Engines Specifying IPv6 Address Details a To add an IPv6 SNMP agent instance select the Pv6 button in the IP version frame at the top of the New SNMP Agent dialog box Figure 13 Into the Agent name input line enter a name for the SNMP agent instance you are adding This is merely a label assigned to the agent instance In the IP address drop down list specify the IPv6 address which the new SNMP agent instance will bind to Note If the specified IPv6 address does not exist it will be added to the system and assigned to the network interface card selected in the Network interface drop down list General Agent Behavior Traps py Pe Agent name Local Simulator Engine IPv amp Agent 1 IP version IP address Fea S fz 5972 43a7 dba3 v Port 161 bal Network interface E Intel R PRO 1000 MT Network Connection SNMP profile Default SNMPv2 Agent snapshot file fd default SNMP statistics Comment Figure 13
70. e trap template for sending notifications checkbox if you want to the simulated agents to sends SNMP Trap or Inform notifications 10 From the Trap template drop down list select the trap template you want the agents to use To open the Trap Template Manager where you can create new trap templates or edit existing ones click the Trap Template Manager button 11 Click the OK button to close the New SNMP Agents in Range dialog box and create new SNMP agent instances 4 3 Editing Multiple SNMP Agents The SNMP Agent Simulator Management Console lets you edit the properties of multiple SNMP agents at the same time as described in this section 1 In the main window select the SNMP agent instances you wish to edit use the CTRL or SHIFT key to select multiple lines right click the selection and choose the Edit Multiple SNMP Agents pop up command Figure 29 Alternatively select the agents and choose the SNMP Agent New SNMP Agent command from the main menu File Edit View SNMP Agent Simulator Engine Run Tools Help e e ls XDD O Healt Filter a Options a simulator Engines status Address Part SNMP Profile Snapshot 4 VE Local Simulator Engine Connected 127 0 0 1 3828 a Lacal Simulator Engine Agent DOUUT Running 10 0 1 1 161 Default SNMP default a Lacal Simmulator Engine Agent DOQDD Running 10 0 5 156 161 Default SHhAP YI default 4 Local Simulator Engine_Sgent_Oo003 Running Ser UE pate nee ge oars default ie Loca
71. e value will change e g every X seconds minutes hours a Click the OK button in the Value Change Configuration dialog box to save the changes and close the dialog box MIB node properties OID 1 3 6 1 2 1 2 2 1 10 1 ifInOckets 1 Size list Svntax counter Max access read only Value change configuration Fixed value Request based value change 8 Time based value change O Periodic C Absolute time 8 Absolute time periodic O E Relative ta svsUpTime eT Increment Decrement O 26 Random Linear C v Sinus Increment configuration 1 vw 1000000 Start every Weekday E Day at 12 00 AM 0 Hour at 00 00 Repeat Every Every 1 Second s Timae basedc value change 4bsabte bine penod f increment Annan 1 Maximum 1000000 Random Step Figure 58 Configuring the absolute time periodic value change options L 62 MG SOFT SNMP Agent Simulator User Manual Configuring Live Agent Settings Agent Behavior a Relative to sysUpTime the value starts to change at the specific time after the simulated agent has been started Figure 59 a Select the value change method e g increment decrement etc and specify the accompanying parameters i e value limits min max step etc a In the Start at frame specify the time that must pass after the agent has started until the value starts to change Once the specified time is passed the value will change at every retriev
72. ecified time is passed the value will change at every SNMP retrieval operation Get GetNext GetBulk requesting the given object instance a Click the OK button in the Value Change Configuration dialog box to save the changes and close the dialog box MIB node properties OID 1 5 6 1 2 1 2 2 1 10 1 iFinOctets 1 Size list Syntax counter Max access read only Value change configuration 3 Fixed value Request based value change Time based value change Q G Periodic T Absolute time CD e Absolute tine periodic O Relative to sysUpTime e 17 Increment D Decrement 34 Random O 4 Linear v Sinus Increment configuration 1 1000000 8 Fixed step 1 0 Random step Start at 6 19 2015 3 44 PM hine fared valve change Abrolufe fine incre men Pena 1 Maxmen 1000000 Fixed Step Figure 57 Configuring the absolute time value change options LI 61 MG SOFT SNMP Agent Simulator User Manual Configuring Live Agent Settings Agent Behavior a Absolute time periodic the value starts to change at a specified time stops at the end of that week day hour and starts again at the specified weekday day hour Figure 58 Q Select the value change method e g increment decrement etc and specify the accompanying parameters i e value limits min max step etc a In the Start every frame specify the time when the value will start to change and in the Repeat every frame select how often th
73. efault SMMP 1 161 Default SNMP Default SNMP EE 1 GS 200 GB 196 Local Simulator Engine Figure 78 Selecting Load Configuration command from the main menu 2 The Load Configuration dialog box appears Figure 79 Navigate to the relevant configuration folder and select the desired SNMP Agent Configuration to load and click the Load button Look in n Ci ProgramDataiMG SOFTISNMP Agent SimulatoriConfigurations 4 s a Ly Recycle Bin gt a Document and settings gt n PerfLags a n ProgramData gt 3 Application Data gt n Auslogics gt EN Desktop Documents MG S0FT sMI Modules a SNMP Agent Simulator Je Configurations EX Metwork A 20K EX Network B 20 gt a 4 ah Mame Date Modifie FX Network 20K 7114 2015 4 1 EX Metwork B 200agents 7 14 2015 4 2 Path C ProgramData MaG SOFT SMMP Agent Simulator Configurations Metwork A_20K Configuration Properties Mame MeEwork A 270K Comment 20 000 SNMP agents 192 158 0 X 15 Engines 1 1 Engine Mame Local simulator Engine IP Address 12 7 0 0 1 Part 5699 Comment Cancel Figure 79 Selecting SNMP Agent Configuration to load LL 82 MG SOFT SNMP Agent Simulator User Manual Loading Configuration 3 The software starts loading the selected configuration The Loading Configuration progress bar appears in the SNMP Agent Simulator management console Figure 80 When the progress bar disappears the configuration is fully loaded
74. ents toolbar button L 87 MG SOFT SNMP Agent Simulator User Manual Stopping Simulation File Edit View SNMP Agent simulator Engine Help t e we l5 AG X 0 Start All Agents Filter y simulator Engines status Address Port SNMP Profile snapshot SE Local simulator Engine Connected 1270 01 5599 al o Remote Simulator Engine 1 Connected 10 0 3 167 5899 ay Linux_server_QO01 Running 10 0100 2 181 Default SMhAP 1 RHELG Figure 86 Stopping all SNMP agents a To stop all SNMP agent instances controlled by a particular simulator engine right click the simulator engine in the upper window panel and select the Stop All Agents pop up menu command Figure 87 File Edit View SNMP Agent Simulator Engine Run Tools Help amp X FE AA RALLY eq Filter a Options simulator Engines Status Address Port SNMP Profile Snapshot SE Local simulator Engine Connected 127 0 0 1 9099 al Remote Simulator Engine 1 Connected 10 0 3 114 5898 amp Linux Server DUC Running 100 3114 7161 Default SNMP RHEL amp a F Remate Simulator Engine 2 Connected 102 rana New SNMP Agent New SNMP Agents in Range a Rernote_sirmulator_Engine_ _4gent_00017 Running e Remate Simulator Engine 2 Agent QOO Running 4 Remate Simulator Engine 2 Agent 0003 Running e Remote simulator Engine 2 Agent 0004 Running P Start All SNMP Agents Stop All SNMP Agents Figure 87 Stopping all SNMP
75. environment exactly as it was at the time of saving the configuration This feature allows you to save several fully configured simulated SNMP networks e g where agents use different IP addresses ports agent snapshots SNMP profiles etc even different remote simulator engines can be used for simulating each networks and then quickly switch between simulating any of the configured networks Configurations are saved on the computer where SNMP Agent Simulator management console runs Only one configuration at a time can be loaded and run Saving Configuration This section describes how to save a simulator configuration so it can be re loaded later An asterisk is displayed in the titlebar Figure 76 of the SNMP Agent Simulator management console if there are any unsaved changes in the currently loaded configuration 1 To save the entire simulation configuration displayed in the SNMP Agent Simulator management console select the File Save Configuration command Figure 76 Edit View SNMP Agent Simulator Engine Run Tools Help New Configuration Ctrl h O 8 igit Ch l 4 riw q Load Configuration Ctrl D Save Configuration Ctrl s save Configuration As Ctrl 3hift 3 Exit a Options Status Address Port SNMP Profile Snapshot Live Agent Simulation Trap Template Statistic Connected 127 0 0 1 5899 Delete Configuration Running 10 0 3 156 161 Default SHM Pt default Disabled Mo Running 10 0 3 156 11
76. er LL 77 MG SOFT SNMP Agent Simulator User Manual About Filtering Methods a Regular expression a special text search filtering method employing the regular expression syntax where a number of meta characters e g V are combined with alohanumeric characters to form the search pattern File Edit View SHIP Agent Simulator Engine Run Tools Help e RAN FDR OO da AIO X tie d 31 o 1 0 9 0 9 ES options simulator Engines status Address COP m Options a Local Simulator Engine Connected 127 0 0 1 T Simulator Engines Dynamic Filter a Cisco Switch Running 10 0 5 134 QD Cisco Switch Running 10 0 3 134 Status _ Match whole word only a Cisco Suwitch3 Running 10 0 3 134 Address Match case Q5 Printer Running 10 0 3 134 Y Use Profile Regular expression snapshot Regular expression he Live Agent Simulation Figure 75 Example of using a regular expression filter In the filter options drop down menu Figure 75 you can choose by which columns you want to filter SNMP agents O All click the Columns checkbox to enable all columns Simulator Engines Status Address Port SNMP Profile Snapshot Live Agent Simulation Trap Template Comment ODOODODODDDODO O Available filtering options are a Dynamic filter If this option is enabled the filter functions as a continuous filter meaning that the list of results is automatically updated to reflect the changes m
77. es and setting up the necessary registry entries the final screen appears notifying you of completed installation Click the Finish button to end the SNMP Agent Simulator Installation Wizard Note 1 If you received a valid license key file after you had installed the software you need to copy the license key file to the SNMP Agent Simulator s Bin folder e g C Program Files MG SOFT SNMP Agent Simulator Bin and restart both parts of the application MG SOFT SNMP Agent Simulator Engine service and the SNMP Agent Simulator Management Console GUI Note 2 The licensed version of the software requires presence of the SNMP Agent Simulator hardware key USB HASP dongle on the computer where SNMP Agent Simulator Management Console runs Please insert the HASP dongle you received with the purchased license into a free USB port of the computer and allow the system to install the necessary drivers If the HASP dongle is not present the software will refuse to run LL 14 MG SOFT SNMP Agent Simulator User Manual Starting SNMP Agent Simulator Management Console 3 STARTING SNMP AGENT SIMULATOR 3 1 Starting SNMP Agent Simulator Management Console To start the MG SOFT SNMP Agent Simulator Management Console select the Start Programs MG SOFT SNMP Agent Simulator SNMP Agent Simulator command from the Windows taskbar 3 2 Starting SNMP Agent Simulator Engine By default the SNMP Agent Simulator Engine is started automatically by the sys
78. every 10 min Figure 24 Configuring the trap sending behavior for multiple SNMP agents LL 30 MG SOFT SNMP Agent Simulator User Manual Adding Simulated Agents to Engines 9 Check the Use trap template for sending notifications checkbox if you want for the simulated agents to sends SNMP Trap or Inform notifications 10 From the Trap template drop down list select the trap template you want the agents to use To open the Trap Template Manager where you can create new trap templates or edit existing ones click the Trap Template Manager button 6 11 Click the OK button to close the New SNMP Agents in Range dialog box and create new SNMP agent instances Figure 25 Ele Edit SNMP Agent 45 fo We l a X FRB OO dA UR X Wiews simulator Engine Run Tools Help Filter simulator Engines al Local Simulator Engine 3 Cisco Switch 1 da Printers a Printer 4 a Printer B Remote Simulator Engine 1 zh Linux Server 0001 Qu Linux Serrer_0002 a Linux Server 0003 Qu Linux Server 0004 a Linux Server 0005 a Linux Server 0006 a Linux Server 0007 a Linux Server 0008 a Linux Server 0009 a Linux Server 0010 a Linux Server 0071 A ay 514 a 3 Remate simulator Engine 1 Status Connected Running Running Running Connected Options Address 127 0 0 1 10 0 5 161 10 0 3 161 10 0 5 161 10 0 3 167 10 0 1001 10 0 100 2 10 0 100 3 10 0 100 4 10 0 100 5 10 0 100 6 10 0 1000 7 10
79. ew Trap Templates window The Trap Properties dialog box opens where you can specify the properties of the SNMPv1 trap message as follows Figure 66 Trap type Cold start Specific trap 0 wi Agent address 10 0 3 157 Enterprise OID 1 Time stamp Automatic Send as Inform if possible Figure 66 Trap Properties dialog box 2 Inthe Trap type drop down list specify the type of the SNMPv1 Trap To designate the trap as enterprise specific select the Enterprise specific the last entry Otherwise select one of the following generic trap types Uu Cold start Warm start Link down Link up Authentication failure DOD DOO EGP neighbor loss 3 Ifyou have selected the Enterprise specific trap type entry in previous step enter its specific number into the Specific trap input line This parameter defines the SNMPv1 enterprise specific traps more precisely Tip You can view the properties of the SNMPv1 traps by clicking the toolbar button next to the Specific trap input line which opens the Select Object Identifier window This window displays all SNMPv1 traps that are defined by the currently loaded MIB modules Note that enterprise specific traps are typically defined in private enterprise MIB modules To view the properties of any of the displayed SNMPv1 Traps right click the desired trap and select the Properties pop up menu command This will open the MIB Node Properties window 4 Into the V1 Agent Address input
80. figurable Absolute time The value starts to change at a specific time Absolute time periodic The value starts changing at a specific time and is changed every X seconds from that moment on X is configurable The value stops changing at the end of the specified time period e g if you selected that the value starts changing every hour at 15 minutes and 30 seconds the value will stop changing at the end of every hour and start again at 15 minutes and 30 seconds past the next hour if you selected that the value starts changing every day at 1 PM the value will stop changing at the end of that day 12 00 AM midnight and start again next day at 1 PM if you selected that the value starts changing every Wednesday at 1 PM the value will stop changing on Sunday at midnight 12 00 AM and start again next week on Wednesday at 1 PM Relative to sysUpTime The value starts to change after a specified time has passed since the simulated agent was started and then changes at every SNMP retrieval request LL 54 MG SOFT SNMP Agent Simulator User Manual Configuring Live Agent Settings Agent Behavior The following methods of value change can be selected Increments the value for the STEP STEP is a configurable integer When the value reaches the maximum it rewraps to the minimum value and starts incrementing again Decrement Decremenis the value for the STEP STEP is a configurable integer When the value
81. fix the error oooccccncccccnooonncccnncccnnonanancnnnnnnnos 90 LL 6 MG SOFT SNMP Agent Simulator User Manual Product Description Figure 91 Viewing SNMP traffic statistics of a simulated agent oooccccccoonncnncccnnoncconcnonnnncnnononanccanenonons 92 Figure 92 SNMP PING CONS Scar os 94 Figure 93 TOMP PING CONSO iran iia 95 LL 7 MG SOFT SNMP Agent Simulator User Manual Product Description 1 1 INTRODUCTION This guide contains instructions for completing basic operations in MG SOFT SNMP Agent Simulator application Majority of instructions are provided on a step by step basis which should help the reader start using the software effectively It is supposed that you are familiar with using a graphical computer environment such as choosing a main menu command or a pop up command selecting items closing windows and dialog boxes etc All program commands in this manual are written in bold and italic letters Individual commands in combinations of commands are separated by the character For example File Save which means click the File entry in the menu bar and select the Save command from the File menu All hyperlinks in text are marked with blue colored letters e g Configuring Simulation Clicking a hyperlink opens the page which the hyperlink points to The content of this guide is listed in the Table of Contents Product Description MG SOFT SNMP Agent Simulator software applicati
82. g the name and comment of a new folder 4 A new folder with the specified name appears below the selected engine or folder in the management console window Figure 36 Repeat this procedure to create additional folders in the SNMP Agent Simulator management console Ele Edit View SNMP Agent Simulator Engine Run Tools Help me ls X FB O dA th Filter Options simulator Engines status Address 4 WE Local simulator Engine Connected 1270 01 a Cisco Switch 1 Running 10 0 3 161 Q5 Printer 4 Running 10 0 3 161 em Subnet 1 Figure 36 A new folder in the SNMP Agent Simulator management console 4 4 2 Putting SNMP Agents in Folders To put SNMP agents into folders you can either create new SNMP agents in the selected folder as described in the Adding Simulated Agents to Engines section or move the existing SNMP agents to folders as described in this section 1 To move existing SNMP agents to folders 2 Select the SNMP agent you want to put to a folder and use the drag amp drop technique to move it into the desired folder Figure 37 LL 42 MG SOFT SNMP Agent Simulator User Manual Organizing Simulated Agents in Folders File Edit Wiew SNMP Agent SimulatorEngine Run Tools e e Bela X FDR OO d Filter Options simulator Engines status Address 4 WE Local Simulator Engine Connected 127 0 0 1 a Cisco Switch 1 10 0 3 161 QS Printer A Running 10 0 3 161 Figure 37 Dragging amp dropping an agent into a folder 3
83. h Disabled default Template based Ciscoswitch amp Basic Peak Averages 306 8 588 3 Peak Averages Time Mon Jun 22 11 30 08 2015 Mon Jun 22 11 30 08 2015 3 q a ua Wo Mon lun 22 11 30 08 2015 Man lun 22 11 30 08 2015 Mon Jun 22 11 30 08 2015 Man lun 22 11 30 08 2015 hon Jun 22 11 29 08 2015 hon Jun 22 11 30 08 2015 hon Jun 22 11 30 08 2015 4 Local Simulator Engine Last update at Mon Jun 22 11 50 39 2015 2 0 2 0 2 0 15 7 00 0 0 2 0 00 2 0 00 0 0 0 0 00 Mon lun 22 11 30 08 2015 Mon Jun 22 11 30 08 2015 Man Jun 22 11 30 08 2015 Mon lun 22 11 30 08 2015 hon Jun 22 11 29 08 2015 Mon Jun 22 11 30 08 2015 Mon Jun 22 11 30 08 2015 Figure 91 Viewing SNMP traffic statistics of a simulated agent LL 92 MG SOFT SNMP Agent Simulator User Manual Viewing Statistics 3 The Statistics list in the lower window panel displays the number of SNMP packets received and sent by the simulated agent the number of requested and returned OIDs the number of received and sent octets in SNMP PDUs the number of received SNMP Get GetNext GetBulk and Set requests and the number of sent SNMP Response messages etc For each statistical variable the columns display the total value delta value difference of two consecutive polls average delta divided by the refresh interval in seconds peak delta value and time peak average value and time Figure 91 4 SNMP statistics of the selected simulated age
84. hanges you make to the configuration can be saved either as the existing configuration with the File Save Configuration command or as a new configuration with the File Save Configuration As command LO 81 MG SOFT SNMP Agent Simulator User Manual 6 2 Loading Configuration Loading Configuration This section describes how to load a previously saved simulator configuration into SNMP Agent Simulator management console When you load a configuration first all existing SNMP agents from the current configuration if any are stopped and then the SNMP agents from the loaded configuration are instantiated and run the latter depends on the configuration Only one configuration at a time can be loaded and run 1 To load a configuration select the File Load Configuration command from the main menu Figure 78 Edit View SNMP Agent simulator Engine Run Tools Help Ctrl h Ctrl 0 9 New Configuration E Load Configuration E Save Configuration Ctrl Ma Save Configuration Ls Delete Configuration Recent Configurations Exit Ctrl Shift s Q Options status Address 1270 01 10 0 1 1 10 0 3 156 10 0 1 3 10 0 1 4 100 0 1 5 Connected Running Running Running Running Running n Local Simulator Engine Aaent 00006 Runnina DO Ux x i L Part SAWP Profile 5809 161 Default SMMP 1 161 Default SMMP 1 161 Default SMMP 1 161 D
85. hat exiting the SNMP Agent Simulator management console will not stop the simulated SNMP agents The software lets you stop simulating either all running SNMP agents at a time a group of agents or individual agent instances as described in this section 7 2 1 Stopping a Single SNMP Agent To stop simulating a SNMP agent right click a running agent instance in the upper window panel and select the Stop Agent command from the pop up menu Figure 85 File Edit View SNMP Agent Simulator Engine Run Tools Help 21 204 X DEB 00 tl Filter a Options simulator Engines Status Address Port SNMP Profile Snapshot 2 Local Simulator Engine Connected 127 0 0 1 38500 a Remote_Simulatar Engine 1 Connected 10 0 3 114 5898 Linux Server 000 i 10 0 3 114 i161 Default SNMP RHELG a B Remate Simulator Engine 2 Connected Mew SNMP Agent e A ud e Pues e LU ile New SNMP Agents in Range SIR s e Remote Simulator Engine 2 Agent QOO Running Ciscoswmitchs d Remote Simulator Engine 2 amp gent QOQS Running Rename SNMP Agent CIscawrtc hs GS Remote Simulator Engine 2 Agent 0004 Running Edit SNMP Agent MERE LS e 3 Delete SNMP Agent SNMF Statistics Start SNMP Agent Figure 85 Stopping an SNMP agent 7 2 2 Stopping Multiple SNMP Agents You can stop simulating multiple SNMP agents at a time in more than one way a To stop simulating all running SNMP agents use the Run Stop All Agents command Figure 86 or click the Stop All Ag
86. he panel on the right hand side MIB modules Loaded MIB modules Filter Filter a ACCOUNTING CONTROL MIB RFCTISS SIMI d amp RFC1213 MIE a RFC1215 TRAP ADSL LINE EXT MIB S ADSL LINE MIB S ADSL TC MIB a AGENTX MIB S AGGREGATE MIB ie ALARM MIB a APM MIB APPC MIB i APPLETALK MIB k d APPLICATION MIB S APPN DLUR MIB APPN MIB ADDMLITRAD hAIP Number of available MIB modules 332 Number of loaded MIB modules 3 C Run MIB Compiler Figure 42 The MIB Modules dialog box with several modules selected a Toload one or more MIB modules select the module s in the MIB Modules list in the a a left panel and click the Load button gt You can select adjacent modules in the list by holding down the SHIFT key Select non adjacent modules by holding down the CTRL key while clicking the modules in the list To load all MIB modules click the Load All button gt To unload one or more MIB modules select the module s in the Loaded MIB Modules list in the panel on the right side and click the Unload button LL 47 MG SOFT SNMP Agent Simulator User Manual Loading Unloading MIB Modules To unload all loaded modules click the Unload All button amp To refresh the list of available modules click the Refresh button 2 If any additional MIB modules have been compiled and saved to SMIDB file format after opening the MIB Modules dialog box they will appear in the MIB modules list
87. ht click one of them and select the Start Agent command from the pop up menu Figure 84 File Edit View SNMP Agent simulator Engine Run Tools Help emi X FB OG Ral x i d a Options simulator Engines status Address Port SNMP Profile Snapshot 2s SE Local Simulator Engine Connected 1270 0 3528 dl Rernote_sirmulator_Engine_1 Connected 10 0 3 114 5888 r o H m Linux Server 000 Idle RHEL6 Mew SNMP Agent MERC RN ET a a Remote Simulator Engine 2 Connected did den l e Remote Simulator Engine 2 Agent QOQT Idle New SNMP Agents in Range Ciscosmtchs a al E ESTATE Gn MEA ent 000 Idle Penne ANR Aaen e E a Remote Simulator Engine Agent 0003 Idle l Cisco switch A GS Remote Simulator Engine 2 Agent 0004 Idle Edit Multiple SNMP Agent CiscoSwitchA Y lt 3 Delete SNMP Agents gt isti Bx SNMP Statistics Start SNMP Agents BEEN IM Figure 84 Starting selected SNMP agents Tip When starting multiple SNMP agent instances at the same time it is recommend to check the Errors panel for potential errors as it may not be immediately evident from the main window that some of the agent instances failed to start LL 86 MG SOFT SNMP Agent Simulator User Manual Stopping Simulation 7 2 Stopping Simulation Once the simulated SNMP agent instances are started they will continue to run until you stop them as described in this section Note t
88. ification messages that will be sent to the network depends on the SNMP profile assigned to the simulated agent For example if the trap template contains V1 Traps and the SNMP profile that is assigned to the simulated agent uses SNMPv1 protocol version then all notifications from the trap template will be sent as SNMPv1 Trap messages On the other hand if the SNMP profile that is assigned to the simulated agent uses SNMPv2c or SNMPv3 protocol version all the vi Traps from the trap template will be translated to v2 Trap format and sent as SNMPv2c or SNMPv3 Trap messages respectively or if Send as Inform if possible option is enabled then SNMPv2c or SNMPv3 Inform messages will be sent instead 1 To add an SNMPv2c v3 Trap to the template click the New Trap v2 button in the New Trap Templates window 2 The Add SNMPv2 Traps dialog box opens displaying a list of SNMPv2 notifications NOTIFICATION TYPE nodes defined in the currently loaded MIB modules Check the checkboxes in front of the v2 notifications you want to add and click the OK button to add them to the template If there are no notifications listed you need to load the MIB files that define them oup affected Object alarmActiwe State alarmClearstate alertldMurnber alertTrap apmTransactianResponsreeness amp larm apmTransactianllnsuccesstful amp larm appnlsr amp ccauntingqDiataTrap appnLocallglpCpChangelrap appnLocallqOperstate Change Trap appnLsOperstate Change Trap
89. iii isa 67 Figure 64 Adding an SNMPv1 Trap from MIB to trap template cooooccncccccconcnncccnonccononononccnncnnnnns 68 Figure 65 SNMPv1 Trap added to the trap template cccoooonccncccnnccccncconnncconcnononnconcnnnnnncnnononanccanennnnns 68 Figure 66 Trap Properties dialog DOX ob te oia chase codi ques Mosaic eens eee 69 Figure 67 Add SNMPv2 Traps dialog DOX cocoocccnccccconcconccononcnnnononancnnnononancnnnnononnrnnnnnnnanrnnnnnnannrnnnnnnnns 71 Figure 68 Adding a variable binding to a TAP cccccoconncnncccnconcnnnccnnnncnnncnnnancnnnonnnnncnnnnonnnnrnnnnononncnnnnnnnns 72 Figure 69 Setting a variable binding value occccccccccncnncccnnoncnnncnnnancnnnnnnnancnnnnnnnnnnnnnnonnnnrnnnnonannennnnnnnas 73 Figure 70 The Trap Template Manager dialog DOX oocccccconcnnccconcnccconcnnononcnnconanonnononcnnononnnononanenoss 74 Figure 71 Button for importing Traps from a MIB Browser Trap XML trfx file 75 Figure 72 Imported Traps from a MIB Browser Trap XML trfx file oocooooccocococconocooconconononnos 75 Figure 73 Example of using a string filter lessen 77 Figure 74 Example of using a wildcard filter 77 Figure 75 Example of using a regular expression filter esee 78 Figure 76 Saving a simulation configuration note the asterisk in the titlebar 80 Figure 77
90. imulatorEngine_Agent_O01 24 a Local Simulator Engine _Agent_O0125 ay Local_SimulatorEngine_Agent_O0126 e Local Simulator Enaine Agqent 00127 Running Running Running Running Running Running New SNMP Agents in Range Rename SMPIP Agent Edit SNMP Agent 3 Delete SNMP Agent EE El ES El l De Start SNMP Agent Error List B stop SNMP Agent Name Description Restart SNMP Agent ay Local_Simulator Engine Agent QU120 a Lacal Simulator Engine Agent QU121 a Lacal Simulator Engine Agent QU111 IP address or port not available Select IP address or port not available IP address or port not available Tools 1 Q 200 GS 197 Local Simulator Engine B SNMP Agent Status Report Figure 90 Opening the Edit SNMP Agent dialog box to fix the error LL 90 MG SOFT SNMP Agent Simulator User Manual Viewing Errors 4 Read the error description e g IP address or port not available to learn what type of error is associated with the given agent instance or simulator engine lf a resource is not available e g IP address or port probably some other process on the same computer occupies that resource In such case try to fix the error either by terminating the respective process or by assigning a different resource e g IP address or port or interface etc to the affected simulated agent To assign a different resource to an agent right click the relevant SNMP agent in the main
91. inding to the trap select the trap in the upper panel of the New Trap Templates window then select the desired object in the MIB tree and drag amp drop it to the lower panel of the New Trap Templates window Alternatively right click the desired object in the MIB tree and select the Add as Binding to Trap pop up command Figure 68 2 A new variable binding is added to the lower panel of the New Trap Templates window By default the bindings have value set to Automatic meaning that the simulated agent will put in its current value of that OID if it exists in the agent Snapshot at the time of sending the notification MIB tree General Show nodes All Shaw MIB node properties Trap destinatians eroDotZero org dad IP Address Add 10 0 0215 10 0 3 132 Edt Remove 3 Repeat every 10 minutes Y 4 5 internet Trap list ad MIB nade properties Mame Type OID Full path isa 1 ora 3 di hacule RFC1213 MIB Find Prew Ctrl F3 Parent system snmplrapO objectident Automatic M A E directory E mgmt Operation Trap type Specific trap SNMP Agent address Enterprise OID 4 New Trap v1 4 7 mib 2 A Trap vB coldStart 1 3 6 1 6 3 1 1 5 1 FA 4 3 system b sysDescr E New Timer sysObjectlD O sysUpTime Duplicate Operation b sysContact Edt E sysName _ 7 gt sysLacati Add as Binding to Trap S 3 Remove P EPI Expand X Collapse Mew Trap vz
92. ine service without installing the Management Console to the same computer Such simulator engine s can then be controlled from a remote Management Console Note 2 This manual describes only those installation steps that are specific to the MG SOFT SNMP Agent Simulator installation process Note You need to have administrative user privileges to install the software LL 10 MG SOFT SNMP Agent Simulator User Manual Installing SNMP Agent Simulator for Windows 1 2 3 In Windows Explorer navigate to the folder containing the installer s for SNMP Agent Simulator MG SOFT provides the installers for 32 bit x86 and 64 bit x86 64 build of MG SOFT SNMP Agent Simulator 2015 a On 32 bit Windows operating systems install the 32 bit version of SNMP Agent Simulator by running the setup 32 exe a On 64 bit Windows operating systems install the 64 bit version of SNMP Agent Simulator by running the setup 64 exe Tip If you wish to simulate a large number of SNMP agents e g 10 000 or more it is highly recommend to use the 64 bit version of MG SOFT SNMP Agent Simulator uo HESS 1 ue z i Welcome to the InstallShield Wizard for WG SOFT SNMP Agent Simulator 2015 version 14 0 The InstallshieldiR Wizard will install MG SOFT SNMP Agent Simulator 2015 Version 4 0 on your computer To continue click Mex WARNING This program is protected bv copyright law and international treaties Software Release cm sees C
93. ing general settings 20 Figure 14 New SNMP Agent dialog box Agent Behavior tab occccccccoocccnnccccconconncononncnncnonanncnnnnnnnns 21 Figure 15 Filtering live agent templates while configuring the agent behavior 22 Figure 16 New SNMP Agent dialog box Traps tab ccccccoocccccccccoccnnccononncnnnnononncnnnnononncnnnnononnnannnnnnns 23 Figure 17 A new SNMP agent instance has been added to the local simulator engine 23 Figure 18 Adding multiple SNMP Agents cccccssssccccccesseeeeeceeeseeeeeseeeeeeeeeeeaaeceeesseaeeeeesseaeeeesessaages 24 Figure 19 Creating multiple new SNMP agents in an IPv4 address range sssssssusse 25 Figure 20 Creating multiple new SNMP agents in an IPv6 address range essssssse 27 Figure 21 Configuring an IPv4 mapped IPv6 address range cccooocccnccccconcnnccononnconnnononnnnnonononnnnnnnnnnns 27 Figure 22 Configuring the agent behavior settings for multiple SNMP agents 29 Figure 23 Filtering live agent templates while configuring the agent behavior 30 Figure 24 Configuring the trap sending behavior for multiple SNMP agents 30 Figure 25 Many SNMP agent instances added in an IP range oocccncccconccnncccnonncnncnnnnnncnnnnnnnnnnn
94. instances will fail with the Specified interface not available message To solve the problem you need to select a new binding interface To quickly change the network interface for multiple simulated agents select the agents in the management console and choose the Edit Multiple SNMP Agents command from the pop up menu In the Edit Multiple SNMP Agents dialog box check the Network interface checkbox and select a new interface from the accompanying drop down list 5 In the Ports frame in the Start port and End port drop down lists specify the UDP port range the first and the last port number on which the newly created group of SNMP agent instances will listen to SNMP queries How many agent instances will be created depends on the port range span For example if the start LL 33 MG SOFT SNMP Agent Simulator User Manual Adding Simulated Agents to Engines port is 7001 and end port is 7010 port range includes 10 ports 10 SNMP agent instances will be added where every agent instance will bind to a different port from the range however all agent instances will bind to the same IP address The exact number of agent instances that are going to be added is displayed at the bottom of the New SNMP Agents in Range dialog box see the Number of agents to be added value Figure 26 6 Please continue as described in the Specifying Common Properties for Multiple Agents section Specifying UDPv6 IPv6 Port Range Details 1 To add multiple S
95. ions gt de Engine Mame Metbwork 4 20K Path C uPragramDatka MaG SOFT SNMP Agent Simulator Configurations Comment 20 000 SNMP agents 192 168 0 x 16 Cancel Figure 77 The Save Configuration dialog box a Into the Name input line enter the name of the configuration you are saving A folder carrying the configuration name will be created under the path specified in the Path input line The configuration project file Name sasx will be created in that that folder and the entire configuration will be saved to this folder and its subfolders a The Path input line displays the path to the location on disk whereto the configuration will be saved To save the configuration to a different location edit the path in the Path input line or simply navigate to the desired folder or drive in the file explorer in the left panel of the Save Configuration dialog box Note The default location for saving configurations on Windows is C ProgramData MG SOFT SNMP Agent Simulator Configurations Q Into the Comment input line optionally enter a short description of the configuration you are saving 3 Click the Save bution to close the Save Configuration dialog box and start saving the configuration to the desired location The Saving Configuration progress bar appears in the SNMP Agent Simulator management console When this progress bar disappears the configuration is saved and you can continue using with the software Any subsequent c
96. is C LS Low traffic E n Low voltage Use agent actual IP and MAC address Make this agent read only Figure 14 New SNMP Agent dialog box Agent Behavior tab LL 21 MG SOFT SNMP Agent Simulator User Manual Adding Simulated Agents to Engines 8 Inthe Agent Behavior tab check the Enable live agent simulation checkbox if you want the values of SNMP variables to change in the simulated agent Select either a The Basic value changes radio button in order for the values of counter object instances to increase by one at every SNMP retrieval operation Get GetNext and GetBulk requesting the given instance or a The Template based value changes radio button in order for the values of configured object instances to change according to the rules in the assigned live agent template s a he Live Agent Templates frame lists all configured live agent templates To assign a live agent template to the agent check the checkbox in front of the template in this list You can assign more than one live agent template to the agent Figure 15 Note If the simulated agent uses an agent snapshot that does not include the object instances OIDs that are controlled by the assigned live agent template s the live agent template s will have no effect a o quickly find the desired live agent template s enter its name or part of its name into the Filter input line in the Live Agent Templates frame Figure 15 To remove the filter and
97. ke Agent Snapshot dialog box 2 Inthe IP Address drop down list specify the IP address of the agent you want to take a snapshot of 3 In the Port drop down list specify the UDP port on which the given SNMP agent listens for SNMP requests 4 From the SNMP profile drop down list select a profile to be used for querying the given SNMP agent Alternatively click the Edit profile __ button to create a new SNMP profile 5 Click the Take Snapshot button SNMP Agent Simulator will query the specified SNMP agent and retrieve the values of all of its MIB object instances When finished the agent snapshot will be displayed the Agent Snapshot File Editor window Figure 47 6 Click the Save button at the bottom of the Agent Snapshot File Editor window to save the displayed agent snapshot to an agent snapshot XML file Figure 47 Once the snapshot has been saved it can be can be assigned to simulated SNMP agents LL 49 MG SOFT SNMP Agent Simulator User Manual Creating SNMP Agent Snapshots 4 7 2 Creating a Snapshot from MIB Modules The software can generate an agent snapshot from one or more selected MIB modules An agent snapshot is a collection of MIB object instances together with their values and syntaxes SNMP Agent Simulator will create one object instance 0 for all scalar leaf nodes and optionally one object instance for all columnar leaf nodes in MIB tables The generated agent snapshot automatically opens in the Agent
98. l Simulatar Engine Agent QOODH Running New SNMP Agent default i Local Simulatar Enqine Agent QUOS Running Mew SNMP Agents in Range p default A Local Simulator Enqine_4qent_00006 Running p default a Lacal Simulator Engine Agent DOQU7 Running SSE MAMIE eos SE default a Lacal Simulator Engine Agent DOQUS Running Z escapes default a Lacal Simulator Engine Agent DODDO Running 3 Delete SNMP Agents default Local Simulatar Engine Agent 0007 0 i default Local Simulator Engine Agent DOUT1 i P Start SNMP Agents default a Lacal Simulator Engine Agent QOUT Running E stop SNMP Agents default Ey Lacal Simulator Engine_Agent_00013 Running Restart SNMP Agents default ay Lacal Simulator Engine Agent 00014 Running default 3 Local Simulator Engine Agent D0015 Running select default a Lacal Simulator Engine Agent DOUTO Running default a Lacal Simulator Engine Agent QOUT 7 Running fusus default rh roc or I jo MAANA M r S 1 rr lt E SNMP Agent Status Report 1 200 10 Figure 29 Choosing the Edit Multiple SNMP Agents command on selected agents LLI 37 MG SOFT SNMP Agent Simulator User Manual Editing Multiple SNMP Agents 2 3 The New SNMP Agent dialog box appears Figure 30 which has a similar appearance as the New Edit SNMP Agents dialog box Figure 12 and lets you set the properties for all selected SNMP agent instances General Agent Behavior Traps IP version IPv4
99. line enter the IP address of the SNMP entity associated with the SNMPv1 Trap Te notification If you want to use the local IP address as the agents address click the Select Local Address toolbar ped oe button and select the offered IP address from the list that appears 5 Into the Enterprise OID input line enter the root OID of the enterprise that will be associated with this Trap notification L 69 MG SOFT SNMP Agent Simulator User Manual Configuring Live Agent Settings Agent Behavior 6 Tip Alternatively you can click the toolbar button next to the Enterprise OID input line to open the Select Object Identifier window In this window you can browse the MIB tree or use the Find Object in MIB Tree command to quickly find the desired enterprise root OID Note that you must load the MIB module which defines this node in order for SNMP Agent Simulator to display it in the MIB tree If you want SNMP Agent Simulator to enter the time stamp value automatically at the time of sending the Trap message uncheck the Time stamp checkbox To manipulate the time stamp value manually check this checkbox and enter the time stamp value in timeticks or click the Refresh Time Stamp button to update this field with the SNMP Agent Simulator current sysUpTime value Note The time stamp value should correspond to the Trap sender sysUpTime value at the time of sending the notification Check the Send as Inform if possible checkbox if you would
100. lue Into the Trap template name input line at the bottom of the New Edit Trap Template window specify the name of the trap template you are creating editing Finally after you have finished editing the trap template click the Save button eal to save the changes you have made to the trap template Once saved the trap template can be assigned to simulated agents in the Traps tab of the Agent Properties dialog box Tip You can select multiple simulated agent instances and choose the Edit Multiple SNMP Agents pop up command to configure the properties including the trap templates for multiple agents at the same time L 73 MG SOFT SNMP Agent Simulator User Manual Configuring Live Agent Settings Agent Behavior Importing SNMP Traps Captured by MG SOFT MIB Browser SNMP Agent Simulator can import SNMP Trap and Inform notifications that have been captured by MG SOFT MIB Browser Professional and saved to Trap Ringer XML file format trfx In other words MG SOFT MIB Browser Pro application can be used for receiving SNMP Trap and Inform notification messages sent by real network devices Received SNMP notifications can be saved to a Trap Ringer XML file trfx in MIB Browser SNMP Trap Ringer Console window MIB Browser s Trap Ringer XML files trfx can then be imported into SNMP Agent Simulator application New Edit Trap Template window as described in this section Tip Before importing SNMP notifications from a MIB Browser s T
101. lues determined by the selected agent snapshot file LL 28 MG SOFT SNMP Agent Simulator User Manual Adding Simulated Agents to Engines Tip Click the Manage Agent Snapshots button i next to the Agent snapshot file drop down list to open the Agent Snapshots Manager dialog box where you can create a new agent snapshot or edit existing ones and then select the desired snapshot in this drop down list 3 Check the SNMP statistics checkbox if you want the software to automatically collect and compute SNMP traffic statistics for all agents in the range Note If collecting SNMP statistics is enabled for a large number of simulated agents this may degrade the performance of MG SOFT SNMP Agent Simulator 4 Click the Agent Behavior tab to display the agent behavior settings Figure 22 General Agent behavior Traps Live agent simulation Enable live agent simulation Q nM Basic value changes Template based value changes Live agent templates Live agent templates Filter Show only checked C LO Excessive disk usage L Heavy CPU Load L High bandwith usage both C E High bandwith usage inbound C High bandwith usage outbound LO High memory usage md 4 Use agent actual IP and MAC address Make this agent read only L Number of SNMP agents to be added 511 94997 Figure 22 Configuring the agent behavior settings for multiple SNMP agents 5 In the Agent Behavior tab check the Enable li
102. mplates L L lie agent ternplate 1 l live agent template Figure 28 Filtering live agent templates while configuring the agent behavior a To view only assigned checked live agent templates check the Show only checked checkbox in the in the Live Agent Templates frame This is useful if the list of available templates is large a To open the Live Agent Template Manager dialog box where you can create new live agent templates or edit existing ones click the Live Agent Templates Manager button La 6 Check the Use agent actual IP and MAC address checkbox if you want for the simulated SNMP agents to automatically override the IP and MAC address values written in the assigned agent snapshot file MIB II only with each agent s own IP and MAC address values Note The Use agent actual IP and MAC address option increases the amount of memory used by the SNMP Agent Simulator Engine service as it needs to maintain a separate copy of certain OID values for each simulated agent instance in memory If you wish to simulate a large number of SNMP agents it is recommended to disable this option unless explicitly required 7 Check the Make this agent read only checkbox if you want to disable changing values of the agents OID instances via the SNMP Set operation LL 36 MG SOFT SNMP Agent Simulator User Manual Editing Multiple SNMP Agents 8 Click the Traps tab if to display the trap sending settings Figure 24 9 Check the Us
103. new engine The newly created engine appears in the upper panel of the Management Console window and the Management Console automatically connects to it Figure 10 File Edit View SNMP Agent Simulator Engine Run Tools Help amp p is mI X 068 amp l Filter Options simulator Engines Status Address Port SNMP Profile Snapshot Live Agent Simulation Trap SE Local Simulator Engine Connected 127 0 0 1 3800 Remote Simulator Enqine_1 Connected 10 0 3 167 9099 SNMP Statistics m x Figure 10 Management console displaying two simulator engines 8 Repeat the steps 1 7 to add additional remote simulator engines to the Management Console 9 When finished you can start adding SNMP agent instances to simulator engines as described in the next section LL 17 MG SOFT SNMP Agent Simulator User Manual Adding Simulated Agents to Engines 4 2 Adding Simulated Agents to Engines To simulate an SNMP agent you need to add an SNMP agent instance to a simulator engine and run that agent instance A simulator engine can control start stop collect Statistics for numerous SNMP agent instances MG SOFT SNMP Agent Simulator can simulate IPv4 and IPv6 SNMP agents The software lets you add agent instances either one by one or many at the same time This section describes both methods it starts by explaining how to create one SNMP agent instance and continues with the description of different ways of adding multiple SNMP agent inst
104. ng or regular expression filtering click the Options button next to the Filter input line to display the drop down menu and click the Use checkbox and select the desired filtering method Wildcard or Regular expression from the accompanying drop down list Figure 75 If you would like to filter entries only within a specific column displayed in the SNMP Agent Simulator Management Console select the desired column s in the Options menu Only the entries rows that contain the string that matches the filter criteria will be displayed in the SNMP Agent Simulator Management Console To remove the filter delete the search pattern or click the Remove filter symbol E in the Filter input line LL 79 MG SOFT SNMP Agent Simulator User Manual Saving Configuration 6 6 1 SAVING AND LOADING CONFIGURATIONS Once you have configured everything in the SNMP Agent Simulator management console you can save the entire configuration to disk This includes the information about all used simulator engines SNMP agents assigned agent snapshots SNMP profiles live agent and trap templates and optionally also the current state of the configured agents i e the running state stopped or started and also the current snapshots of all simulated agents i e the current values of all OID instances on all simulated agents A saved configuration can later be loaded into the SNMP Agent Simulator management console to quickly re create the simulation
105. nge method e g increment decrement etc and specify the accompanying parameters i e value limits min max step etc a Enter the X into the Repeat Every input line below and choose the time units seconds minutes hours from the accompanying drop down list a Click the OK button in the Value Change Configuration dialog box to save the changes and close the dialog box MIB node properties OID 1 5 6 1 2 1 2 2 1 5 1 tiPSpeed 1 Size list Syntax gauge Max access read only Value change configuration Fixed value 2 Request based value change Time based value change Periodic 3 Absolute time 7 C Absolute time periodic C Relative to sysUpTime CO qt Increment C2 Decrement Random C 2 Linear CD v Sinus Random configuration Generates a random number 0 between MIN and MAX values Repeate every 5 Second s Rme bared value change Penodgic Mandan a 0 Maxman SO00 Periodic Figure 56 Configuring the periodic value change options LL 60 MG SOFT SNMP Agent Simulator User Manual Configuring Live Agent Settings Agent Behavior a Absolute time the value starts to change at the specified time Figure 57 a Select the value change method e g increment decrement etc and specify the accompanying parameters i e value limits min max step etc a Inthe Start at input line enter the absolute time when you want the value to start changing Once the sp
106. nity name for SNMPv1 or SNMPv2c querying operations Get GetNext GetBulk that will be accepted by the simulated agent s a Into the Set community input line enter the community name for SNMPv1 or SNMPv2c Set operation that will be accepted by the simulated agent s a Into the Trap community input line enter the community name that will be inserted into SNMPv1 or SNMPv2c Trap and Inform messages sent by the simulated agent s Note The community input lines are disabled if you choose the SNMPv3 protocol version Profile Mame SAMPys SH Aes1z28 user SNMP version C SNMPv1 0 SMMPvzc 8 SMMPv3 Settings Read community public InForms set community private Timeout s 5 Trap community public a 3MMP 3 settings Security user name 5haAes1z8Llser Authentication protocol HM4C 5H4 Change Password Key Privacy protocol CFB 4ES5125 Change Passward Key Do nat localize Authentication and Privacy Keys Figure 40 New Edit SNMP Profile dialog box 4 f you have selected the SNMPv2c or SNMPv3 version specify the following parameters for sending SNMP Inform messages if enabled in trap template a Into the Timeout s input line enter the number of seconds the simulated agent will wait to receive a Response to each outstanding Inform message before generating a timeout signal this is used when simulated agents send SNMP Inform messages by using the assigned trap templates LL 45 MG S
107. nononano 31 Figure 26 Adding multiple SNMP agents in a port range UDP IPvA sseeeeeseeeeesss 33 Figure 27 Configuring settings for adding multiple SNMP agents in a port range UDPv6 IPv6 34 Figure 28 Filtering live agent templates while configuring the agent behavior 36 Figure 29 Choosing the Edit Multiple SNMP Agents command on selected agents 37 Figure 30 The Edit Multiple SNMP Agents dialog box ooooccccccccoocccnccocnoncnnccononncnnnnonnnnnnnnnononnennnnnnnns 38 Figure 31 Setting modifying the port and agent snapshot property for multiple SNMP agents 39 Figure 32 Setting modifying some of the agent behavior settings for multiple SNMP agents 40 Figure 33 Multiple SNMP agents with modified settings oooccocccccnnnonncccnncccnnnncnnccnnncnononanancnannncnnns 40 Figure 34 Creating a new folder in the SNMP Agent Simulator management console 41 Figure 35 Specifying the name and comment of a new folder ccccooooccnncccconncnncccnnancnnnnnnnncnnnonnnono 42 Figure 36 A new folder in the SNMP Agent Simulator management console ssuse 42 Figure 37 Dragging amp dropping an agent into a folder oocccccooncncoconnnncconcnnconanonnnnnncnnonnnnnncnnanenoss 43 Figure 38 SNMP Agent has been moved to a folder occccooonnccnc
108. nsaaes 65 4 9 5 Greatmg Editing a Trap TEMPE EI e et e EAE EEE svo edv AE 66 Adan EVI TVS TO TEPI E sc elut dad tau cuim au adeunda iue s Mi mu EE 67 ATA TETONA CES dO TOIRPIOIO acce e Odo ds 70 Adan Vo TFOPS tO LEDO iaa 71 Adame TCI oS to LTOS MORTC 72 Importing SNMP Traps Captured by MG SOFT MIB Browser eese tete tnter nnns 4 5 Filtering Simulated SNMP Agents eee eee eee 77 5 1 About Filtering MEIN OOS aestus dui s nd Ero Eee PER pea eU n aee rat E EE 77 LL 3 MG SOFT SNMP Agent Simulator User Manual Product Description 5 2 Specifying Filtering ParaMeterS cccccccscccseccsccceeecceeeceueeceeeceucecueseeeeeseessueenseeseas 79 6 Saving and Loading Configurations eere 80 Sal SIN GObDDQqua loli Rc eee de 80 6 2 Loading GON QUO ai 82 MED S lale SIMUIALION et 84 rox Sanno SUM UNA TIO met 84 7 1 1 Starting a Single SNMP Agent eee ii esses ss eese usen annua nsa ua saa sana sanas ansa a 84 7 1 2 Starting Multiple SNMP AGenits cccsccccccsseecccnscesccnscuecccsauseccuacsesenseuesensauseessaaesesaussensaeees 85 1527 SIODDIDO SIT lal D sse tierna do o Qe de de e 87 7 2 1 Stopping a SIMON MP AGEN persaepe o 87 22 2 Stopping Multiple SNMP AQehls i ro E Ee e es ee ua iuto gu Dub dc du duod das 87 Teor VIEWING EIO RIT I I UU TUM 89 FA VIEWING SAU SIGS aan 92 SUE USNO PINO A a E 94 ove oN HAG A Tp
109. nt instance is displayed also in four mini graphs Right click on a mini graph to display a pop up menu with the selection of statistical variables that can be monitored total values only in a given mini graph A toggle tick mark in front of a variable name indicates that the variable is being graphed The color of the variable name in the pop up menu is the color of the graph line used for depicting that variable LL 93 MG SOFT SNMP Agent Simulator User Manual Using Ping Tools 7 5 Using Ping Tools You can use the built in ICMP Ping and SNMP Ping tools to check if a particular simulator engine or running SNMP agent instance is responding respectively 7 5 1 SNMP Ping Tip The quickest way to SNMP ping a running SNMP agent instance is to select the agent instance in the SNMP Agent Simulator Management Console and use the CTRL P shortcut 1 To ping a running agent instance with an SNMP protocol request select the Tools SNMP Ping command or click the SNMP Ping toolbar button wri The SNMP Ping console appears Figure 92 IP address SNMP profile 10 0 0 215 v Default SNIMPv1 z Abort aE OMIM Ping started EEEE 1 3 6 1 2 1 1 1 0 e octet string Hardware Intel 4 Family 6 Model 30 Stepping 5 AT AT COMPATIBLE Sc eee GIMP Ping completed Figure 92 SNMP Ping console 2 Enter the IPv4 or IPv6 address and port of the SNMP agent you want to query and choose the appropriate SNMP profile from the drop down list
110. octets The groups are separated by colons By default the following link local IPv6 address is offered as a base address you can edit the IPv6 address to match your preferences peo ors s OO teo a Select the radio button above the portion of the IPv6 address that will be different in each address of the range a In the Start value input line enter the starting value of the varying part of the IPv6 address in hexadecimal notation The entered number must be in the range of 0 ffff e g if the last part of the default base address e80 is selected and you enter the value 1 in this input line the first IPv6 address of the range will be fe80 0 0 0 0 0 0 1 a In the Number of addresses input line enter a number in decimal of IPv6 addresses simulated agents to be created For performance reasons the maximum permitted value is limited to 10000 The varying part of the address LL 26 MG SOFT SNMP Agent Simulator User Manual Adding Simulated Agents to Engines 3 in the IPv6 address range will start with the Start value and increase by 1 to the Start value Number of addresses 1 hex value provided that the latter is less or equal to hex otherwise not all addresses agent instances will be created IP version Range type P4 Address range Port range Agent base name Switch IP addresses amp IPv amp addresses O IPv4 mapped IPv6 addresses Select the varying part of thelPy a
111. ommand to configure the properties including the assigned live agent templates for multiple agents at the same time LLI 64 MG SOFT SNMP Agent Simulator User Manual Configuring Live Agent Settings Agent Behavior 4 9 4 Opening Trap Template Manager If you would like the simulated agents to sends SNMP Trap or Inform notification messages you need to configure a trap template and assign it to the simulated agent instances A trap template specifies a list of SNMP notifications to be sent a list of trap destinations and optional trap sending behavior repeating timers The software features the Trap Template Manager dialog box where you can view and manage create edit import duplicate delete trap templates Select the Edit Trap Templates command from the main menu or click the Trap Template Manager toolbar button 6 The Trap Template Manager dialog box appears Figure 63 Filter ADSL Loss of power 15min notifications Mew t ingnal 15min notifications Impart snmpRising4larm trap storm UPS On Baterry Trap UPS Test Completed Trap Duplicate Edit Delete Figure 61 The Trap Template Manager dialog box a To create a new trap template click the New button and the New Edit Trap template window will appear a To edit a trap template select the template and click the Edit button and the New Edit Trap template window will appear a To create a copy of an existing trap template select the template
112. on can simulate thousands of SNMP manageable network devices each listening on a different IPv4 or IPv6 address or port supporting its own set of SNMP variables MIB modules and SNMP access parameters The software incorporates different methods of simulating the SNMP agent behavior including sending SNMP Trap and Inform notifications While the basic value changes incrementing counters can be selected with a simple click of a button much more sophisticated live agent behavior can be configured using the advanced template based mechanisms Configured live agent templates and trap templates can then be assigned to a number of simulated agent instances to exhibit the configured behavior MG SOFT SNMP Agent Simulator supports running simulations on a single machine or distributed over many computers The main components of the software are the simulator engine and the management console Simulator engine is a Windows service that can simulate numerous SNMP agents To facilitate enterprise level simulations comprising tens of thousands of SNMP devices a number of simulator engines can be deployed on computers across the network Even in such distributed setups a single easy to use management console GUI is used for configuring and managing all the simulated agent instances The software lets you simulate SNMP devices either by taking snapshots of real SNMP devices on the network or generating agent snapshot files from one or more MIB modules
113. operties including enable Statistics for multiple agents at the same time Note If collecting and computing statistics is enabled for a large number of simulated agents this may degrade the performance of MG SOFT SNMP Agent Simulator File Edit SNMP Agent 4e do Us X Filter View simulator Engine Address 127 0 0 1 10 0 3 134 fe B0 5OF2 5 10 0 3 134 fe80 2001 py simulator Engines status al Local Simulator Engine Connected a Server ay Workstation a Workstation Running Running Running SNMP statistics For Switch Mame Walue 216094 4710 1570 482693 10530 351 0 1350 3 1 0 1378 3 1 0 snmplnPauolDs 1376 30 1 0 snmplutPduOlDs 10097 3240 A snmplnGetRequests 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 snmplnPdutctets snmp OutPduOctets Y snmplnPackets y snmpOutPackets snmplnGetMextRequests 2 snmplnGetBulkRequests 1374 snmplnsetRequests o pur snmpOutGetResponses 1375 snimpOut raps snmp utlnforms 2 LEES LE ee z aF 0 snmplnReparts 0 snimpOutReports SNMP statistics For Switch Error List i i9 Run q 2 3 3 3 I Tx ao c3 Oo 8 Ww oe on E Tools Help Options Port SAMEP Profile 5899 1161 Default SNMP SHA DES User Default SNMP ye Default SNMP Delta Average s Peak Delta Peak Delta Time Mon Jun 22 11 30 08 2015 hon Jun 22 11 30 08 2015 204 0650 DO RAL i snapshot Live Agent Simulatio RHEL Disabled Ciscosmitc
114. r upil e fOperstatus 3 integer upil 4 finictets ifInCctets 1 counter 931013000 EP ifinOctets 2 EE iflnOctets 3 k a p iflnUcastPkts Y Expand WE ifinUcastPkts 1 amp Collapse D iflnucastPkts 2 Zz iflnlicastPkts3 Copy OID MIB node properties a iflnNLIcastPkts Hame iflnOctets eS D ifinNUcastPkts counter O bg eR T Figure 54 Live Agent Configuration Choosing the Configure command on a node LO 57 MG SOFT SNMP Agent Simulator User Manual Configuring Live Agent Settings Agent Behavior 7 In the MIB tree panel right click a configurable node whose value should vary and select the Configure option from the pop up menu Figure 54 The Value Change Configuration dialog box appears Figure 55 MIB node properties OID 1 3 6 1 2 1 1 7 0 sysServices 0 Size list Syntax integer Max access read only value change configuration 3 Fixed value 8 Request based value change C Time based value change 0 e Generate Run command a tl Increment _ Decrement C 3 Random O 2 Linear 7 v Sinus Increment configuration 1 Ww ie 8 Fixed step Random step Requestbared valve change Generate increment Range A 1 Maximan 127 Fixed Step Figure 55 Value Change Configuration dialog box request based value change options 8 In the Value Change Configuration dialog box specify the value changing mechanism as follows LL 58
115. rap Ringer XML file trfx it is recommended to load the MIB module s that define s the notifications you are going to import 1 Select the Edit Trap Templates command from the main menu to open the Trap Template Manager dialog box Figure 70 Filter A ADSL Loss of power ri5min notifications Mew A ADSL Loss of singnal 15minj notifications ImportedTraps os snmpRising amp larm trap storm Duplicate UPS On Baterry Trap Edit UPS Test Completed Trap Delet elete Figure 70 The Trap Template Manager dialog box 2 You have two options to import SNMP notifications a To import notifications into an existing trap template select the desired template in the Trap Template Manager dialog box and click the Edit button a To create a new trap template and import the list of notifications into it click the New button in the Trap Template Manager dialog box 3 The New Edit Trap Template window opens In the Trap list panel of the New Edit Trap Template window click the Import button Figure 71 LL 74 MG SOFT SNMP Agent Simulator User Manual Configuring Live Agent Settings Agent Behavior MIB tree General Show nodes SMMPvZ Traps Only Show MIB node properties Trap destinations 4 lig SNMP 2 Traps IP Address Add 4 7 dslTrapsx 10 0 100 177 P Edit A dsxllineStatusChange sid O isdnMibTraps 3 Remove A isdnMibCalllnforrnation E dialControlMibTraps A dialltlPeerCalllnto
116. rd input line and again in the Password Confirmation input line Alternatively click the Edit Key button to open the Binary Key for Authentication Protocol dialog box where you can enter the authentication security key directly Click the OK after editing the key a Click the OK button after setting the password or key 6 If you do not want security keys to be localized check the Do not localize Authentication and Privacy Keys checkbox 7 Click the OK button at the bottom of the New Edit SNMP Profile dialog box to create a new SNMP Profile and close the dialog box LL 46 MG SOFT SNMP Agent Simulator User Manual Loading Unloading MIB Modules 4 6 Loading Unloading MIB Modules Note While the standard SNMP MIB files come with the software MIB files supplied by the vendors of SNMP manageable devices first need to be compiled with the bundled MG SOFT MIB Compiler and saved to SMIDB file format For detailed instructions on compiling MIB files please refer to the MIB Compiler User Manual You can load MIB modules to enable viewing or editing agent snapshots live agent templates and trap templates in a user friendly manner where OIDs are resolved to names certain values are resolved and properly formatted etc To load unload MIB modules select the Edit MIB Modules command The MIB Modules dialog box appears Figure 42 listing available currently not loaded MIB modules in the left panel and loaded MIB modules in t
117. reaches the minimum value it rewraps to the maximum value and starts decrementing again Random Generates a random number between the minimum and the maximum value Linear The value increases linearly When the value reaches the maximum it restarts from the minimum value Sinus Value changes according to the mathematical sine function Command Executes a custom command or script This option is available only for request based value change 4 9 2 Opening Live Agent Template Manager The software features the Live Agent Template Manager dialog box where you can view and manage create edit import duplicate delete live agent templates Select the Edit Live Agent Templates command from the main menu or click the Live Agent Template Manager toolbar button 3 The Live Agent Template Manager dialog box appears Figure 51 Filter Excessiee disk usage Mew LO Heavy CPU Load High bandwith usage inbound Apta L High bandwith usage outbound Duplicate l High memory usage l High temeprature chassis Edit L High voltage chassis L Low traffic l Low voltage Medium traffic Delete Figure 51 The Live Agent Template Manager dialog box a To create a new live agent template click the New button and the New Edit Live Agent Template window will appear a To edit a live agent template select the template and click the Edit button and the New Edit Live Agent Template window will appear LL
118. rmation Trap list A dialCtlPeerCallSetup 2 ds3Trapsx0 Operation Trap type specific trap SNMP tr Mew Trap v1 A dsx3blineStatusthange frameRelayTraps A frDLCIStstusChange O frnetservTraps Prefix A frPVCCannectstatusMatif M ie Timer E frnetseryT raps Figure 71 Button for E Repeat every 10 minutes Y Mew Trap v2 Duplicate Operation importing Traps from a MIB Browser Trap XML trfx file 4 The Import Traps dialog box appears which closely resembles the system standard Open dialog box Use this dialog box to navigate to the folder in which the MIB Browser Trap XML file trfx is stored select it and click the Open button 5 SNMP Agent Simulator imports the SNMP Trap and or Inform messages from the selected tr x file and adds them to the trap template list displayed in the central section of the New Edit Trap Template window Figure 72 MIB tree General Show nodes 4 Traps Only Show MIB node properties Trap destinations 4 5 SNMPv1 Traps EM P canes LE m s 4 lig RFC1269 MIB TS bgpBackwardTransition 3 Remove bgpEstablished i cisco 4 CISCOTRAP MIB Trap list WN reload tcpConnectionClose m ciscoEsConfig Led E ai a CISCO ES STACK MIB A Trap v2 dialCtiPeerCallSetup 1 3 6 1 2 1 10 21 2 0 2 WN ciscoEsStackCfgChange A Trap v2 dialCtlPeerCallSetup 1 3 6 1 2 1 10 21 2 0 2 M ciscoEsStackProStackMatrixChange A Trap v2 dialCtlPeerCalllnformation 1 3 6
119. sent repeatedly in regular intervals check the Repeat every checkbox below the Trap destinations frame and specify the repeat time in the accompanying controls Next you need to add one or more SNMP Traps to the new trap template This can be accomplished by manually adding the Traps to the template as described in the following sections or by importing Traps captured by MG SOFT MIB Browser Pro application Adding V1 Traps to Template There are two ways of adding SNMPv1 Traps to trap template One can either select TRAP TYPE nodes defined in the currently loaded MIB modules and add them as SNMPv1 Traps to the trap template or configure custom SNMPv1 Traps and add them to the template Both methods are described in this section Note The actual version SNMPv1 SNMPv2c SNMPv3 and format V1 Trap V2 Trap Inform of SNMP notification messages that will be sent to the network depends on the SNMP profile assigned to the agent For example if the trap template contains V1 Traps and the SNMP profile that is assigned to the simulated agent uses SNMPv1 protocol version then all notifications from the trap template will be sent in form of SNMPv1 Trap messages On the other hand if the SNMP profile that is assigned to the simulated agent uses SNMPv2c or SNMPv3 protocol version all the traps from the trap template will be translated to v2 Trap format and sent as SNMPv2c or SNMPv3 Trap messages respectively or if Send as Inform if possible op
120. sysLacation d Sys sEPVICEs T 4 Remove sini A New Trap ve MIB node properties Mame fOperStatus Type OBJECT TYPE COD 1 3 B8 1 2 1 2 2 1 8 Full path iga 13 ora 3 dod B internet 17 moernt Module RFC 213 MIB Binding list 2 Edit Parent ifEntry Duplicate Binding Previous sibling if amp adminstatus xx Mext sibling ifLastChandae x Remove Numerical syntax Integer 32bit Base syntax INTEGER lt Trap template name High chasis temperature notifications La Save Cancel Figure 62 New Trap Template window 3 To view only trap type and notification types nodes in the MIB tree select the Traps Only entry from the Show nodes drop down list Figure 62 4 To configure a trap destination click the Add button in the upper right section of the window The Add Trap Destination dialog box appears Figure 63 LL 66 MG SOFT SNMP Agent Simulator User Manual Configuring Live Agent Settings Agent Behavior 5 IP address 10 0 0 215 Port 152 Figure 63 Add Trap Destination dialog box Into the P address and Port input lines enter the IPv4 or IPv6 address and port of the machine the SNMP notifications will be sent to and click the OK button to add this trap destination to the template Repeat steps 4 and 5 to add additional trap destinations to the template If you want the notification sending operation to be repeated periodically i e all SNMP notifications from the trap template list to be
121. system the simulated agent instances will fail with the Specified interface not available message To solve the problem you need to select a new binding interface To quickly change the network interface for multiple simulated agents select the agents in the management console and choose the Edit Multiple SNMP Agents command from the pop up menu In the Edit Multiple SNMP Agents dialog box check the Network interface checkbox and select a new interface from the accompanying drop down list Into the Start port drop down list in the Ports frame enter the UDP port number on which the simulated agent instances will listen for incoming SNMP requests e g 161 Specifying IPv6 Address Range Details 1 To add SNMP agent instances in an IPv6 address range where every agent instance will listen on a different IPv6 address select the Pv6 button in the IP version frame at the top of the New SNMP Agents in Range dialog box and the Address range button in the Range type frame next to it Figure 20 To create agents that wil use standard IPv6 addresses select the Pv6 addresses radio button in the IP addresses frame a Enter the base IPv6 address in hexadecimal notation into the corresponding eight input lines This address will serve as the base for generating the IPv6 address range where only a selected part of the address will vary An IPv6 address is represented as eight groups of four hexadecimal digits each group representing 16 bits two
122. t templates while configuring the agent behavior a To view only assigned checked live agent templates check the Show only checked checkbox in the in the Live Agent Templates frame This is useful if the list of available templates is large a To open the Live Agent Template Manager dialog box where you can create new live agent templates or edit existing ones click the Live Agent Templates Manager button La 6 Check the Use agent actual IP and MAC address checkbox if you want for the simulated SNMP agents to automatically override the IP and MAC address values written in the assigned agent snapshot file MIB II only with each agent s own IP and MAC address values Note The Use agent actual IP and MAC address option increases the amount of memory used by the SNMP Agent Simulator Engine service as it needs to keep a separate copy of certain OID values for each simulated agent instance in memory If you wish to simulate a large number of SNMP agents it is recommended to disable this option unless explicitly required 7 Check the Make this agent read only checkbox if you want to disable changing values of the agents OID instances via the SNMP Set operation 8 Click the Traps tab to display the trap sending settings Figure 24 General Agent behavior Traps Trap template Use trap template For sending notifications Peak notifications High bandwith usage traps Peak notifications Security breach traps repeated
123. tance to a table right click a table node i or an entry node i3 and select the Add Instance pop up command The Add Table Instance dialog box appears Instance 5 Apply to whole table Figure 48 Adding a table instance 4 Enter the object instance you want to add Select the Apply to whole table option if you want to add the specified instance to all columnar nodes of the given table Click the OK button to create the instance and close the Add Table Instance dialog box L 52 MG SOFT SNMP Agent Simulator User Manual Editing Agent Snapshots Syntax 4 interfaces a E fhiumber gt ifNumber 0 Integer 4 E ifTable 4 73 ifEntry 4 CS ifindex Ep ifIndex 1 integer gt Iflridex 2 Integer C iflndex 3 integer nl a ifDescr ifDescr 1 ME Remove gt ifDiescr 2 Add Leaf Ep ifDescr 3 fDescr 5 Mb Expand IFType 1 gt iFType 2 ios Q Find Ctrl F mL 00 Find Nes F3 SS fit Find Prev Ctrl F3 Sp ifmttu 2 B ifldtu 3 E ifMtu 5 E show WIE Mode Properties Add Instance Collapse Snapshot File name default Number of object instances in agent snapshot 677 Cancel Figure 49 Choosing the Edit pop up command in the Agent Snapshot File Editor window 5 Right click the MIB object instance whose value you want to change and choose the Edit pop up command value to Sek Intel R 82578DM Gigabit Network Connection Syntax Orctets Figure 50 Editing a MIB object instance value
124. tem Should you need to manually start it proceed as follows 1 Click the Start button and select or type the Run command The Run dialog box appears Figure 6 Run Type the name of a program folder document or Internet resource and Windows will open it for you pen services msc Hg This task will be created with administrative privileges Figure 6 Run dialog box 2 Into the Open input line in the Run dialog box type services msc and click the OK button The Services window appears Figure 7 o Services Local MG SOFT SNMP Agent Simulator Name m Description Engine 5 Media Center Extender Service Allows Media Cent LE MG SOFT SNMP Agent Simulator Engine se Microsoft NET Framework NGEN v2 0 50727 5 Microsoft iSCSI Initiator Service stop Start the service Start Description Controls simulated SMMP agent instances on this computer and provides the status information and 4 Met Tcp Port Sharing Service Restart statistics about the running agent Sa Netlogon instances to the local or remote Sa Network Access Protection Agent All Tasks j SNMP Agent Simulator Management oo C oo 5 Network Connections Refresh Started Figure 7 Starting SNMP Agent Simulator Engine service S4 Microsoft Software Shadow Copy Provider Pause 55 Multimedia Class Scheduler Resume Started 3 Right click the MG SOFT SNMP Agent Simulator Engine service and select the Start command LL 15 MG
125. tion is enabled then SNMPv2c or SNMPv3 Inform messages will be sent instead Adding SNMPvl Traps defined in MIB Modules 1 Select the SNMPv1 Traps Only option from the Show nodes drop down list in the New Trap Templates window Figure 62 The left panel of the New Trap Templates window displays only SNMPv1 Trap TRAP TYPE nodes defined in the currently loaded MIB modules To add an SNMPv1 Trap to the template right click the corresponding SNMPv1 Trap node in the panel on the left side and select the Add Trap to Template command from the pop up menu Figure 64 LO 67 MG SOFT SNMP Agent Simulator User Manual MIB tree Show nodes 4 SNMPy1 Traps Only Show MIB node properties 4 5 SNMPV1 Traps 4 lig bgp Configuring Live Agent Settings Agent Behavior General Trap destinations IP Address 10 0 0 215 10 0 3 132 Add Edit a li RFC1269 MIB A bgpBackwardTransition Af bgpEstablished 4 i frame relay 4 lj RFC1315 MIB A frDLCIStatusChange 4 lii snmp a lj RFC1215 TRAP A authenticationFailure A coldStart A egpMeigl Add Trap to Template k A linkDowr W linklip Y Expand A warm Sta Y Collapse 4 ia x25 a ig RECT382 MI Q Find Ctrl F Find Mext F3 Find Prey Ctrl F3 x Remove a Repeat every minutes Trap list Operation Trap type Specific trap SMMP Agent addres Mew Trap v1 A Mew Trap vz z Mew Timer Duplicate Operation Edit x Remove
126. tion wizard will configure the above exception only in the built in Windows Firewall If you use third party firewall software you need to configure the above described exception manually For details please check the documentation that came with the third party firewall software 5 Click the Next button to proceed to the Setup Type screen Figure 3 LL 12 MG SOFT SNMP Agent Simulator User Manual Installing SNMP Agent Simulator for Windows Setup Type Choose the setup type that best suits your needs Please select a setup type Complete All program Features will be installed Requires the most disk Space Choose which program Features you want installed and where they will be installed Recommended For advanced users InstallShield Figure 3 SNMP Agent Simulator installation wizard Setup Type screen a To install the entire application SNMP Agent Simulator Engine service and the Management Console select the Complete option and click the Next button to proceed to the Ready to Install the Program screen Figure 5 a To install only the SNMP Agent Simulator Engine service to the given machine you can later connect to it from the SNMP Agent Simulator Management Console running on another computer select the Custom option and click the Next button to proceed to the Custom Setup screen Figure 4 Custom Setup Select Ehe program Features vau want installed Click an an icon in the list below bo change
127. u File Edit Wiew SNMP Agent Simulator Engine Run Tools Help Se Bi X FB D AAA Filter a Options Simulator Engines status Address Port SNMP Profile snapshot Live Agent simulation Tra 4 E Local Simulator Engine Connected 127 0 0 1 1899 A Local SimulatorEngine Running 10 0 10010 7161 Default SIMIPST default Basic a Lacal Simulator Engine e Running 127 0 0 1 1161 Default SMMAPs1 default Disabled E Simulator Engine 1 Connected 10 0 3114 5888 Mew SNMP Agent Mew SNMP Agents in Range 9 Stat All SNMP Agents Figure 18 Adding multiple SNMP Agents 2 he New SNMP Agents in Range dialog box appears Figure 19 3 Into the Agent base name input line enter the name prefix that will be common to all created SNMP agent instances SNMP Agent Simulator will automatically add the _NNNN where N 0 9 numerical suffix to the specified base name For example if you create 100 SNMP agent instances and enter the base name Linux the software will generate agent instances with the following names Lin x 0001 Linux 0002 Linux 0003 5 Lltux OTOU 4 Depending on whether you would like to add a group of IPv4 or IPv6 SNMP agents proceed as follows a To add SNMP agent instances in an IPv4 address range follow the instructions in the Specifying IPv4 Address Range Details section below a To add SNMP agent instances in an IPv6 address range follow the instructions in the Specifying IPv6 Address Range Details section Specif
128. ve agent simulation checkbox if you want the values of SNMP variables to change in the simulated agents Select either a The Basic value changes radio button where the values of all counter object instances increase by one at every SNMP retrieval operation Get GetNext and GetBulk requesting the given instance or a Ihe Template based value changes radio button where the values of object instances change according to the rules in the assigned live agent template s LL 29 MG SOFT SNMP Agent Simulator User Manual Adding Simulated Agents to Engines a The Live Agent Templates frame lists all configured live agent templates To assign a live agent template to the agents check the checkbox in front of the template in this list You can assign more than one live agent template to the agents Figure 22 Note If a simulated agents use an agent snapshot file that does not include the object instances OIDs that are controlled by the assigned live agent template s the live agent template s will have no effect a o quickly find the desired live agent template s enter its name or part of its name into the Filter input line in the Live Agent Templates frame Figure 23 To remove the filter and display all templates click the Remove filter symbol 3 e Template based value changes Live agent templates C show only checked C LES live agent template 1 l Ire agent template Figure 23 Filtering live agen
129. ying IPv4 Address Range Details 1 To add SNMP agent instances in an IP address range where every agent instance will listen on a different IPv4 address select the Pv4 button in the IP version frame at the top of the New SNMP Agents in Range dialog box and the Address range button in the Range type frame Figure 19 2 n the IP addresses frame specify the first and the last IPv4 address of the range into the P address start and IP address end drop down lists respectively How LL 24 MG SOFT SNMP Agent Simulator User Manual Adding Simulated Agents to Engines many agent instances will be created depends on the span of the specified IP address range and the subnet mask For example if the netmask is 255 255 0 0 and start address is 10 0 100 1 and the end address is 10 0 101 255 address range includes 511 valid unicast IPv4 addresses 511 SNMP agent instances will be added where every agent instance will bind to a different IP address from the range The exact number of agent instances that are going to be added in each specific case is displayed at the bottom of the New SNMP Agents in Range dialog box see the Number of SNMP agents to be added value This number is calculated based on the specified IP address range and the subnet mask Note 1 If the specified IP addresses do not exist they will be added to the system and assigned the network interface card selected in the Network interface drop down list Note 2 When creating an

Download Pdf Manuals

image

Related Search

Related Contents

Prise d`ACTe, résiliATioN judiCiAire, ruPTure - Wolters  Guía del usuario de la cámara  1 Impressora HP Deskjet 3740 series  Bedienungsanleitung  EMS190DCL - Tooled  

Copyright © All rights reserved.
Failed to retrieve file