Example #1: Create Acl 179 And Define An Acl Rule; Example #2: Define The Second Rule For Acl 179; Example #3: Apply The Rule To Inbound Traffic On Port 0/2; Mac Acl Cli Examples - D-Link DWS-3000 Series Configuration Manual

Unified wired & wireless access system
Hide thumbs Also See for DWS-3000 Series:
Table of Contents

Advertisement

Configuration Guide

Example #1: Create ACL 179 and Define an ACL Rule

After the mask has been applied, it permits packets carrying TCP traffic that matches the
specified Source IP address, and sends these packets to the specified Destination IP address.
config
access-list 179 permit tcp 192.168.77.0 0.0.0.255 192.168.77.3 0.0.0.0

Example #2: Define the Second Rule for ACL 179

Define the rule to set similar conditions for UDP traffic as for TCP traffic.
access-list 179 permit udp 192.168.77.0 0.0.0.255 192.168.77.3 0.0.0.255
exit

Example #3: Apply the rule to Inbound Traffic on Port 0/2

Only traffic matching the criteria will be accepted.
interface 0/2
ip access-group 179 in
exit

MAC ACL CLI Examples

The following are examples of the commands used for the MAC ACLs feature.

Example #4: Set up a MAC Access List

(DWS-3024)(Config)#mac access-list ?
extended
DWS-3024)(Config)#mac access-list extended ?
<name>
rename
(DWS-3024)(Config)#mac access-list extended mac1 ?
<cr>
(DWS-3024) (Config)#mac access-list extended mac1
94
© 2001- 2011 D-Link Corporation. All Rights Reserved.
Configure extended MAC Access List parameters.
Enter access-list name up to 31 characters
in length.
Rename MAC Access Control List.
Press Enter to execute the command.

Advertisement

Table of Contents
loading

Table of Contents