This command function is setting if the port could learn the source mac address of ingress packet.
set interface gigabit-ethernet <port> mac-learning <boolean>
delete interface gigabit-ethernet <port> mac-learning
• <port> Ethernet switching port identifier
•<boolean> True or False. The default value is true. False value is the port can't learn the source mac address when packet is enterring the port. True value is the port can learn the source mac address.
• This example configures the port ge-1/1/1 mac-learning false: