Stack member failure and recovery, Fixed or virtual mac addressing, Enabling the stack virtual-mac – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 2125: Fixed or virtual mac, Addressing
![background image](/manuals/427254/2125/background.png)
VCStack Introduction
Software Reference for x310 Series Switches
C613-50046-01 REV A
AlliedWare Plus
TM
Operating System - Version 5.4.4C
82.11
Stack Member Failure and Recovery
Fixed or Virtual MAC Addressing
A VCStack operates using a single virtual MAC address. This address is configurable by
using the
stack virtual-mac command on page 83.28
Enabling the stack virtual-mac
When the
command is enabled, the stack uses a virtual MAC address
selected from an allocated pool of MAC addresses. The stack will then always use this MAC
address even if the stack master fails or is removed from the stack. In this situation, the
new elected master will still retain the originally configured virtual MAC address.
The virtual MAC address will be used for all external ports, and VLAN interfaces, except the
management VLAN. Although each individual switch in the stack retains its own native
MAC address; this is only used over the stack management VLAN.
Virtual MAC
format and value
The virtual MAC address is selected from within the range 0000.cd37.0000 to
0000.cd37.0FFF.
This can be considered as a MAC prefix component of 0000.cd37.0xxx.
Where xxx is called the stack virtual-chassis-ID, and has the range 000 to FFF.
By default, the virtual-chassis-ID is randomly selected from the available range.
To change the virtual MAC address, use the
stack virtual-chassis-id command on
Manually selected
virtual address
To manually select a virtual MAC address you enable the stack virtual MAC feature by
using the commands:
Then configure the
stack virtual-chassis-id command on page 83.27
to set a stack
virtual-chassis-ID of your chosen value - entered as a decimal number within the range 0
to 4095. The value 120 is used in the following example:
Note
If one stack member has the virtual MAC address feature enabled and another
has the virtual MAC address feature disabled then they will be able to form
together as a stack. From master election onwards, the stack master’s virtual
MAC address setting will be used by the rest of the stack.
Caution
Stack operation is only supported if stack virtual-mac is enabled.
Note
Using the same virtual MAC address settings on stacks in the same network will result in
duplicate MAC addresses and network disruption.
Please ensure each stack in your network uses a unique virtual-chassis-ID.
awplus#
configure terminal
awplus(config)#
stack virtual-mac
awplus#
configure terminal
awplus(config)#
stack virtual-chassis-id 120