Net Optics none Network Router User Manual


 
26
*** Condential - DO NOT Distribute ***
Director
When you dene a lter, you specify and action to be taken when the lter conditions are met. The action can be either
drop or redir (meaning redirect). If the action is drop, then packets which meet the lter criteria are dropped, that is,
they are not copied to any Monitor port. If the action is redir, then packets which meet the lter criteria are copied to
all Monitor ports listed in the redir_ports=<portlist> parameter.
Copy Trafc From Any Network Port to Any Monitor Port
Director can be used like a Matrix Switch to direct trafc from any Network port to any Monitor port. To create a
simple switch connection, use a lteraddcommand without specifying any lters.
The lter add command creates pending lters (including switch settings); they are not activated until altercommit
command is executed. Any number of lteraddcommands may be issued prior to executing the ltercommitcommand.
Other CLI commands may be executed between the lter add commands as well.
To monitor Network Port 1 on Monitor Port 2, and Network Port 3 on Monitor Port 1:
Enter 1. lteraddin_ports=n1.1action=redirredir_ports=m.2. The switch connection is pending.
Enter 2. lteraddin_ports=n1.3action=redirredir_ports=m.1. The switch connection is pending.
Enter 3. ltercommit. The switch connection is activated.
Monitor Port 2Network Port 1
Monitor Port 1Network Port 3
lter add in_ports=n1.1 action=redir redir_ports=m.2
lter add in_ports=n1.3 action=redir redir_ports=m.1
Matrix switch connectionsFigure 22:
Aggregate Trafc From Any Set of Network Ports to Any Monitor Port
Director can be used like a Port Aggregator or a Link Aggregator, copying trafc from multiple Network ports to any
Monitor port. The lteraddcommand is again used to do this. The only difference from using the command to connect
a single Network port to a single Monitor port is that a list of Network ports is specied.
TocopyaggregatedtrafcfromNetworkPort1andNetworkPort2toMonitorPort3:
Enter 1. lteraddin_ports=n1.1,n1.2action=redirredir_ports=m.3. The aggregation connection is pending.
Enter 2. ltercommit. The aggregation connection activated.
Note that in this example, Network Port 1 and Network Port 2 may be Span ports, or they can be a paired in-line
network link. The Network port list in the lteraddcommand always applies to the trafc received at the port, not the
trafc transmitted out the port. Therefore, if Network Port 1 and Network Port 2 are an in-line link, then Director has
been congured to act as a Port Aggregator, combining the trafc from both directions on the in-line link and copying it
to the Monitor port.