3com 8807 参照ガイド
166
C
HAPTER
12: MAC A
DDRESS
T
ABLE
M
ANAGEMENT
C
OMMANDS
[SW8800] interface Ethernet3/1/3
[3Com-Ethernet3/1/3] mac-address max-mac-count 600
[3Com-Ethernet3/1/3] undo mac-address max-mac-count enable forward
# Cancel the alarm function
[3Com-Ethernet3/1/3] undo mac-address max-mac-count enable alarm
mac-address
max-mac-count
max-mac-num
Syntax
mac-address max-mac-count max-mac-num
undo mac-address max-mac-count
View
VLAN view
Parameter
max-mac-num: Maximum number of MAC addresses that can be learned in a
VLAN. This argument ranges from 0 to 4,294,967,295. Value of 0 disables MAC
address learning.
VLAN. This argument ranges from 0 to 4,294,967,295. Value of 0 disables MAC
address learning.
Description
Use the mac-address max-mac-count command to set the maximum number of
MAC addresses that can be learned in VLAN.
MAC addresses that can be learned in VLAN.
Use the undo mac-address max-mac-count command to cancel the
configuration.
configuration.
If you have set the maximum number, MAC addresses will not be learned in the
VLAN when the maximum number is reached.
VLAN when the maximum number is reached.
By default, the number of learned MAC addresses is not limited in a VLAN.
n
If you execute this command with the max-mac-num argument less than the
current number of MAC addresses learned, the switch does not remove the
existing MAC address entries, neither does it learns new MAC addresses. The
switch resumes MAC address learning when the number of MAC addresses
learned is less than the value specified by the max-mac-num argument.
current number of MAC addresses learned, the switch does not remove the
existing MAC address entries, neither does it learns new MAC addresses. The
switch resumes MAC address learning when the number of MAC addresses
learned is less than the value specified by the max-mac-num argument.
Related commands: mac-address, mac-address timer.
Example
# Set the maximum number of learned MAC addresses in a VLAN 100 to 600.
<SW8800> system-view
System View: return to User View with Ctrl+Z.
[SW8800] vlan 100
[3Com-vlan100] mac-address max-mac-count 600
mac-address timer
Syntax
mac-address timer { aging age | no-aging }