
C613-50186-01 Rev B
Command Reference for AR2050V
457
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
B
RIDGING
C
OMMANDS
MAC
-
LEARNING
mac-learning
Overview
Use this command to enable FDB MAC address learning on a bridge interface. In
some circumstances, FDB MAC address learning on a software-based router bridge
is not useful, and it is better to flood the traffic within interfaces associated with the
bridge instance, to ensure the traffic reaches its destination.
Use the
no
variant of this command to disable or enable FDB MAC address learning
on a bridge.
Syntax
mac-learning
no mac-learning
Default
Learning is enabled by default.
Mode
Interface mode for a bridge interface
Example
To turn off learning on bridge 2, use the following commands:
awplus#
configure terminal
awplus(config)#
interface br2
awplus(config-if)#
no mac-learning
To turn learning on bridge 2 back on, use the following commands:
awplus#
configure terminal
awplus(config)#
interface br2
awplus(config-if)#
mac-learning
Command
changes
Version 5.4.7-0.1: command added