Chapter 10. ACLs | 173
ProSafe M4100 and M7100 Managed Switches
desired traffic with the option mirror to an interface. Any traffic matching this rule will be
copied to the specified mirrored interface.
GSM73xxS
Probing station
10.0.0.2
1/0/19
Packets from
10.0.0.1 workstation
Packets from
10.0.0.2 workstation
L2 switch
1/0/1
Other
network
workstation
10.0.0.1
workstation
Figure 19. ACL mirroring
CLI: Configure ACL Mirroring
The script in this section shows how to mirror the traffic stream received from a host in an
interface. These examples mirror the traffic from the host 10.0.0.1 connected to the interface
1/0/1.
1. Create an IP access control list with the name monitorHost.
(Netgear Switch) (Config)# ip access-list monitorHost
2. Define the rules to match host 10.0.0.1 and to permit all others.
(Netgear Switch) (Config-ipv4-acl)# permit ip 10.0.0.1 0.0.0.0 any mirror 1/0/19
(Netgear Switch) (Config-ipv4-acl)# permit every