Netgear M4300-52G (GSM4352S) - Stackable Managed Switch with 48x1G and 4x10G including 2x10GBASE-T and 2xSFP+ Layer 3 管理员指南
![Netgear](https://files.manualsbrain.com/attachments/cf1ad5de25a3f8d6c88ef0ab489c1b137eebe11f/common/fit/150/50/17742d1e0cdacf24edeb88c30757620088415c5f7699f69b4517262e21e0/brand_logo.jpeg)
ACLs
199
Managed Switches
Figure 22. 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.
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.
2.
Define the rules to match host 10.0.0.1 and to permit all others.
(Netgear Switch) (Config)# ip access-list monitorHost
(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
Switch
Probing station
10.0.0.2
1/0/19
Packets from
10.0.0.1 workstation
10.0.0.1 workstation
Packets from
10.0.0.2 workstation
10.0.0.2 workstation
L2 switch
1/0/1
Other
network
workstation
10.0.0.1
workstation