
access-list (extended)
20-72 Security Configuration
Defaults
If
insert,
replace
or
move
are
not
specified,
the
new
entry
will
be
appended
to
the
access
list.
If
source2
is
not
specified
with
move
,
only
one
entry
will
be
moved.
Mode
Global
configuration:
G3(su)
‐
>router(Config)#
Usage
Valid
access
list
numbers
for
standard
ACLs
are
1
to
99
.
For
extended
ACLs,
valid
values
are
100
to
199
.
Access
lists
are
applied
to
interfaces
by
using
the
ip
access
‐
group
command
(“
ip
access
‐
group
”
on
page 20
‐
74).
Examples
This
example
shows
how
to
create
access
list
1
with
three
entries
that
allow
access
to
only
those
hosts
on
the
three
specified
networks.
The
wildcard
bits
apply
to
the
host
portions
of
the
network
addresses.
Any
host
with
a
source
address
that
does
not
match
the
access
list
entries
will
be
rejected:
G3(su)->router(Config)#access-list 1 permit 192.5.34.0 0.0.0.255
G3(su)->router(Config)#access-list 1 permit 128.88.0.0 0.0.255.255
G3(su)->router(Config)#access-list 1 permit 36.0.0.0 0.255.255.255
This
example
moves
entry
16
to
the
beginning
of
ACL
22:
G3(su)->router(Config)#access-list 22 move 1 16
access-list (extended)
Use
this
command
to
define
an
extended
IP
access
list
by
number
when
operating
in
router
mode.
The
no
form
of
this
command
removes
the
defined
access
list
or
entry:
Syntax
To apply ACL restrictions to IP, UDP, ICMP or TCP packets:
access-list
access-list-number
{
deny
|
permit
}
protocol
source
[
source-wildcard
]
[
operator
[
port
]]
destination
[
destination-wildcard
]
no access-list
access-list-number
[
entry
]
move
destination
source1
source2
(Optional)
Moves
a
sequence
of
access
list
entries
before
another
entry.
Destination
is
the
number
of
the
existing
entry
before
which
this
new
entry
will
be
moved.
Source1
is
a
single
entry
number
or
the
first
entry
number
in
the
range
to
be
moved.
Source2
(optional)
is
the
last
entry
number
in
the
range
to
be
moved.
If
source2
is
not
specified,
only
the
source1
entry
will
be
moved.
Note:
ACLs are not supported on routed VLANs which incorporate LAG ports.
Summary of Contents for G3G170-24
Page 1: ...Enterasys G Series Ethernet Switch CLI Reference Firmware Version 1 00 xx P N 9034358 01...
Page 2: ......
Page 30: ...xxviii...
Page 100: ...set ssl 2 56 Basic Configuration...
Page 132: ...clear lldp port tx tlv 3 32 Discovery Protocol Configuration...
Page 272: ...show spantree nonforwardingreason 6 52 Spanning Tree Configuration...
Page 296: ...set garp timer 7 24 802 1Q VLAN Configuration...
Page 384: ...clear nodealias config 11 34 Logging and Network Management...
Page 438: ...Enabling Router Configuration Modes 14 4 Preparing for Router Mode...
Page 514: ...show ip pimsm staticrp 16 56 IPv4 Routing Protocol Configuration...
Page 524: ...traceroute ipv6 17 10 IPv6 Management...
Page 602: ...show ipv6 ospf virtual link 19 46 OSPFv3 Configuration...