Netgear GSM7328Sv2 - ProSAFE 24+4 Gigabit Ethernet L3 Managed Stackable Switch 管理员指南

下载
页码 486
148
   
|    
Chapter 10.  ACLs 
 
ProSafe 7000 Managed Switch Release 8.0.3 
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
3. 
Bind the ACL with interface 1/0/1.
(Netgear Switch) (Interface 1/0/1)#ip access-group monitorHost in 1
 
4. 
View the configuration.
(Netgear Switch) # show ip access-lists
Current number of ACLs: 1  Maximum number of ACLs: 100
ACL ID/Name          Rules  Direction      Interface(s)        VLAN(s)
-------------------  -----  ----------    ------------------   ---------------
monitorHost           2      inbound       1/0/1
(Netgear Switch)  #show ip access-lists monitorHost
   ACL Name: monitorHost
   Inbound Interface(s): 1/0/1
   Rule Number: 1
   Action......................................... permit
   Match All...................................... FALSE
   Protocol....................................... 255(ip)
   Source IP Address.............................. 10.0.0.1
   Source IP Mask................................. 0.0.0.0
   Mirror Interface............................... 1/0/19
   Rule Number: 2
   Action......................................... permit
   Match All...................................... TRUE
Web Interface: Configure ACL Mirroring
1. 
Create an IP access control list with the name monitorHost on the switch.