This describes how to configure filters and fields using NTPL.
This section provides NTPL examples with a detailed description about each NTPL command. You should make adjustments to the provided examples depending on your target setup. See DN-0449 for more information about the NTPL syntax.
|Network TAP example||SPAN port example|
|Description||Receive upstream traffic on one port and downstream traffic on another port.||Receive upstream traffic and downstream traffic on the same port.|
|Flow identification||Based on outer-header fields.||Based on inner-header fields.|
The network TAP configuration is an example where upstream traffic is received on one port of the SmartNIC, and downstream traffic is received on another port of the SmartNIC. The swap feature is introduced to treat bidirectional traffic as the same flow. This example uses outer-header fields for identifying flows.
The SPAN port configuration is an example where upstream and downstream traffic is received on the same port of the SmartNIC. The sort feature is introduced to treat bidirectional traffic as the same flow. This example uses inner-header fields for identifying flows.