Net Optics Director User Manual
Page 41

Director
37
Enter
1.
filter running to view the currently active filters in the CAM.
Net Optics> filter running
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=0017
l4_src_port=0000,l4_dst_port=0000,vlan=0000,action=drop
in_ports=
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=n1.1
redir_ports=m.1
IPv4 filter resource utilization: 2%
Net Optics>
Filter running command
Figure 40:
Enter
2.
filter sync. The contents of the CAM are copied to the pending filter list.
Pending filter list
Address
Filter
1
n1.1 ip_proto=UDP action=drop
2
n1.1 m.1
CAM
Address
Filter
1
n1.1 ip_proto=UDP action=drop
2
n1.1 m.1
After filter sync
Figure 41:
Use
3.
filter add, filter ins, and filter del commands to change filters as desired.
Pending filter list
Address
Filter
1
n1.1 ip_proto=TCP action=drop
2
n1.1 m.1
3
n1.2 m.2
CAM
Address
Filter
1
n1.1 ip_proto=UDP action=drop
2
n1.1 m.1
Filter 1 has been changed and filter 3 has been added
Figure 42: