ZXR10 2900E Series Command Reference
Guidelines
The
write
command can manually trigger an autosave operation.
Default
The autosave time is 360 minutes.
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 2928E 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
4-104
SJ-20130731155059-003|2013-11-27 (R1.0)
ZTE Proprietary and Confidential