Disabling Mac Address Learning On A Vlan; Configuring The Aging Timer For Dynamic Mac Address Entries - HP 5820X series Configuration Manual

Hide thumbs Also See for 5820X series:
Table of Contents

Advertisement

To do...
1.
Enter system view
2.
Enter interface view
3.
Configure a MAC address
table entry
When you configure a static MAC address entry on an interface that belongs to a specific isolate-user-
VLAN, you only need to specify the isolate-user-VLAN, instead of any secondary VLANs associated with
the isolate-user-VLAN. For more information about isolate-user-VLANs, see the chapter "Isolate-user-VLAN
configuration."

Disabling MAC address learning on a VLAN

NOTE:
This function is available only on 5800 switches.
You may need to disable MAC address learning sometimes to prevent the MAC address table from being
saturated, for example, when your switch is being attacked by a large amount of packets with different
source MAC addresses.
You may disable MAC address learning on a per-VLAN basis.
To disable MAC address learning on a VLAN:
To do...
1.
Enter system view
2.
Enter VLAN view
3.
Disable MAC address
learning on the VLAN
When MAC address learning is disabled, the learned MAC addresses remain valid until they age out.

Configuring the aging timer for dynamic MAC address entries

The MAC address table uses an aging timer for dynamic MAC address entries for security and efficient
use of table space. If a dynamic MAC address entry has failed to update before the aging timer expires,
the switch deletes the entry. This aging mechanism ensures that the MAC address table could timely
update to accommodate latest network changes.
Set the aging timer appropriately. A long aging interval may cause the MAC address table to retain
outdated entries, exhaust the MAC address table resources, and fail to update its entries to accommodate
the latest network changes. A short interval may result in the removal of valid entries and unnecessary
broadcasts, which may affect device performance.
To configure the aging timer for dynamic MAC address entries:
Use the command...
system-view
interface interface-type interface-
number
mac-address { dynamic | static }
mac-address vlan vlan-id
Use the command...
system-view
vlan vlan-id
mac-address mac-learning disable
27
Remarks
Required.
Ensure that you have created the
VLAN and assign the interface to
the VLAN
Remarks
Required
Enabled by default

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5800 series

Table of Contents