To add a MAC address or MAC address pattern to allow list or deny list. Syntax: add filter Comment Parameters: allow|deny ...

To add a MAC address or MAC address pattern to allow list or deny list. 
 
Syntax: 
 
     add filter   [Comment] 
 
Parameters: 
 
     allow|deny       - The list to which MAC address or MAC address 
                        pattern is to be added. Specify either allow or 
                        deny. 
     MAC address|MAC address pattern    - Ethernet address or Ethernet 
                        address pattern to be added to the list. 
                        Specify either complete MAC address or MAC 
                        address pattern. A list of valid MAC address 
                        patterns is provided in the example below. 
     Comment          - A comment associated with MAC address or MAC 
                        address pattern (optional). Comment can contain 
                        maximum 127 characters. It will be truncated if 
                        it contains more than 127 characters. 
 
Notes:         Parameters in angled brackets are required. 
 
Example:       add filter allow 00-1C-23-20-AF-4E "File Server in Data Center" 
 
               This command adds a MAC address 00-1C-23-20-AF-4E to 
               an Allow list along with comment "File Server in Data Center". 
               Note, a MAC address or MAC address pattern can belong to 
               only one list at a time, either an Allow list or Deny list. 
 
               Valid MAC addresses or MAC address patterns: 
               00-1C-23-20-AF-4E - Valid MAC address containing six 
                                   octets of hexadecimal numbers. 
               00-1C-23-20-AF-*  - Valid MAC address. 
                                   Last octet is a wildcard and 
                                   first five octets are valid hex 
                                   numbers. 
               00-1C-23-20-*-*   - Valid MAC address. 
                                   Last two octets are wildcards and 
                                   first four octets are valid hex 
                                   numbers. 
               00-*-*-*-*-*      - Valid MAC address. 
                                   Last five octets are wildcards and 
                                   first octet is a valid hex 
                                   number. 
               001C2320AF4E      - Valid MAC address format containing six 
                                   octets of hexadecimal numbers. 
               001C*             - Valid MAC address. 
                                   Last four octets are wildcards and 
                                   first two octets are valid hex 
                                   numbers. 
                                   * can placed be after any octet position 
                                   in the end of pattern other than the last octet.
 
               Invalid MAC addresses or MAC address patterns: 
               00-1C-*-20-AF-4E  - No hexadecimal numbers allowed 
                                   after a wildcard. 
               00-1C-23-A*-AF-4D - Wildcard cannot be partial. It applies 
                                   to whole octet. 
               00-1C-23-40-??-?? - '?' as a regex pattern is not 
                                   supported. 
               00-1C-23-20-AF-4M - 4M (last octet) is not a valid 
                                   hexadecimal number. 
               *-*-*-*-*-*       - First octet cannot be a wildcard. 
                                   It must be a valid hex number. 
               001C*20AF4E       - No hexadecimal numbers allowed 
                                   after a wildcard. 
               00-1C20AF4E       - No mix of hyphen and contiguous hexadecimal numbers allowed