Director
Network Port 5
Protocol =
TCP
+ Monitor Port 1
Protocol =
UDP
lter add in_ports=n1.5 ip_proto=6 action=redir redir_ports=m.1 lter add in_ports=n1.5 ip_proto=17 action=redir redir_ports=m.1
Figure 29: Logical OR filter connection
View filters
To view a list of all pending filters, enter filter list. To view the active filters, enter filter running.
Net Optics> filter list
Filter #1
src_mac=00:00:00:00:00:00 dst_mac=00:00:00:00:00:00 src_ip=0.0.0.0/255.255.255.255,dst_ip=0.0.0.0/255.255.255.255,ip_proto=0000 l4_src_port=0000,l4_dst_port=0000,vlan=0000,action=redir
in_ports=t1.01 redir_ports=t1.02
Filter #2
src_mac=00:00:00:00:00:00 dst_mac=00:00:00:00:00:00 src_ip=0.0.0.0/255.255.255.255,dst_ip=0.0.0.0/255.255.255.255,ip_proto=0000 l4_src_port=0000,l4_dst_port=0000,vlan=0000,action=redir
in_ports=t1.02 redir_ports=t1.01
Filter #3
src_mac=00:00:00:00:00:00 dst_mac=00:00:00:00:00:00 src_ip=0.0.0.0/255.255.255.255,dst_ip=0.0.0.0/255.255.255.255,ip_proto=0000 l4_src_port=0000,l4_dst_port=0000,vlan=0000,action=redir in_ports=n1.01,n1.02,n1.03,n1.04
redir_ports=m.01,m.10
IPv4 filter resource utilization: 2%
Net Optics>
Figure 30: Filter list command
Tip!____________________________________________________________________________________________________
The ID number (Filter #) shown above each filter in the filter list is the ID that applies for filter del id=<id> and filter ins id=<id> commands, because all three commands act on the pending filter list. Do not use the IDs in a filter running list as the reference for filter del or filter ins commands.
________________________________________________________________________________________________________
30