Disabling Mac Address Learning - HP A6600 Configuration Manual

Layer 2 - lan switching
Hide thumbs Also See for A6600:
Table of Contents

Advertisement

Add or modify a static, dynamic, or blackhole MAC address table entry globally
To add or modify a static, dynamic, or blackhole MAC address table entry in system view:
To do...
Enter system view
1.
2.
Add or modify a
dynamic or static MAC
address entry
3.
Add or modify a
blackhole MAC address
entry
Add or modify a static or dynamic MAC address table entry on an interface
To add or modify a static or dynamic MAC address table entry in interface view:
To do...
1.
Enter system view
2.
Enter interface view
3.
Add or modify a static or
dynamic MAC address entry

Disabling MAC address learning

You may need to disable MAC address learning sometimes to prevent the MAC address table from being
saturated. For example, you may need to do it when your router is being attacked by a large amount of
packets with different source MAC addresses.
Disabling global MAC address learning
Disabling global MAC address learning disables the learning function on all ports.
To disable MAC address learning:
To do...
1.
Enter system view
2.
Disable global MAC address
learning
Disabling MAC address learning on ports
After enabling global MAC address learning, you may disable the function on a single port, or on all
ports in a port group as needed.
Use the command...
system-view
mac-address { dynamic | static } mac-address
interface interface-type interface-number vlan
vlan-id
mac-address blackhole mac-address vlan
vlan-id
Use the command...
system-view
interface interface-type
interface-number
mac-address { dynamic | static }
mac-address vlan vlan-id
Use the command...
system-view
mac-address mac-learning disable
3
Remarks
Required.
Use either command.
Ensure that you have
created the VLAN and
assign the interface to the
VLAN.
Remarks
Required.
Ensure that you have created the
VLAN and assign the interface to
the VLAN.
Remarks
Required
Enabled by default

Advertisement

Table of Contents
loading

Table of Contents