interface gigabit-ethernet <port> mac-learning <boolean>

This command function is setting if the port could learn the source mac address of ingress packet. 


Command Syntax
set interface gigabit-ethernet <port> mac-learning <boolean>
delete interface gigabit-ethernet <port> mac-learning


Parameter
• <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.


Example
• This example configures the port ge-1/1/1 mac-learning false:

admin@XorPlus# set interface gigabit-ethernet ge-1/1/1 mac-learning false
admin@XorPlus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.