Related Documentation
- EX Series
- Understanding MAC Address Assignment in an EX Series Switch
- Configuring the Timer for the Backup Member to Start Using Its Own MAC Address, as Master of the EX2200, EX3300, EX4200, EX4500, or EX4550 Virtual Chassis (CLI Procedure)
- EX2200, EX3300, EX4200, EX4500, and EX4550 Virtual Chassis Overview
- EX8200 Virtual Chassis Overview
Understanding MAC Address Assignment on a Virtual Chassis
In a Virtual Chassis, multiple Juniper Networks EX Series Ethernet Switches—each with its own set of interfaces with unique MAC addresses—are connected together to form one chassis that can be managed as a single switch. The MAC address assigned to each network-facing interface on the switch changes when the switch becomes a Virtual Chassis member switch. Because all Layer 2 traffic decisions are based on an interface’s MAC address, understanding MAC address assignment is important to understanding how network traffic is forwarded and received by interfaces in the Virtual Chassis. For additional information on how a network uses MAC addresses to forward and receive traffic, see Understanding Bridging and VLANs on EX Series Switches.
A MAC address comprises six groups of two hexadecimal digits, with each group separated from the next group by a colon—for instance, aa:bb:cc:dd:ee:00. The first five groups of hexadecimal digits are derived from the switch and are the same for all interfaces on the switch.
For standalone EX Series switches, the first five groups of hexadecimal digits are determined when the switch is manufactured. The switch then assigns a unique MAC address to each interface by assigning a unique identifier as the last group of hexadecimal digits. The assignment depends on how the interface is configured. The switch uses a different pattern to distinguish between an interface that is configured as any of a routed VLAN interface (RVI), a virtual management Ethernet (VME) interface, or an aggregated Ethernet interface or is not configured as any of an RVI, a VME, or as an aggregated Ethernet interface.
When a Virtual Chassis is formed, the MAC address of the switch in the master role becomes the MAC base address. All interfaces on all member switches in the Virtual Chassis base their MAC address on the MAC base address.
The MAC base address does not change in the event of a switchover if the switch that was originally configured in the master role remains a member of the Virtual Chassis. If the switch that was originally configured in the master role is removed from the Virtual Chassis, the MAC address of the current member switch in the master role is assigned as the MAC base address after the MAC persistence timer interval has expired. You can configure the MAC persistence timer interval.
On switches that use line cards and on virtual chassis switches , this MAC addressing scheme ensures that unique MAC addresses are assigned to the Layer 2 interfaces on different line cards in the switch.
The assignment of a unique MAC address to each network interface helps ensure that functions that require MAC address differentiation—such as redundant trunk groups (RTGs), Link Aggregation Control Protocol (LACP), and general monitoring functions—can function properly.
![]() | Note: In Junos OS Release 11.3 and later releases through Release 12.1, the MAC address assignment for aggregated Ethernet interfaces changes if the interface is changed from Layer 2 to Layer 3 or the reverse. Starting with Junos Release 12.2, the MAC address assignment for aggregated Ethernet interfaces remains constant regardless of whether the interface is Layer 2 or Layer 3. |
![]() | Note: Prior to Junos OS Release 11.3, MAC addresses for Layer 2 interfaces could be shared between interfaces and RVIs on different line cards in the same switch. However, if you upgrade from Junos OS Release 11.2 or earlier to Junos OS Release 11.3 or later on a switch that supports line cards, the MAC addresses of these interfaces will change. |
MAC addresses are assigned to interfaces in a Virtual Chassis automatically—no user configuration is possible or required. You can view the MAC addresses that are assigned to the interfaces by using the show interfaces command.
Related Documentation
- EX Series
- Understanding MAC Address Assignment in an EX Series Switch
- Configuring the Timer for the Backup Member to Start Using Its Own MAC Address, as Master of the EX2200, EX3300, EX4200, EX4500, or EX4550 Virtual Chassis (CLI Procedure)
- EX2200, EX3300, EX4200, EX4500, and EX4550 Virtual Chassis Overview
- EX8200 Virtual Chassis Overview
