To configure a filter sequence to match packets with the specified source MAC address, use the set firewall filter sequence from source-mac-address command in L2/L3 configuration mode.

Command Syntax

set firewall filter filter-name sequence number from source-mac-address mac-address
delete firewall filter filter-name sequence number from source-mac-address

Parameters

filter-nameFilter name.
numberFilter sequence number. The range is 0-9999.
mac-addressSource MAC address.

Examples

The following example configures seqence 2 of the MyFilter filter to match packets with the source MAC address 11:22:33:44:55:66:

admin@Switch# set firewall filter MyFilter sequence 2 from source-mac-address 11:22:33:44:55:66

The following example removes the match condition from sequence 2 of the MyFilter filter:

admin@Switch# delete firewall filter MyFilter sequence 2 from source-mac-address
Deleting: 
>   source-mac-address: 11:22:33:44:55:66
OK