Show ip access-list, Ip access-group – LevelOne FGL-2870 User Manual

Page 570

Advertising
background image

Command Line Interface

4-204

4

Related Commands

access-list ip (4-200)

show ip access-list

This command displays the rules for configured IPv4 ACLs.

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, no spaces)

Command Mode

Privileged Exec

Example

Related Commands

permit, deny 4-201
ip access-group (4-204)

ip access-group

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

Syntax

[no] ip access-group acl-name in

acl-name – Name of the ACL. (Maximum length: 16 characters, no spaces)
in – Indicates that this list applies to ingress packets.

Default Setting

None

Command Mode

Interface Configuration (Ethernet)

Command Usage

• A port can only be bound to one ACL.
• If a port is already bound to an ACL and you bind it to a different ACL, the

switch will replace the old binding with the new one.

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

Advertising