- (mac-learn-enable | no-mac-learn-enable);
- [edit interfaces interface-name gigether-options ethernet-switch-profile],
- [edit interfaces interface-name aggregated-ether-options ethernet-switch-profile]
Statement introduced before JUNOS Release 7.4.
For Gigabit Ethernet IQ and Gigabit Ethernet PICs with SFPs (except the 10-port Gigabit Ethernet PIC and the built-in Gigabit Ethernet port on the M7i platform), configure whether source and destination MAC addresses are dynamically learned:
MAC address learning is based on source addresses. You can start accounting for traffic after there has been traffic sent from the MAC address. Once the MAC address is learned, the frames and bytes transmitted to or received from the MAC address can be tracked.
See Configuring MAC Address Filtering.
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.