Configuration Examples for IP-ACL
To define an IP-ACL that restricts management access using Device Manager, follow these steps:
- Choose Security > IP ACL.
You see the IP-ACL dialog box.
- Click Create to create an IP-ACL.
You see the Create IP ACL Profiles dialog box.
- Enter RestrictMgmt as the profile name and click Create.
This creates an empty IP-ACL named RestrictMgmt .
- Select RestrictMgmt and click Rules.
You see an empty list of IP filters associated with this IP-ACL.
- Click Create to create the first IP filter.
You see the Create IP Filter dialog box.
- Create an IP filter to allow management communications from a trusted subnet:
- Choose the permit Action and select 0 IP from the Protocol drop-down menu.
- Set the source IP address to 10.67.16.0 and the wildcard mask to 0.0.0.255.
Note The wildcard mask denotes a subset of the IP address you want to match against. This allows a range of addresses to match against this filter.
- Check the any check box for the destination address.
- Click Create to create this IP filter and add it to the RestrictMgmt IP-ACL.
Repeat Step a through Step d to create an IP filter that allows communications for all addresses in the 10.67.16.0/24 subnet.
- Create an IP filter to allow ICMP ping commands:
- Choose the permit Action and select 1-ICMP from the Protocol drop-down menu.
- Check the any check box for the source address.
- Check the any check box for the destination address.
- Select 8 echo from the ICMPType drop-down menu.
- Click Create to create this IP filter and add it to the RestrictMgmt IP-ACL.
Repeat Step a through Step e to create an IP filter that allows ICMP ping.
- Create a final IP Filter to block all other traffic:
- Choose the deny Action and select 0 IP from the Protocol drop-down menu.
- Check the any check box for the source address.
- Check the any check box for the destination address.
- Click Create to create this IP filter and add it to the RestrictMgmt IP-ACL.
- Click Close to close the Create IP Filter dialog box.
Repeat Step a through Step d to create an IP filter that blocks all other traffic.
- Apply the RestrictMgmt IP ACL to the mgmt0 interface:
- Click Security, select IP ACL, and then click the Interfaces tab in the IP ACL dialog box.
- Click Create.
You see the Create IP-ACL Interfaces dialog box.
- Select mgmt0 from the Interfaces drop-down menu.
- Select the inbound Profile Director.
- Select RestrictMgmt from the ProfileName drop-down menu.
- Click Create to apply the RestrictMgmt IP-ACL to the mgmt0 interface.
Repeat Step a through Step f to apply the new IP-ACL to the mgmt0 interface.
Copyright 2010-2013, Cisco Systems, Inc. All rights reserved.