ProCurve 6200yl User's Guide Page 374

  • Download
  • Add to my manuals
  • Print
  • Page
    / 596
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 373
10-88
Access Control Lists (ACLs)
Editing an Existing ACL
For example, to append a fourth ACE to the end of the ACL in figure 10-23:
Figure 10-25. Example of Appending an ACE to an Existing List
Note When using the access-list < 1 - 99 | 100 - 199 > < permit | deny > < SA > command
to create an ACE for a numbered ACL, the ACE is always added to the end of
the current list and given the appropriate sequence number. However, once a
numbered list has been created, you can use the ip access-list command to
open it as a named ACL and specify a nondefault sequence number, as
described in the next section.
Inserting an ACE in an Existing ACL
This action uses a sequence number to specify where to insert a new ACE into
an existing sequence of ACLs.
To insert a new ACE between existing ACEs in a list:
1. 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.
P
roCurve(config)# ip access-list standard My-List
ProCurve(config-std-nacl)# permit any
ProCurve(config-std-nacl)# show run
.
.
.
ip access-list standard "My-List"
10 permit 10.10.10.25 0.0.0.0
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
Syntax: ip access-list < standard | extended > < name-str | 1 - 99 | 100 - 199 >
<1-2147483647> < permit | deny > < standard-acl-ip-criteria > [ log ]
<1-2147483647> < permit | deny > < extended-acl-ip-criteria > [ options ]
The first command enters the “Named-ACL” context for the
specified ACL. The remaining two commands insert a new
ACE in a standard or extended ACL, respectively. (For details
on these criteria and options, refer to table 10-1, “Command
Summary for Standard ACLs” —page 10-6, and table 10-2,
“Command Summary for Extended ACLs” —page 10-8.)
Page view 373
1 2 ... 369 370 371 372 373 374 375 376 377 378 379 ... 595 596

Comments to this Manuals

No comments