OpenNSL API Guide and Reference Manual
Installing and Executing OpenNSL

Platform Setup page list the bring up instructions and on how to enable tranceiver transmit power for applicable platforms.

The following page explain how to Install and Execute OpenNSL on x86 based CPU platforms.

Install and Execute OpenNSL on x86 based CPU platforms

Downloading Sample Applications and Basic Setup

The OpenNSL target deliverables are available in opennsl_root/bin/<platform> directory.

Use the following commands to install OpenNSL Linux kernel modules

Install OpenNSL shared library. The destination directory to install the shared library depends on the host environment configuration. Install the library files in a location included in the system's library search path.

   # mv libopennsl.so.1 /usr/lib
   # cd /usr/lib
   # ln -sf libopennsl.so.1 libopennsl.so

Executing OpenNSL Examples

cd to target deliverables directory and run example applications

    # chmod +x example_l2_firewall
    #./example_l2_firewall

Issue "example_l2_firewall –help" for usage of the application.

Application support matrix

The following table lists the support of sample applications on various platforms.

Application Platforms
Buffer Statistics (BST)Platforms with Trident2 and Tomahawk silicons
Others All platforms