2. After you copy the above .txt file to a TFTP server the switch can access,
Figure 9-28. Example of Using "copy tftp command-file" To Configure an ACL in the Switch
Note
If a transport error occurs, the switch does not execute the command and the
ACL is not configured.
3. Next, assign the new ACL to the intended interface which, in this example,
4. Inspect the effect of the ACL on the switch's resources.
ProCurve(config)# show access-list resources
Policy Engine Resource Usage
Group
------------------------+------------+------------+------------+
QoS
CLI-ACL
IDM-ACL
Free
Figure 9-29. Inspection of Resource Usage After Assigning an ACL
5. Inspect the new running configuration:
you would then execute the following command to download the file to
the switch's startup-config file:
is for port 2.
ProCurve(config)# interface 2 ip access-group 160 in
Rules
Allocated
|
0 |
|
19 |
|
128 |
|
109 |
ProCurve(config)# show running
IPv4 Access Control Lists (ACLs)
Editing ACLs and Creating an ACL Offline
Rules
Group
Used
Number
0 |
1 |
19 |
2 |
0 |
3 |
9-67