aclMacFilter

Create or modify a ACL MAC filter for use in an acl.

Usage

localhost(config)#aclipv6filter <filterName>
localhost(config-aclipv6filter)#

Settings

Name Description
DestMac Destination MAC address.
destMask Destination Address Mask.
sourceMac Source MAC address.
sourceMask Source Address Mask.

Available Commands

Command Purpose
aclmacfilter sourceMac <string> Specify the source MAC address.
aclmacfilter DestMac <string> Specify the destination MAC address.
aclmacfilter destMask <string> Specify the destination mask.
aclmacfilter sourceMask <string> Specify the source mask.

Example

Commands:

localhost(config)#aclmacfilter m1          
localhost(config-aclMacFilter)#sourceMac 11:22:33:44:55:66
localhost(config-aclMacFilter)#sourceMask 00:00:00:00:00:ff
localhost(config-aclMacFilter)#apply 

Response:

Applying Config:
id: 2   object: AclMacFilter   status: APPLIED CONFIG  valid: True delete: False num user cmds: 3
 command                         attr            value                model attr    iskey    required    userprov    time provisioned         
----------------------------------------------------------------------------------------------------------------------------------------------
 aclmacfilter m1                 aclmacfilter    m1                   FilterName    True     X           X           Wed Sep  6 11:28:22 2017 
 sourceMac 11:22:33:44:55:66     sourceMac       11:22:33:44:55:66    SourceMac     False                X           Wed Sep  6 11:35:39 2017 
 sourceMask 00:00:00:00:00:ff    sourceMask      00:00:00:00:00:ff    SourceMask    False                X           Wed Sep  6 11:35:58 2017 

sdk:createAclMacFilter(m1,DestMac=,SourceMask=00:00:00:00:00:ff,DestMask=FF,SourceMac=11:22:33:44:55:66) result: SUCCESS: http status code: 201