> # Creating IPv4-ACLs or IPv6-ACLs with the IP-ACL Wizard

> Traffic coming into the switch is compared to IPv4-ACL or IPv6-ACL filters based on the order that the filters occur in the switch. New filters are added to the end of the IPv4-ACL or the IPv6-ACL. The switch keeps looking until it has a match. If no matches are found when the switch reaches the end of the filter, the traffic is denied. For this reason, you should have the frequently hit filters at the top of the filter. There is an implied deny for traffic that is not permitted. A single-entry IPv4-ACL or IPv6-ACL with only one deny entry has the effect of denying all traffic.

> ## Detailed Steps

> To configure an IPv4-ACL or an IPv6-ACL, follow these steps:

> 1. Create an IPv4-ACL or an IPv6-ACL by specifying a filter name and one or more access condition(s). Filters require the source and destination address to match a condition. Use optional keywords to configure finer granularity.

> Note The filter entries are executed in sequential order. You can only add the entries to the end of the list. Take care to add the entries in the correct order.

> 2. Apply the access filter to specified interfaces.

> To create an ordered list of IP filters in a named IPv4-ACL or IPv6-ACL profile using the IPv4-ACL Wizard, follow these steps:

> ## Detailed Steps

> 1. Click the IP ACL Wizard icon from the DCNM-SAN toolbar.

> You see the IP ACL Wizard.

> 2. Enter a name for the IP-ACL.

> Note If you are creating an IPv6-ACL, check the IPv6 check box.

> 3. Click Add to add a new rule to this IP-ACL. You see a new rule in the table with default values.
> 4. Modify the Source IP and Source Mask as necessary for your filter.

> Note The IP-ACL Wizard only creates inbound IP filters.

> 5. Choose the appropriate filter type from the Application drop-down list.
> 6. Choose permit or deny from the Action drop-down list.
> 7. Repeat Step 3 through Step 6 for additional IP filters.
> 8. Click Up or Down to order the filters in this IP-ACL.

> Tip Order the IP filters carefully. Traffic is compared to the IP filters in order. The first match is applied and the rest are ignored.

> 9. Click Next.

> You see a list of switches that you can apply this IP-ACL.

> 10. Uncheck any switches that you do not want to apply this IP-ACL.
> 11. Select the Interface you want to apply this IP-ACL.
> 12. Click Finish to create this IP-ACL and apply it to the selected switches.

> Copyright 2010-2015, Cisco Systems, Inc. All rights reserved.