Supported Platforms
Related Documentation
- EX Series
- Understanding Bridging and VLANs on EX Series Switches
- QFabric System, QFX Series standalone switches
- Understanding Bridging and VLANs
Adding a Static MAC Address Entry to the Ethernet Switching Table (CLI Procedure)
![]() | Note: This task uses Junos OS for EX Series switches and Junos OS for QFX3500 and QFX3600 switches that does not support the Enhanced Layer 2 Software (ELS) configuration style. If your switch runs software that supports ELS, see Adding a Static MAC Address Entry to the Ethernet Switching Table (CLI Procedure). For ELS details, see Getting Started with Enhanced Layer 2 Software. |
The Ethernet switching table, also known as the forwarding table, specifies the known locations of VLAN nodes. There are two ways to populate the Ethernet switching table on a switch. The easiest method is to let the switch update the table with MAC addresses.
The second way to populate the Ethernet switching table is to manually insert a VLAN node location into the table. You can do this to reduce flooding and speed up the switch’s automatic learning process. To further optimize the switching process, indicate the next hop (next interface) packets will use after leaving the node.
Before configuring a static MAC address, be sure that you have:
- Set up the VLAN. See Configuring VLANs for EX Series Switches (CLI Procedure) orConfiguring VLANs.
To add a MAC address to the Ethernet switching table:
- Specify the MAC address to add to the table:
- Indicate the next hop MAC address for packets sent to the indicated MAC address:
Related Documentation
- EX Series
- Understanding Bridging and VLANs on EX Series Switches
- QFabric System, QFX Series standalone switches
- Understanding Bridging and VLANs
Published: 2014-07-23
Supported Platforms
Related Documentation
- EX Series
- Understanding Bridging and VLANs on EX Series Switches
- QFabric System, QFX Series standalone switches
- Understanding Bridging and VLANs