Netgear GSM7224v2 - 24-Port Layer 2 Managed Gigabit Switch User Manual

Page of 628
  Appendix B.  Configuration Examples
 
   
|
     
611
ProSafe® Gigabit L3 Managed Stackable Switches Software Administration Manual 
The access list definition includes rules that specify whether traffic matching the criteria is 
forwarded normally or discarded. Additionally, you can assign traffic that matches the 
criteria to a particular queue or redirect the traffic to a particular port. A default deny all 
rule is the last rule of every list. 
2. 
Apply the access list to an interface in the inbound direction. 
ProSafe® Managed Switches allow ACLs to be bound to physical ports and LAGs. The 
switch software supports MAC ACLs and IP ACLs. 
MAC ACL Example Configuration
The following example shows how to create a MAC-based ACL that permits Ethernet traffic 
from the Sales department on specified ports and denies all other traffic on those ports. 
1. 
From the MAC ACL screen, create an ACL with the name Sales_ACL for the Sales 
department of your network (See 
).
By default, this ACL will be bound on the inbound direction, which means the switch will 
examine traffic as it enters the port.
2. 
From the MAC Rules screen, create a rule for the Sales_ACL with the following settings: 
•     
ID: 1
•     
Action: Permit
•     
Assign Queue ID: 0
•     
Match Every: False
•     
CoS: 0 
•     
Destination MAC: 01:02:1A:BC:DE:EF
•     
Destination MAC Mask: 00:00:00:00:FF:FF
•     
EtherType User Value: ????????
•     
Source MAC: 02:02:1A:BC:DE:EF
•     
Source MAC Mask: 00:00:00:00:FF:FF
•     
VLAN ID: 2
.
3. 
From the MAC Binding Configuration screen, assign the Sales_ACL to the interface gigabit 
ports 6, 7, and 8, and then click Apply (See 
).
You can assign an optional sequence number to indicate the order of this access list 
relative to other access lists if any are already assigned to this interface and direction.
4. 
The MAC Binding Table displays the interface and MAC ACL binding information (See 
).
The ACL named Sales_ACL looks for Ethernet frames with destination and source MAC 
addresses and MAC masks defined in the rule. Also, the frame must be tagged with VLAN ID 
2, which is the Sales department VLAN. The CoS value of the frame must be 0, which is the 
default value for Ethernet frames. Frames that match this criteria are permitted on interfaces