mac

Use the mac command to add a new MAC address, an IAB (Individual Address Block), or an OUI (Organizationally Unique ID) to the MAC address list. Use the no form of the command to remove an address from the MAC address list. The mac command is accessible from the ap:blacklist context of the CLI.

mac MAC Address | mask no mac MAC Address | mask

Parameters

MAC Address Specifies the MAC address to be added to the MAC address list.
mask The mask is expressed in number of bits used.
  • a fully qualified MAC address has a mask value of 48
  • an OUI has a mask value of 24
  • an IAB has a mask value of 36

Examples

The following example adds a MAC address to the MAC address list:

EWC.extremenetworks.com:ap:blacklist# mac 43:0D:37:5C:8A:12
EWC.extremenetworks.com:ap:blacklist# show
mac-list-mode black
43:0D:37:5C:8A:12

The following example adds an OUI from a MAC address to the MAC address list:

EWC.extremenetworks.com.com:ap:blacklist# mac 22:22:22 24

The following example adds an IAB from a MAC address to the MAC address list:

EWC.extremenetworks.com:ap:blacklist# mac FF:FF:FF:FF:F 36