Mac-Address Max-Mac-Count Max-Mac-Num - Huawei Quidway S8500 Series Command Manual

Routing switches
Hide thumbs Also See for Quidway S8500 Series:
Table of Contents

Advertisement

Command Manual – System Management
Quidway S8500 Series Routing Switches
System View: return to User View with Ctrl+Z.
[Quidway] interface Ethernet3/1/3
[Quidway-Ethernet3/1/3] mac-address max-mac-count 600
[Quidway-Ethernet3/1/3] undo

2.1.7 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.
Description
Use the mac-address max-mac-count command to set the maximum number of MAC
addresses that can be learned in VLAN.
Use the undo mac-address max-mac-count command to cancel the configuration.
If you have set the maximum number, MAC addresses will not be learned in the VLAN
when the maximum number is reached..
By default, the number of learned MAC addresses is not limited in a VLAN.
Note:
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.
Related commands: mac-address, mac-address timer.
Example
# Set the maximum number of learned MAC addresses in a VLAN 100 to 600.
<Quidway> system-view
mac-address max-mac-count enable forward
Huawei Technologies Proprietary
2-7
Chapter 2 MAC Address Table Management
Commands

Advertisement

Table of Contents
loading

Table of Contents