
Configuring Application Fingerprinting
Configuring AFP
OmniSwitch AOS Release 7 Network Configuration Guide
June 2013
page 28-13
-> show app-fingerprint configuration
Admin-state: Enabled,
SNMP Trap:
Disabled,
Signature File: app-regex.txt
Changing the REGEX Signature Filename
A default REGEX signature file, named “app-regex.txt” is provided in the “/flash/app-signature/” direc-
tory on the OmniSwitch. This file is a user-configurable ASCII text file. Adding, removing, or changing
application signatures and groups defined in this file is allowed. It is also possible to use a completely
different signature file instead of the default “app-regex.txt” file.
To direct AFP to use a different REGEX signature file for pattern matching, make sure the file is uploaded
to the “/flash/app-signature/” directory on the switch, then use the
app-fingerprint signature-file
command to point AFP to the new filename. For example, the following command configures AFP to use
the “net-regex.txt” file:
-> app-fingerprint signature-file net-regex.txt
Verifying the REGEX Signature Filename
show app-fingerprint configuration
command displays the name of the REGEX signature filename
that AFP is using for pattern matching. For example:
-> show app-fingerprint configuration
Admin-state: Enabled,
SNMP Trap: Disabled,
Signature File:
app-regex.txt
Reloading the REGEX Signature File
The REGEX signature file is loaded into switch memory where the contents of the file is accessed by the
AFP pattern matching function. If a new filename is designated for the REGEX signature file or if the
contents of the current signature file is changed, a reload of that file into the switch memory is required.
Changes to the signature file contents or filename are applied when the signature file is reloaded into
memory. A switch reboot is not required.
app-fingerprint reload-signature-file
command is used to reload the current signature file. For
example:
-> app-fingerprint reload-file
Note that the current signature file reloaded is either the “app-regex.txt” file, unless a different signature
filename was designated as the current signature file using the
app-fingerprint signature-file
command.