Software Learning Function Configuration Example
After the software learning function is enabled, learn the MAC address entry through the software.
Configuration Condition
No
Enable Software Learning Function
Table 8-13 Enable the software learning function
Step
|
Command
|
Description
|
Enter the global configuration mode.
|
configure terminal
|
-
|
Enable the software learning function
|
mac-address software-learning enable
|
By default, it is disabled.
|
Disable Software Learning Function
Table 8-14 Disable the software learning function
Step
|
Command
|
Description
|
Enter the global configuration mode.
|
configure terminal
|
-
|
Disable the software learning function
|
no mac-address software- learning enable
|
After disabling the software learning, learn the MAC address entry is learned via the chip.
|
![note](/storage/images/Document/Maipu/note-icon.jpg)
-
In box standalone mode, it is hardware learning by default. If you configure this command, you can switch to software learning, but you need to restart the device to take effect.
- In rack standalone mode, it is software learning by default, and it is not allowed to switch to hardware learning.
- The box or rack stacking mode is software learning by default, and it is not allowed to switch to hardware learning.
- The MLAG function can only run under software learning, and it is not allowed to switch to hardware learning.