sales@gambitcomm.com   (603) 889 5100.
x
This website uses cookies. More info . That's Fine

Get Started

  Home / Get Started

Get started with the MIMIC sFlow Simulator

MIMIC sFlow Simulator is an optional MIMIC protocol module to simulate one or more sFlow agents.

It can be installed after the base MIMIC installation as below.

    Enable sFlow in MIMIC

  1. At this point you should have MIMIC installed, and the MIMICview GUI running (see details) . If you don't have MIMICview running, please consult your license e-mail to get it installed and running.

  2. Check whether you already have SFLOW enabled in MIMIC as shown in the Help -> About Mimic... dialog in MIMICview. It should be listed under Loaded protocols. If already there, then skip to step 7.

  3. Run Protocol Wizard using the Wizards -> Protocol Wizard menu in MIMICView (see details)

  4. Select sFlow Simulator in Select Protocols dialog if not already selected. Press Next.

  5. Supply corresponding license keys from the license email in the Supply License Keys dialog. Then press Next.

  6. The Result Installing/Uninstalling Protocols dialog shows what got done. Press Finish to proceed. When the simulator restarts, you should have sFlow enabled.

    Download optional sample sFlow packages

  7. At this point, you should have sFlow enabled in MIMIC as shown in the Help -> About Mimic... dialog in MIMICview. SFLOW should be listed under Loaded protocols. If not, send us the MIMIC log. (see details)

  8. Invoke the MIMICview Wizard -> Update menu to download and install sFlow packages (see details)

  9. Check under the section Collections for sFlow Packages. If not there, then it is already installed. Else, select it, and press Next to install.

    Firewall permission for www.gambitcomm.com , port 80 is needed to run the Update Wizard over the web.

    Please visit this link for alternative MIMIC update instructions in case you don't have Internet to use the Update Wizard over the web connection on the MIMIC system:

    http://www.mirror1.gambitcommunications.com/update/mibs/mimic-update-xxxx/

    where xxxx is current MIMIC version e.g. for 20.10 it is 2010

Advanced configuration

sFlow packets are generated at most one every second by default, even if the Exports per Minute value is greater than 60 in the corresponding agent sFlow configuration file.

The rate can be increased to up to 1000 every second by having a config/sflow.cfg file in MIMIC install area (c:\Apps\Mimic.xxxx or /usr/local/mimic) with a line as below and timer_interval_in_msec value as 1 in the corresponding agent sFlow configuration file:

timer_interval_in_msec = 1 

The MIMIC simulator must be restarted after creating the file and new log must show this line:

SFLOW: timer_interval_in_msec = 1 (default 1000}

NOTE: This will impact performance of the simulator. Set this only if you need to generate messages more frequently than 1 every second.

Configuring a MIMIC agent as a sFlow Agent

  1. Restart MIMIC and select an agent in MIMICView. Stop it if it is already running. Invoke Edit -> Configure -> All dialog (see details) . In the Advanced tab select the check box labeled SFLOW.

    A tab will appear, also labeled SFLOW. Select it and use the browse button to select an existing sFlow configuration file, for example sample-sflow.cfg.

  2. Configure flow generation from the agent to a sFlow collector using the provided Collector and Collector Port fields. The collector will accept space separated list of either IP addresses or node names as input (must be in DNS if a node name is used) (see details)

  3. When the agent is started, sFlow data will be exported from the agent as specified by the sFlow configuration file. The IP addresses and protocol type information are randomized by the sFlow Recorder and will not contain the exact data contained in the pcap input file.

    The configuration file is user-editable and conforms to the specifications of sFlow. Reference this site for information about fields contained in the configuration file.

  4. To verify that sFlow data is being exported from the MIMIC agent, select the agent, click the Statistics tool on the context menu, and check the sFlow tab. Alternatively, or additionally, right click the agent and select Agent -> Trace -> sFlow to enable protocol tracing in the user log. The log should show entries resembling the following:

    agent 7 trace enabled for SFLOW
    
    SFLOW[AGT=7]: sent to [192.9.200.45,2055]
    

  5. You can use sFlow Wizard (Wizard->sFlow menu) to create and edit a sFlow configuration file (see details) .

Please refer to the MIMIC Online Help topic Optional Protocol Modules -> MIMIC SFLOW Protocol Module Guide for further guidance by invoking Help -> Contents menu in MIMICView for full details, or access it here.