ACL Commands

service-acl

The service-aclInterface Configuration mode command applies an ACL to the input interface. To detach an ACL from an input interface, use the no form of this command.

Syntax

service-acl {input acl-name}

no service-acl {input}

Parameters

acl-name—Specifies the ACL to be applied to the input interface.

Default Configuration

This command has no default configuration.

Command Mode

Interface (Ethernet, port-channel) Configuration mode.

User Guidelines

In advanced mode, when an ACL is bound to an interface, the port trust mode is set to trust 12-13 and not to 12.

Example

The following example binds (services) an ACL to VLAN 2.

Console(config)# interface vlan 2

Console(config-if)# service-acl input macl1

show access-lists

The show access-listsPrivileged EXEC mode command displays access control lists (ACLs) defined on the device.

Syntax

show access-lists [name]

50

Intel® Blade Server Ethernet Switch Modules SBCEGBESW1 and SBCEGBESW10 CLI Guide

Page 66
Image 66
Intel SBCEGBESW10 CLI manual Service-acl input acl-name No service-acl input, Show access-lists name