Chapter 4 Service Configuration
4.7.21 set mac to static
Purpose
This command sets the function of transforming MAC addresses from dynamic to static in
batches.
Command Mode
Global configuration mode
Syntax
set mac to static
{
port
<
1-28
>|
trunk
<
1-15
>|
vlan
<
1-4094
>}{
enable
|
disable
}
Parameter Description
Parameter
Description
port
Sets on a port the function of transforming MAC addresses from
dynamic to static in batches.
<
1-28
>
Port number. Different devices have different port number ranges.
In the syntax, the 5250-28TC device is used as an example.
trunk
Sets on a trunk the function of transforming MAC addresses from
dynamic to static in batches.
<
1-15
>
Trunk ID.
vlan
Sets on a VLAN the function of transforming MAC addresses from
dynamic to static in batches.
<
1-4094
>
VLAN ID.
enable
Enables the function of transforming MAC addresses from
dynamic to static in batches.
disable
Disables the function of transforming MAC addresses from
dynamic to static in batches.
Guidelines
If the function of transforming MAC addresses from dynamic to static in batches is enabled,
the MAC addresses that have been learned on a port/trunk/VLAN will be transformed to
static addresses. When the transformation is completed, the later learned MAC addresses
are dynamic MAC addresses.
4.7.22 set mac logging-alarm
Purpose
This command enables or disables the MAC event alarm function.
4-105
SJ-20131111172707-003|2013-11-27 (R1.0)
ZTE Proprietary and Confidential