10-6
IPv4 Access Control Lists (ACLs)
Overview of Options for Applying IPv4 ACLs on the Switch
Command Summary for IPv4 Extended ACLs
Action
Command(s)
Page
Create an Extended,
Named
ACL
or
Add an ACE to the End
of an Existing,
Extended ACL
HP Switch(config)# ip access-list extended <
name-str
| 100-199 >
HP Switch(config-std-nacl)# < deny | permit >
< ip |
ip-protocol
|
ip-protocol-nbr
>
< any | host <
SA
> |
SA
/< mask-length > |
SA
<
mask
>>
1
< any | host <
DA
> |
DA
/< mask-length > |
DA
<
mask
>>
1
< tcp | udp >
< any | host <
SA
> |
SA
/< mask-length > |
SA
<
mask
>>
1
[
comparison
-
operator
<
value
>]
< any | host <
DA
> |
DA
/< mask-length > |
DA
<
mask
>>
1
[
comparison
-
operator
<
value
>]
[established]
[ack] [fin] [rst] [syn]
2
< igmp >
< any | host <
SA
> |
SA
/< mask-length > |
SA
<
mask
>>
1
< any | host <
DA
> |
DA
/< mask-length > |
DA
<
mask
>>
1
[
igmp-packet-type
]
< icmp >
< any | host <
SA
> |
SA
/< mask-length > |
SA
<
mask
>>
1
< any | host <
DA
> |
DA
/< mask-length > |
DA
<
mask
>>
1
[ [< 0 - 255 > [ 0 - 255 ] ] |
icmp-message
]
[precedence <
priority
>]
[tos <
tos- setting
>]
[log]
2
Create an Extended,
Numbered
ACL
or
Add an ACE to the End
of an Existing,
Numbered
ACL
HP Switch(config)# access-list < 100-199 > < deny | permit >
<
ip-options
|
tcp/udp-options
|
igmp-options
|
icmp-options
>
[precedence <
priority
>]
[tos <
tos- setting
>]
[log]
2
Note:
Uses the same IP, TCP/UDP, IGMP, and ICMP options as shown above for
“Create an Extended, Named ACL”.
Insert an ACE by
Assigning a Sequence
Number
HP Switch(config)# ip access-list extended <
name-str
| 100-199 >
HP Switch(config-ext-nacl)#
1-2147483647 < deny | permit >
Uses the options shown above for “Create an Extended, Named ACL”.
Delete an ACE by
Specifying Its
Sequence Number
HP Switch(config)# ip access-list extended <
name-str
| 100-199 >
HP Switch(config-std-nacl)# no < 1-2147483647 >
Resequence the ACEs
in an ACL
HP Switch(config)# ip access-list resequence <
name-str
| 100-199 >
< 1-2147483647 > < 1-2147483646 >
1
The mask can be in either dotted-decimal notation (such as 0.0.15.255) or CIDR notation (such as /20).
2
TCP flag (control bit) options for destination TCP.
3
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: ......