Mac-Address Max-Mac-Count - HP 3100 v2 Series Command Reference Manual

Hide thumbs Also See for 3100 v2 Series:
Table of Contents
NOTE:
When MAC address learning is disabled, the learned MAC addresses remain valid until they age
out.
Examples
# Disable MAC address learning on port Ethernet 1/0/1.
system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] mac-address mac-learning disable
# Disable MAC address learning on VLAN 10. (Available only on the HPE 3100 v2 EI switch)
system-view
[Sysname] vlan 10
[Sysname-vlan10] mac-address mac-learning disable
# Disable MAC address learning on Bridge-Aggregation 1.
system-view
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] mac-address mac-learning disable

mac-address max-mac-count

Syntax
mac-address max-mac-count count
undo mac-address max-mac-count
View
Layer 2 Ethernet interface view, port group view
Default level
2: System level
Parameters
count: Specifies the maximum number of MAC addresses that can be learned on a port. The value is
in the range of 0 to 8192. When the argument takes 0, the VLAN is not allowed to learn MAC
addresses.
Description
Use mac-address max-mac-count count to configure the maximum number of MAC addresses
that can be learned on a port.
Use undo mac-address max-mac-count to restore the default maximum number of MAC
addresses that can be learned on an Ethernet port.
By default, no MAC learning limit is configured.
If the command is executed in interface view, the configuration takes effect on the interface only. If
the command is executed in port group view, the configuration takes effect on all ports in the port
group.
Related commands: mac-address and mac-address timer.
Examples
# Set the maximum number of MAC addresses that can be learned on port Ethernet 1/0/1 to 600.
system-view
57

Hide quick links:

Table of Contents
loading

Table of Contents