10-7
IPv4 Access Control Lists (ACLs)
Overview of Options for Applying IPv4 ACLs on the Switch
Command Summary for Enabling, Disabling, and
Displaying ACLs
Enter or Remove a
Remark
HP Switch(config)# ip access-list extended < name-str | 100-199 >
HP Switch(config-ext-nacl)# [ remark < remark-str > | no remark ]
For numbered, extended ACLs only, the following remark commands can be
substituted for the above:
HP Switch(config)# access-list < 100 - 199 > remark < remark-str >
HP Switch(config)# [no] access-list < 100 - 199 > remark
10-92
10-95
Delete an Extended
ACL
HP Switch(config)# no ip access-list extended < name-str | 100-199 >
For numbered, extended ACLs only, the following command can also be used:
HP Switch(config)# no access-list < 100 - 199 >
10-85
Action Command(s) Page
Enable or Disable an
RACL
HP Switch(config)# [no] vlan < vid > ip access-group < identifier > < in | out > 10-81
Enable or Disable a
VACL
HP Switch(config)# [no] vlan < vid > ip access-group < identifier > < vlan >
Enable or Disable a
Static Port ACL
HP Switch((config)# [no] interface < port-list | Trkx > access-group < identifier > in
HP Switch((eth-< port-list >| Trkx >)# [no] ip access-group < identifier > in
Displaying ACL Data HP Switch((config)# show access-list
HP Switch((config)# show access-list < acl-identifier > [config]
HP Switch((config)# show access-list config
HP Switch((config)# show access-list ports < port-list | trkx >
HP Switch((config)# show access-list vlan < vid >
HP Switch((config)# show access-list radius
10-97
Displaying or Clearing
ACL Statistics
HP Switch(# < show | clear > statistics aclv4 < acl-name-str > port < port # >
HP Switch(# < show | clear > statistics aclv4 < acl-name-str > vlan < vid >
< in | out | vlan >
10-118