
ip access-group
20-74 Security Configuration
Mode
Global
configuration:
G3(su)
‐
>router(Config)#
Usage
Access
lists
are
applied
to
interfaces
by
using
the
ip
access
‐
group
command
as
described
in
“
ip
access
‐
group
”
on
page 20
‐
74.
Valid
access
‐
list
‐
numbers
for
extended
ACLs
are
100
to
199
.
For
standard
ACLs,
valid
values
are
1
to
99
.
Example
This
example
shows
how
to
define
access
list
101
to
deny
ICMP
transmissions
from
any
source
and
for
any
destination:
G3(su)->router(Config)#access-list 101 deny ICMP any any
ip access-group
Use
this
command
to
apply
access
restrictions
to
inbound
frames
on
an
interface
when
operating
in
router
mode.
The
no
form
of
this
command
removes
the
specified
access
list.
Syntax
ip access-group
access-list-number
in
no ip access-group
access-list-number
in
Parameters
Defaults
None.
Mode
Interface
configuration:
G3(su)
‐
>router(Config
‐
if(Vlan
<vlan_id>))#
Usage
ACLs
must
be
applied
per
routing
interface.
An
entry
(rule)
can
be
applied
to
inbound
frames
only.
Example
This
example
shows
how
to
apply
access
list
1
for
all
inbound
frames
on
the
VLAN
1
interface.
Through
the
definition
of
access
list
1,
only
frames
with
a
source
address
on
the
192.5.34.0/24
network
will
be
routed.
All
the
frames
with
other
source
addresses
received
on
the
VLAN
1
interface
are
dropped:
G3(su)->router(Config)#access-list 1 permit 192.5.34.0 0.0.0.255
G3(su)->router(Config)#interface vlan 1
G3(su)->router(Config-if(Vlan 1))#ip access-group 1 in
access
‐
list
‐
number
Specifies
the
number
of
the
access
list
to
be
applied
to
the
access
list.
This
is
a
decimal
number
from
1
to
199
.
in
Filters
inbound
frames.
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...