Ip access-group, Ip access-group -119 – SMC Networks SMC Tiger 10/100 SMC6128L2 User Manual

Page 419

Advertising
background image

A

CCESS

C

ONTROL

L

IST

C

OMMANDS

4-119

Syntax

show ip access-list {standard | extended} [acl_name]

standard – Specifies a standard IP ACL.
extended – Specifies an extended IP ACL.
acl_name – Name of the ACL. (Maximum length: 16 characters)

Command Mode

Privileged Exec

Example

Related Commands

permit, deny 4-116
ip access-group (4-119)

ip access-group

This command binds a port to an IP ACL. Use the no form to remove the
port.

Syntax

[no] ip access-group acl_name {in | out}

acl_name – Name of the ACL. (Maximum length: 16 characters)
in – Indicates that this list applies to ingress packets.
out – Indicates that this list applies to egress packets.

Default Setting

None

Command Mode

Interface Configuration (Ethernet)

Command Usage

• A port can only be bound to one ACL.

Console#show ip access-list standard
IP standard access-list david:
permit host 10.1.1.21
permit 168.92.0.0 0.0.15.255
Console#

Advertising