Command Manual – MAC Address Table
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 MAC Address Table Configuration
Commands
Huawei Technologies Proprietary
1-6
View
Ethernet port view
Parameter
count
: Maximum number of MAC addresses a port can learn. This argument ranges
from 0 to 4,096. A value of 0 disables the port from learning MAC addresses.
Description
Use the
mac
-
address max
-
mac
-
count
command to set the maximum number of MAC
addresses an Ethernet port can learn.
Use the
undo mac
-
address max
-
mac
-
count
command to cancel the limitation on the
number of MAC addresses an Ethernet port can learn.
By default, the number of MAC addresses an Ethernet port can learn is unlimited.
When you use the
mac
-
address max
-
mac
-
count
command, the port stops learning
MAC addresses after the number of MAC addresses it learned reaches the value of the
count
argument you provided. You can use the
undo
command to cancel this limit so
that the port can learn an unlimited number of MAC addresses. By default, the port
learns an unlimited number of MAC addresses.
Related command:
mac-address
,
mac-address timer
.
Example
# Set the maximum number of MAC addresses Ethernet1/0/3 port can learn to 600.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] interface Ethernet 1/0/3
[Quidway-Ethernet1/0/3] mac-address max-mac-count 600
1.1.5 mac-address timer
Syntax
mac-address timer
{
aging age
|
no-aging
}
undo mac-address timer aging
View
System view
Parameter
aging age
: Specifies the aging time (in seconds) for layer 2 dynamic MAC address
entries. The
age
argument ranges from 10 to 1000000 and defaults to 300.
no
-
aging
: Specifies not to age dynamic MAC address entries.