Command Reference MAC Address Commands
command to restore the default value.
mac-address-table aging-time seconds
no mac-address-table aging-time
Parameter Description Parameter
Description
seconds
Aging time of the dynamic MAC address, in seconds. The
time range varies with switches.
Defaults
300 seconds.
Command
Mode
Global configuration mode.
Usage Guide Use the show mac-address-table aging-time command to display configuration.
Use the show mac-address-table dynamic command to display the dynamic MAC address table.
Configuration
Examples
Ruijie(config)# mac-address-table aging-time 150
Command Description Related
Commands
show mac-address-table aging-time
Display the aging time of the dynamic MAC address.
show mac-address-table dynamic
Display the dynamic MAC address table.
Platform
Description
N/A
mac-address-table filtering
Use this command to configure the MAC address to be filtered. Use the no form of the command to
remove the configuration.
mac-address-table filtering mac-address vlan vlan-id [ source | destination ]
no mac-address-table filtering mac-address vlan vlan-id
Parameter Description
mac-address
MAC address to be filtered
vlan vlan-id
VLAN ID. Its range varies with switches.
source
Filter frames based on the source MAC address only.
Parameter
Description
destination
Filter frames based on the destination MAC address only.
Defaults
No filtered address is configured by default.
When this command is configured without the source or destination specified, the frame received in
the specified VLAN, which has the same source or destination MAC address with the specified MAC
address, will be filtered.