Support Support Downloads Knowledge Base Apex Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[EX/QFX] MAC address calculation technique

0

0

Article ID: KB35922 KB Last Updated: 12 Jun 2020Version: 1.0
Summary:

In Layer 2 of a network, the Media Access Control (MAC) sublayer provides addressing and channel access control mechanisms that enable several terminals or network nodes to communicate in a network.

The MAC sublayer acts as an interface between the logical link control (LLC) Ethernet sublayer and Layer 1 (the physical layer). The MAC sublayer emulates a full-duplex logical communication channel in a multipoint network.

This article lists the MAC address calculation technique for Network Ports (WAN ports), Management ports, and IRB interfaces on EX and QFX series device variants.

Solution:
Platform
The formula to calculate WAN port MAC address
EX4300 system_base_mac + port_number + 3
EX3400 system_base_mac + port_number + 3
QFX5100 system_base_mac + 3 + (port_number * 4) + channel
QFX5200 system_base_mac + 3 + (port_number * 4) + channel
 
Platform The formula to calculate mgmt port (em0/em1/me0) MAC address
EX4300 system_base_mac
EX3400 system_base_mac
QFX5100 em<unit> mac = system_base_mac + mac address count - 8 + unit
QFX5200 em<unit> mac = system_base_mac + mac address count - 8 + unit
 
Platform The formula to calculate IRB interface MAC address
EX4300 system_base_mac + 1
EX3400 system_base_mac
QFX5100 system_base_mac
QFX5200 system_base_mac

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search