Director
Copy Traffic From Any Network Port to Any Monitor Port
Director can be used like a Matrix Switch to direct traffic from any Network port to any Monitor port. To create a simple switch connection, use a filter add command without specifying any filters.
The filter add command creates pending filters (including switch settings); they are not activated until a filter commit command is executed. Any number of filter add commands may be issued prior to executing the filter commit command. Other CLI commands may be executed between the filter add commands as well.
Note:__________________________________________________________________________________________________
The filter commit command is similar to the commit command. However, filter commit activates the new filter in a dynamic fashion; when Director is reset, the default filters are restored and the new filter is lost. When a commit command is executed, the new filter is activated AND it is stored as the new default configuration, so it survives a Director reset.
________________________________________________________________________________________________________
To monitor Network Port 1 on Monitor Port 2, and Network Port 3 on Monitor Port 1:
1.Enter filter add in_ports=n1.1 action=redir redir_ports=m.2. The switch connection is pending.
2.Enter filter add in_ports=n1.3 action=redir redir_ports=m.1. The switch connection is pending.
3.Enter filter commit. The switch connection is activated.
Network Port 1 Monitor Port 2
Network Port 3 Monitor Port 1
lter add in_ports=n1.1 action=redir redir_ports=m.2 lter add in_ports=n1.3 action=redir redir_ports=m.1
Figure 22: Matrix switch connections
Aggregate Traffic From Any Set of Network Ports to Any Monitor Port
Director can be used like a Port Aggregator or a Link Aggregator, copying traffic from multiple Network ports to any Monitor port. The filter 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 specified.
To copy aggregated traffic from Network Port 1 and Network Port 2 to Monitor Port 3:
1.Enter filter add in_ports=n1.1,n1.2 action=redir redir_ports=m.3. The aggregation connection is pending.
2.Enter filter 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
26