Mac-Address Max-Mac-Count - Huawei Quidway S2000 Series Command Manual

Table of Contents

Advertisement

Command Manual - System Management
Quidway S2000 Series Ethernet Switches
Example
# Configure the port number corresponding to the MAC address 00e0-fc01-0101 as
Ethernet0/1 in the address table, and sets this entry as static entry.
[Quidway] mac-address static 00e0-fc01-0101 interface ethernet 0/1 vlan 2

2.1.4 mac-address max-mac-count

Syntax
mac-address max-mac-count count
undo mac-address max-mac-count
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
Chapter 2 MAC Address Table Management Commands
2-4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents