DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
255
30. Filter Database (FDB) Commands
30-1 clear mac-address-table
This command is used to delete a specific dynamic MAC address, all dynamic MAC addresses on a
particular interface, all dynamic MAC addresses on a particular VLAN, or all dynamic MAC addresses
from the MAC address table.
clear mac-address-table dynamic {all | address MAC-ADDR | interface INTERFACE-ID | vlan
VLAN-ID}
Parameters
Specifies to clear all dynamic MAC addresses.
Specifies to delete the specified dynamic MAC address.
Specifies the interface that the MAC address will be deleted from.
The specified interface can be a physical port or a port-channel.
Specifies the VLAN ID. The valid values are from 1 to 4094.
Default
None.
Command Mode
Privileged EXEC Mode.
Command Default Level
Level: 12.
Usage Guideline
Using this command only clears dynamic MAC address entries. Only the dynamic unicast address
entry will be cleared.
Example
This example shows how to remove the MAC address 00:08:00:70:00:07 from the dynamic MAC
address table.
Switch# clear mac-address-table dynamic address 00:08:00:70:00:07
Switch#
30-2 mac-address-table aging-time
This command is used to configure the MAC address table aging time. Use the no form of this
command to revert to the default setting.
mac-address-table aging-time SECONDS
no mac-address-table aging-time
Parameters
Specifies the aging time in seconds. The valid range is 0 or 10 to
1000000 seconds. Setting the aging time to 0 will disable the MAC
address table aging out function.