EasyManua.ls Logo

HP 5820X Series

HP 5820X Series
244 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
27
To do… Use the command… Remarks
1. Enter system view
system-view
2. Enter interface view
interface interface-type interface-
number
3. Configure a MAC address
table entry
mac-address { dynamic | static }
mac-address vlan vlan-id
Required.
Ensure that you have created the
VLAN and assign the interface to
the VLAN
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… Use the command… Remarks
1. Enter system view
system-view
2. Enter VLAN view
vlan vlan-id
3. Disable MAC address
learning on the VLAN
mac-address mac-learning disable
Required
Enabled by default
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:

Table of Contents

Related product manuals