Previous Topic: Import Application Mapping RulesNext Topic: Import Custom Application Mapping Rules


Import the Default NBAR2 Application Mapping Rules

You can add a complete set of default NBAR2 application mapping rules in a batch import operation. You perform this task on the command line by using the nbar2.csv file that comes with the product.

Note: The NBAR2 application mapping rules that you import represent the current set of NBAR2 application definitions as of the product release time frame.

Follow these steps:

  1. Log in to the NFA console server or stand-alone server as a user who is a member of the Administrators group.
  2. Open a command prompt.
  3. Navigate to the directory that contains the nbar2.csv file: Enter the following command:
    cd <install_path>\reporter\racmd
    

    where:

    <install_path> is the product installation path. The default path is C:\CA\NFA.

    racmd is the directory that contains the nbar2.csv file. The file is written to this directory when you install the product.

  4. Enter the following command:
    racmd -import nbar2.csv
    

    where:

    nbar2.csv is the name of the application mapping rule file that you want to import. The command string is based on the expectation that the racmd command and .csv file are in their default location. If you have moved the .csv file, include the fully qualified path (the path and file name).

    If any errors occur during the import, error messages are shown. If no message is returned, the import succeeded with no problems.

  5. (Optional) Verify that the rules are listed on the Applications Definitions page:
    1. Select Administration from the NFA console menu.

      The Administration page opens.

    2. Select Application Definitions in the Administration menu.

      The Application Definitions page opens. The new rules are shown in the Application Definitions page list.

  6. (Optional) Verify that the mapped NBAR2 application traffic is labeled appropriately in the following locations:
  7. (Optional) Combine traffic reporting for selected applications if you like.
    1. Identify a set of applications that you want to see reported as combined traffic.
    2. Edit the corresponding application rules to send the data to a single destination port.

      By default, each NBAR2 application is mapped to a separate port. The default ports are above 65000.

    3. Use an appropriate name for the rules: Use a name that reflects the type of applications that are included.

      Reports use this name to label the combined traffic.

      If you update a rule name, all rules that use that destination port are renamed to match the new definition. The rule name and label is set when you edit the final rule name.