A switch can learn source MAC addresses of data frames. After learning the interface connected to the destination host, the switch sends data frames to the interface instead of broadcasting data frames to all interfaces in the VLAN. The
S2700SI, S2710SI-52P, S2700EI-52P or S2700EI switches do not support the function.
Context
By learning MAC addresses, a switch can obtain MAC addresses of devices on the network connected to an interface.
Procedure
- Query MAC address learning on an interface.
- Choose in the navigation tree to open the MAC Learning page.
- Set the search criteria.
- Click Query. The search results are displayed.
- Configure MAC address learning on an interface.
- Choose in the navigation tree to open the MAC Learning page.
- In the Configure MAC Learning on Interface group box, select a record and click Configure. The Configure MAC Learning page is displayed.
Table 1 describes the parameters on the Configure MAC Learning page.
Table 1 Configure Dynamic MAC Learning
Parameter
|
Description
|
Interface Name
|
Indicates the name of an interface. The interface name cannot be modified. You can select multiple interfaces each time.
NOTE: If only one interface is selected, the configuration of the interface is displayed. If multiple
interfaces are selected, the default settings of the interfaces are displayed.
|
MAC Learning
|
Indicates whether to enable MAC address learning.
|
Max MAC Entries Learned
|
Indicates the maximum number of MAC addresses that an interface can learn.
This parameter limits the number of entries in the MAC table.
|
- Set the parameters.
- Click OK.
NOTE: To cancel the MAC address learning limit on an interface, select the corresponding record and click Cancel Limit.
- Query MAC address learning on a VLAN.
- Choose in the navigation tree to open the MAC Learning page.
- Set the search criteria.
- Click Query. The search results are displayed.
- Configure MAC address learning on a VLAN.
- Choose in the navigation tree to open the MAC Learning page.
- In the Configure MAC Learning on VLAN group box, select a record and click Configure. The Configure MAC Learning page is displayed.
Table 1 describes the parameters on the Configure MAC Learning page.
- Set the parameters.
- Click OK.
NOTE: To cancel the MAC address learning limit in a VLAN, select the corresponding record and click Cancel Limit.
Copyright © Huawei Technologies Co., Ltd.