ACL Commands

Syntax

mac access-list name

no mac access-list name

Parameters

name — Specifies the name of the ACL. (Range: 0-32 characters)

Default Configuration

The default for all ACLs is deny all.

Command Mode

Global Configuration mode

User Guidelines

There are no user guidelines for this command.

Example

The following example shows how to create a MAC ACL.

Console(config)# mac access-listmacl-acl1

Console(config-mac-al)#

permit (MAC)

The permit MAC-Access List Configuration mode command defines permit conditions of an MAC ACL.

Syntax

permit {any {host source source-wildcard}any {destination destination-wildcard}} [vlan vlan-id] [cos cos cos-wildcard] [ethtype eth-type]

Parameters

source — Specifies the source MAC address of the packet.

source-wildcard— Specifies wildcard bits to be applied to the source MAC address. Use 1s in bit positions to be ignored.

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

47

Page 63
Image 63
Intel SBCEGBESW10 CLI manual Permit MAC, Mac access-list name No mac access-list name, Default for all ACLs is deny all