Mac-Address Mac-Learning Disable - HP E4510-48G Command Reference Manual

4510g series
Table of Contents

Advertisement

As your MAC address entries configuration cannot survive a reboot, save it after completing the
configuration. The dynamic entries however will be lost whether you save the configuration or not.
Related commands: display mac-address.
Examples
# Add a static entry for MAC address 000f-e201-0101. All frames destined to this MAC address are
sent out of port GigabitEthernet 1/0/1 which belongs to VLAN 2.
<Sysname> system-view
[Sysname] mac-address static 000f-e201-0101 interface gigabitethernet 1/0/1 vlan 2

mac-address mac-learning disable

Syntax
mac-address mac-learning disable
undo mac-address mac-learning disable
View
VLAN view
Default Level
2: System level
Parameters
None
Description
Use the mac-address mac-learning disable command to disable MAC address learning on a VLAN.
Use the undo mac-address mac-learning disable command to enable MAC address learning on a
VLAN.
By default, MAC address learning is enabled on all VLANs.
Note that:
You may need to disable MAC address learning sometimes to prevent the MAC address table
from being saturated, for example, when your device is being attacked by a great deal of packets
with different source MAC addresses. This somewhat affects update of the MAC address table.
As disabling MAC address learning may result in broadcast storms, you need to enable broadcast
storm suppression after you disable MAC address learning on a port.
Related commands: display mac-address mac-learning.
Once MAC learning is disabled in a VLAN, all MAC address entries learnt in the VLAN are removed.
13-5

Advertisement

Table of Contents
loading

Table of Contents