IPv4 Access Control Lists (ACLs)
Editing an Existing ACL
Deleting an ACE from an Existing ACL
This action uses ACL sequence numbers to delete ACEs from an ACL.
Syntax:
ip access-list < standard | extended > <
name-str
| 1 - 99 | 100 - 199 >
no <
seq-#
>
The first command enters the “Named-ACL” context for the
specified ACL. The
no
command deletes the ACE corresponding
to the sequence number entered. (Range: 1 - 2147483647 )
1. To find the sequence number of the ACE you want to delete, use
show run
or
show access-list <
name-str
| 1 - 99 | 100-199 >
to view the ACL.
2. Use
ip access-list
to enter the “Named-ACL” (
nacl
) context of the ACE.
This applies regardless of whether the ACE was originally created as a
numbered ACL or a named ACL
.
3. In the “Named-ACL” context, type
no
and enter the sequence number of
the ACE you want to delete.
Figure 9-21 illustrates the process for deleting an ACE from a list:
ProCurve(config)# show run
. . .
ip access-list standard "My-List"
10 permit 10.10.10.25 0.0.0.0
15 deny 10.10.10.1 0.0.0.255
20 permit 10.20.10.117 0.0.0.0
30 deny 10.20.10.1 0.0.0.255
40 permit 0.0.0.0 255.255.255.255
exit
ProCurve(config)# ip access-list standard My-List
ProCurve(config-std-nacl)# no 20
ProCurve(config-std-nacl)# show run
. . .
ip access-list standard "My-List"
10 permit 10.10.10.25 0.0.0.0
15 deny 10.10.10.1 0.0.0.255
30 deny 10.20.10.1 0.0.0.255
40 permit 0.0.0.0 255.255.255.255
exit
ACL Before Deleting an ACE
This command enters the
“Named-ACL” (nacl)
context for “My-List”.
This command deletes the
ACE at line 20.
The ACE at line 20 has been
removed.
ACL After Deleting the ACE at Line 20
Figure 9-21. Example of Deleting an ACE from Any ACL
9-79
Содержание PROCURVE 2910AL
Страница 1: ...Access Security Guide ProCurve Switches W 14 03 2910al www procurve com ...
Страница 2: ......
Страница 3: ...HP ProCurve 2910al Switch February 2009 W 14 03 Access Security Guide ...
Страница 84: ...Configuring Username and Password Security Front Panel Security 2 36 ...
Страница 156: ...TACACS Authentication Operating Notes 4 30 ...
Страница 288: ...Configuring Secure Socket Layer SSL Common Errors in SSL setup 8 22 ...
Страница 416: ...Configuring Advanced Threat Protection Using the Instrumentation Monitor 10 28 ...
Страница 516: ...Configuring Port Based and User Based Access Control 802 1X Messages Related to 802 1X Operation 12 76 ...
Страница 527: ...Configuring and Monitoring Port Security Port Security Figure 13 4 Examples of Show Mac Address Outputs 13 11 ...
Страница 572: ...Using Authorized IP Managers Operating Notes 14 14 ...
Страница 592: ...12 Index ...
Страница 593: ......
Страница 594: ... Copyright 2009 Hewlett Packard Development Company L P February 2009 Manual Part Number 5992 5439 ...