mac
Commands for Self-defined ACL
432
be modified if the standard self-defined ACL rule is configured with this window. But if the
standard self-defined ACL rule is not configured, the window configuration can be
modified with this command.
The no command can delete one or more offset configuration of the window in the
template or delete the whole template. The window in the template can be deleted
successfully when it is not used by the self-defined ACL rule.
Example: Create a global template with 7 windows (3-9) to configure the start offset
position and the offset:
Switch(config)#userdefined-access-list standard offset window3 l2 0 window4 l2 2
window5 l3 0 window6 l3 1 window7 l3 2 window8 l4 1 window9 l4 2
37.2 userdefined-access-list extended offset
Command: userdefined-access-list extended offset [swindow1 {l2start |
l2endoftag | l3start | l4start} <sOffset>] [swindow2 {l2start | l2endoftag | l3start |
l4start} <sOffset>] [lwindow1 {l2endoftag | l3start | l4start} <lOffset>] [lwindow2
{l2endoftag | l3start | l4start} <lOffset>] [lwindow3 {l2endoftag | l3start | l4start}
<lOffset>] [lwindow4 {l2endoftag | l3start | l4start} <lOffset>] [lwindow5
{l2endoftag | l3start | l4start} <lOffset>] [lwindow6 {l2endoftag | l3start | l4start}
<lOffset>] [lwindow7 {l2endoftag | l3start | l4start} <lOffset>] [lwindow8
{l2endoftag | l3start | l4start} <lOffset>]
no userdefined-access-list extended offset [swindow1] [swindow2]
[lwindow1] [lwindow2] [lwindow3] [lwindow4] [lwindow5] [lwindow6] [lwindow7]
[lwindow8]
Function: Create an extended self-defined ACL template. If the template exists, the
corresponding swindow or lwindow of the template can be modified; the no command
deletes the swindow or lwindow of the extended self-defined ACL template. If the
swindow or lwindow is not specified, the extended self-defined ACL template will be
deleted.
Parameter:
swindow1-swindow2 self-defined short window 1 and 2
lwindow1-lwindow8 self-defined long window 1 to 8
l2start The start offset position is start of layer2
l2endoftag The start offset position is end of layer2 tag
l3start The start offset position is start of layer3 (It can be effective only
when the start of layer3 exists)
l4start The start offset position is start of layer4 (It can be effective only
when the start of layer4 exists)










