Assigning a MAC Address for the Stack

This procedure explains to assign a MAC address to the stack.
  1. Use the show stacking configuration command to display the stack MAC address configuration.
    Slot-1 stack.3 # show stacking configuration
    Stack MAC in use: 00:04:96:26:6a:f1
    Node               Slot         Alternate          Alternate
    MAC Address        Cfg Cur Prio Mgmt IP / Mask     Gateway         Flags     Lic
    ------------------ --- --- ---- ------------------ --------------- --------- ---
    *00:04:96:26:6a:f1 1   1   11   10.127.4.131/24    10.127.4.254    CcEeMm--- Aa
    00:04:96:26:6c:93 2   2   Auto 10.127.4.132/24    10.127.4.254    CcEeMm--- Aa
    00:04:96:27:c8:c7 3   3   Auto 10.127.4.133/24    10.127.4.254    CcEeMm--- Aa
    00:04:96:26:5f:4f 4   4   4    10.127.4.139/24    10.127.4.254    CcEeMm--- Aa
    00:04:96:1f:a5:43 5   5   Auto 10.127.4.135/24    10.127.4.254    CcEeMm--- Aa
    00:04:96:28:01:8f 6   6   6    10.127.4.136/24    10.127.4.254    CcEeMm--- Aa
    00:04:96:20:b2:5c 7   7   Auto 10.127.4.137/24    10.127.4.254    CcEeMm--- Aa
    00:04:96:26:6c:92 8   8   Auto 10.127.4.138/24    10.127.4.254    CcEeMm--- Aa
    * - Indicates this node
    Flags:  (C) master-Capable in use, (c) master-capable is configured,
    (E) Stacking is currently Enabled, (e) Stacking is configured Enabled,
    (M) Stack MAC in use, (m) Stack MACs configured and in use are the same,
    (N)  Stack link protocol Enhanced in use, (n) Stack link protocol Enhanced configured,
    (i) Stack MACs configured and in use are not the same or unknown,
    (-) Not in use or not configured
    License level restrictions: (C) Core, (A) Advanced edge, or (E) Edge in use,
    (c) Core, (a) Advanced edge, or (e) Edge configured,
    (-) Not in use or not configured
    
    The MAC Address column displays the factory MAC address for the node. The stack MAC address configuration information appears in the last three positions of the Flags column. As shown in the key at the bottom of the command display, the stack MAC configuration is displayed with the letters capital M, lower-case m, and lower-case i. If the flags read ---, the stack MAC address needs to be configured. If the flags read Mm-, the stack MAC address is already configured and in use.
  2. To configure the stack to use the MAC address of the master, log in to the master console and enter the configure stacking mac-address command.

    For example:

    Slot-1 stack.43 # configure stacking mac-address
    This command will take effect at the next reboot of the specified node(s).

    If you enter the show stacking command now, the stack MAC flags show --i, indicating that the stack MAC is configured but is not in use. After you restart the stack, the i disappears from the Flags column.

    1. To see if the stack MAC is consistently configured, enter the show stacking {node-address node_address | slot slot_number} detail command and compare all configured stack MAC addresses for equality. In this case, they should be equal.
  3. To configure the stack to use a MAC address from a non-master node, log in to the master console and enter the configure stacking {node-address node-address | slot slot-number} mac-address command. For example:
    Slot-1 stack.43 # configure stacking slot 2 mac-address
    This command will take effect at the next reboot of the specified node(s).
  4. Reboot the stack.
  5. Verify the new stack MAC address using the show stacking configuration command.
    The following example is based on the previous example:
    Slot-1 stack.3 # show stacking configuration
    Stack MAC in use: 00:04:96:26:6a:f1
    Node               Slot         Alternate          Alternate
    MAC Address        Cfg Cur Prio Mgmt IP / Mask     Gateway         Flags     Lic
    ------------------ --- --- ---- ------------------ --------------- --------- ---
    *00:04:96:26:6a:f1 1   1   11   10.127.4.131/24    10.127.4.254    CcEeMm--- Aa
    00:04:96:26:6c:93 2   2   Auto 10.127.4.132/24    10.127.4.254    CcEeMm--- Aa
    00:04:96:27:c8:c7 3   3   Auto 10.127.4.133/24    10.127.4.254    CcEeMm--- Aa
    00:04:96:26:5f:4f 4   4   4    10.127.4.139/24    10.127.4.254    CcEeMm--- Aa
    00:04:96:1f:a5:43 5   5   Auto 10.127.4.135/24    10.127.4.254    CcEeMm--- Aa
    00:04:96:28:01:8f 6   6   6    10.127.4.136/24    10.127.4.254    CcEeMm--- Aa
    00:04:96:20:b2:5c 7   7   Auto 10.127.4.137/24    10.127.4.254    CcEeMm--- Aa
    00:04:96:26:6c:92 8   8   Auto 10.127.4.138/24    10.127.4.254    CcEeMm--- Aa
    * - Indicates this node
    Flags:  (C) master-Capable in use, (c) master-capable is configured,
    (E) Stacking is currently Enabled, (e) Stacking is configured Enabled,
    (M) Stack MAC in use, (m) Stack MACs configured and in use are the same,
    (N)  Stack link protocol Enhanced in use, (n) Stack link protocol Enhanced configured,
    (i) Stack MACs configured and in use are not the same or unknown,
    (-) Not in use or not configured
    License level restrictions: (C) Core, (A) Advanced edge, or (E) Edge in use,
    (c) Core, (a) Advanced edge, or (e) Edge configured,
    (-) Not in use or not configured