lag-mac

Assigns a static MAC address to the LAG virtual interface.
Syntax
lag-mac mac-address
no lag-mac mac-address
Command Default

The first physical port that is being added to the LAG becomes the MAC provider for the LAG virtual interface.

Parameters
mac-address
Specifies the MAC address for the LAG virtual interface.
Modes

LAG configuration mode

Usage Guidelines

If VE/L3 is configured on the LAG, the show interface brief command output displays the stack-mac as the LAG virtual interface MAC.

The no form of the command removes the ststic MAC address assigned to the LAG virtual interface.

Examples

The following example assigns a static MAC address to the LAG virtual interface.

device(config)# lag blue dynamic id 11
device(config-lag-blue)# lag-mac 0000.000f.e9a0
History
Release version Command history
08.0.61 This command was introduced.