Intel SBCEGBESW10 CLI Switch User Manual


 
ACL Commands
Intel® Blade Server Ethernet Switch Modules SBCEGBESW1 and SBCEGBESW10 CLI Guide 47
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.
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.
Console(config)#
mac access-list
macl-acl1
Console(config-mac-al)#