Mac-Address Timer - 3Com S7906E Command Reference Manual

6300 series
Hide thumbs Also See for S7906E:
Table of Contents

Advertisement

Parameters
count: Maximum number of MAC addresses that can be learned on a port, in the range 0 to 4096. When
the argument takes 0, the VLAN is not allowed to learn MAC addresses.
Description
Use the mac-address max-mac-count command to configure the maximum number of MAC
addresses that can be learned on an Ethernet port.
Use the undo mac-address max-mac-count command to remove the restriction on the maximum
number of MAC addresses that can be learned on an Ethernet port.
By default, no maximum number of MAC addresses that can be learned on a port is configured.
If the command is executed in interface view, the configuration takes effect on the current interface; if
the command is executed in port group view, the configuration takes effect on all ports belonging to the
port group.
By using this command with the static MAC address function, you can disable an interface or a port
group from learning MAC addresses, and only allow the packets with the specified destination address
to pass, thus avoiding the access to the network from the illegal devices.
The Layer-2 aggregate interface and member interface not support this function.
Related commands: mac-address (system view), mac-address (Ethernet interface view),

mac-address timer.

Examples
# Set the maximum number of MAC addresses that can be learned on port GigabitEthernet 2/0/1 to 600.
After this upper limit is reached, frames received with unknown destination MAC addresses on the port
will not be forwarded.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] mac-address max-mac-count 600
mac-address timer
Syntax
mac-address timer { aging seconds | no-aging }
undo mac-address timer aging
View
System view
Default Level
2: System level
1-7

Advertisement

Chapters

Table of Contents
loading

This manual is also suitable for:

S7910eS7906e-vS7903eS7903e-sS7902e

Table of Contents