
Chapter 4 Service Configuration
Syntax
set mac delete
{
port
<
1-28
>|
trunk
<
1-15
>|
vlan
<
1-4094
>}[
dynamic
|
static
|
permanent
]
Parameter Description
Parameter
Description
port
Deletes MAC address entries based on port.
<
1-28
>
Port number. Different devices have different port number ranges.
In the syntax, the 2928E device is used as an example.
trunk
Deletes MAC address entries based on trunk.
<
1-15
>
Trunk ID.
vlan
Deletes MAC address entries based on VLAN.
<
1-4094
>
VLAN ID.
dynamic
Deletes dynamic MAC address entries.
static
Deletes static MAC address entries.
permanent
Deletes permanent MAC address entries.
Guidelines
Without the
dynamic
,
static
, or
permanent
keyword, the command will delete all MAC
address entries.
Some special MAC address entries, such as layer-3 interface addresses, cannot be
deleted. These MAC addresses can be deleted by using special methods as deleting
layer-3 interfaces.
4.7.11 set mac delete dynamic
Purpose
This command deletes all dynamic MAC address entries.
Command Mode
Global configuration mode
Syntax
set mac delete dynamic
Guidelines
Some special MAC address entries, such as layer-3 interface addresses, cannot be
deleted. These MAC addresses can be deleted by using special methods as deleting
layer-3 interfaces.
4-97
SJ-20130731155059-003|2013-11-27 (R1.0)
ZTE Proprietary and Confidential