Configuring the Stack MAC Address
Context
By default, a stack's MAC address is the MAC address of the master switch elected when the stack is set up. However, the stack MAC address may change after the stack restarts. To retain the stack MAC address, set the stack MAC address to the MAC address of a member switch. The stack then uses the same MAC address every time it restarts.
Procedure
- Run the system-view command to enter the system view.
- Run the stack command to enter the stack management view.
- Run the set system mac-address chassis chassis-id command to configure the stack MAC address.
If the current stack MAC address is different from the one configured using this command, the stack MAC address is changed to the configured one immediately after the command is executed.