
Command Manual - System Management
Quidway S3500 Series Ethernet Switches
Chapter 2 MAC Address Table Management Commands
Huawei Technologies Proprietary
2-4
View
Ethernet port view
Parameter
count
: Specify the amount limit to the MAC addresses to be learned. 0 indicates that no
address can be learned via the port.
Description
Using
mac-address max-mac-count
command, you can set a limit to the MAC
addresses to be learned by the Ethernet port. Using
undo mac-address
max-mac-count
command, you can cancel the limit.
By default, there is no limit to the MAC addresses learned via the Ethernet port.
The port will stop learning MAC address when the amount reaches the limit specified
by the
count
parameter.
For the related commands, see
mac-address, mac-address timer.
Example
# Configure Ethernet0/3 to learn at most 600 addresses.
[Quidway-Ethernet0/3] mac-address max-mac-count 600
# Configure no limit to the amount of addresses learned via Ethernet0/3.
[Quidway-Ethernet0/3] undo mac-address max-mac-count
2.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 (measured in seconds) of the Layer-2 dynamic
address table entry, ranging from 10 to 1000000. By default, the aging time is 300
seconds.
no
-
aging
: No aging time.