Understanding rules
Rules modify how and what packets are forwarded from network ports to tool ports. Rules contain filters and set options like trailers, load balancing, and packet deduplication, but rules only take effect when connected to ports.
A rule is necessary to establish connections between network ports and tool ports. Without a rule to establish the connection, no packets entering network ports can be forwarded to tool ports. This convention applies to all connections between network ports and tool ports regardless of how you design your layouts.
At minimum, a working network path between a network port and tool port can be made by connecting both ports to an "empty" rule. Empty rules establish a connection yet do not change the behavior of what is forwarded to tool ports and what ultimately egresses from them.
How to create a rule
You can create a rule to control how connected network ports and tool ports interact. Use the rule to establish filtering and other options like load balancing, packet deduplication, and more.
Tip! A new, empty rule is created by connecting a network port to a tool port. This is a shortcut for creating new rules.
To create a rule:
1. Starting in the dashboard, click Rules.
The rules and filters designer appears, where rules and filters can be created and edited.
2. Ensure the Rules tab is selected.
3. Click New.
The rule opens and is ready to edit.
4. Make your changes.
5. Click Save.
 
You successfully created a rule. Whenever this rule is used to connect network ports to tool ports, the logic is applied.
 
How to edit a rule
You can edit a rule to change which filter is bound to it or to configure options.
Tip! You can also edit by double-clicking rules in a layout.
To edit a rule:
1. Starting in the dashboard, click Rules.
The rules and filters designer appears, where rules and filters can be created and edited.
2. Ensure the Rules tab is selected.
3. Click a rule from the list.
The rule opens and is ready to edit.
4. Make your changes.
5. Click Save.
 
You successfully edited a rule and saved the changes. If the rule is in use by the active layout, the changes take effect immediately.
 
How to apply a rule in an inactive layout
Applying a rule between established connections in an inactive layout causes the rule to take effect whenever the layout becomes active. Doing so changes how and what packets are forwarded to tool ports connected to the rule.
Prerequisite(s):  
These steps require that at least one rule (empty or otherwise) exists in the target layout.
 
Tip! A new, empty rule is created by connecting a network port to a tool port. This is a shortcut for creating new rules.
To apply a rule in an inactive layout:
1. Starting in the dashboard, click Ports.
The layout designer appears, where connections between network and tool ports can be created.
2. In the Layout list, select a layout.
3. Click the Actions list.
The Actions list is located near the top-right corner of the layout designer.
4. Click Edit.
5. Right-click a rule.
6. In the Apply Rule submenu, click Select and click a rule.
All of your created rules are in this submenu.
7. When you finish, close the Edit Layout browser window.
The layout automatically saves.
 
You successfully applied a rule in an inactive layout. When the layout is made active, your rule takes effect.
 
How to apply a rule in the active layout
Applying a rule between established connections in the active layout causes the rule to take effect immediately. Doing so changes how and what packets are forwarded to tool ports connected to the rule.
Prerequisite(s):  
These steps require that at least one rule (empty or otherwise) exists in the target layout.
 
Tip! A new, empty rule is created by connecting a network port to a tool port. This is a shortcut for creating new rules.
To apply a rule in an active layout:
1. Starting in the dashboard, click Ports.
The layout designer appears, where connections between network and tool ports can be created.
2. Right-click a rule.
3. In the Apply Rule submenu, click Select and click a rule.
All of your created rules are in this submenu.
 
You successfully applied a rule in an active layout. Your applied rule takes effect immediately.