aclipv6filter

Create or modify a IPv6 filter for use in an acl.

Usage

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

Settings

Name Description
dstIPv6 Destination IPv6 address.
dstIntf Destination Interface (used for mlag).
dstMaskv6 Network mark for dest IPv6.
l4DstPort TCP/UDP destionation port. Default: 0
l4MaxPort Max port when l4 port is specified as range. Default: 0
l4MinPort Min port when l4 port is specified as range. Default: 0
l4PortMatch Match condition can be EQ(equal) , NEQ(not equal), RANGE(port range).
proto Protocol type TCP/UDP/ICMPv4/ICMPv6.
srcIPv6 Source IPv6 address.
srcIntf Source Intf(used for mlag).
srcMaskv6 Network mask for source IPv6.

Available Commands

Command Purpose
aclipv6filter srcIPv6 <string> Specify the source IPv6 address.
aclipv6filter l4MinPort <integer> Specify the min port when l4 port is specified as range.
aclipv6filter l4MaxPort <integer> Specify the mnax port when l4 port is specified as range.
aclipv6filter l4PortMatch <string> Specify the match condition: EQ(equal) , NEQ(not equal.), RANGE(port range)
aclipv6filter proto <string> Specify the protocol type TCP/UDP/ICMPv4/ICMPv6.
aclipv6filter dstIPv6 <string> Specify the destination IPv6 address.
aclipv6filter l4SrcPort <integer> Specify the TCP/UDP source port.
aclipv6filter l4DstPort <integer> Specify the TCP/UDP destionation port.
aclipv6filter dstIntf <string> Specify the destination Intf(used for mlag).
aclipv6filter srcIntf <string> Specify the soruce Intf(used for mlag).
aclipv6filter srcMaskv6 <string> Specify the Network mask for source IPv6.
aclipv6filter dstMaskv6 <string> Specify the Network mark for destination IPv6.

Example

localhost(config)#aclmacfilter m1
localhost(config-aclMacFilter)#
DestMac         apply           destMask        exit            image           ping            reboot          show            sourceMac       stty            
aclmacfilter    clearunapplied  end             help            no              quit            scp             showunapplied   sourceMask      where           
localhost(config-aclMacFilter)#sourceMac 
DestMac         apply           clearunapplied  destMask        end             exit            help            image           ping            quit            reboot          scp             show            showunapplied   sourceMask      stty            where           
localhost(config-aclMacFilter)#sourceMac 11:22:33:44:55:66
localhost(config-aclMacFilter)#sourceMask 00:00:00:00:00:ff
localhost(config-aclMacFilter)#apply 
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