10-50
IPv4 Access Control Lists (ACLs)
Configuring Standard ACLs
Configuring Standard ACLs
Command Summary for Standard ACLs
Action
Command(s)
Page
Create a Standard,
Named
ACL
or
Add an ACE to the End
of an Existing Stan-
dard,
Named
ACL
HP Switch(config)# ip access-list standard <
name-str >
HP Switch(config-std-nacl)# < deny | permit >
< any | host <
SA
> |
SA
/< mask-length > |
SA
<
mask
>>
1
[log]
2
Create a Standard,
Numbered
ACL
or
Add an ACE to the End
of an Existing
Standard,
Numbered
ACL
HP Switch(config)# access-list < 1-99 > < deny | permit >
< any | host <
SA
> |
SA
/< mask-length > |
SA
<
mask
>>
[log]
2
Use a Sequence
Number To Insert an
ACE in an ACL
HP Switch(config)# ip access-list standard <
name-str
| 1-99 >
HP Switch(config-std-nacl)# 1-2147483647 < deny | permit >
< any | host <
SA
> |
SA
/< mask-length > |
SA
<
mask
>>
1
[log]
2
Use an ACE’s
Sequence Number To
Delete the ACE from
an ACL
HP Switch(config)# ip access-list standard <
name-str
| 1-99 >
HP Switch(config-std-nacl)# no < 1-2147483647 >
Resequence the ACEs
in an ACL
HP Switch(config)# ip access-list resequence <
name-str
| 1-99 > < 1-2147483647 >
< 1-2147483646 >
Enter or Remove a
Remark from an ACL
HP Switch(config)# ip access-list standard <
name-str
| 1-99 >
HP Switch(config-ext-nacl)# [ remark <
remark-str
> | no < 1-2147483647 > remark ]
For numbered, standard ACLs only, the following
remark
commands can be
substituted for the above:
HP Switch(config)# access-list < 1 - 99 > remark < remark-str >
HP Switch(config)# [no] access-list < 1 - 99 > remark
Delete an ACL
HP Switch(config)# no ip access-list standard <
name-str
| 1-99 >
For numbered, standard ACLs, the following command can be substituted for the
above:
HP Switch(config)# access-list < 1 - 99 > remark < remark-str >
1
The mask can be in either dotted-decimal notation (such as 0.0.15.255) or CIDR notation (such as /20).
2
The [ log ] function applies only to “deny” ACLs, and generates a message only when there is a “deny” match.
Summary of Contents for E3800 Series
Page 2: ......
Page 3: ...HP Networking E3800 Switches Access Security Guide September 2011 KA 15 03 ...
Page 30: ...xxviii ...
Page 86: ...2 36 Configuring Username and Password Security Password Recovery ...
Page 186: ...4 72 Web and MAC Authentication Client Status ...
Page 364: ...8 32 Configuring Secure Shell SSH Messages Related to SSH Operation ...
Page 510: ...10 130 IPv4 Access Control Lists ACLs General ACL Operating Notes ...
Page 548: ...11 38 Configuring Advanced Threat Protection Using the Instrumentation Monitor ...
Page 572: ...12 24 Traffic Security Filters and Monitors Configuring Traffic Security Filters ...
Page 730: ...20 Index ...
Page 731: ......