Milan Technology MIL-SM2401M-STK Switch User Manual


 
49
5-2-8. Mac / Filter Table Commands Set
Commands
Command
Level
Description Defaults Example
mac-address-ta
ble aging-time
[on | off]
mac-address-ta
ble aging-time
[sec.]
or no
mac-address-ta
ble aging-time
Global
configuration
mode
Use the
mac-address-table
aging-time global
configuration
command to set the
length of time that a
dynamic entry
remains in the MAC
address table after
the entry is used or
updated.
Use the no form of
this command to
use the default
aging-time interval.
The aging time
applies to all
VLANs.
300 secs
(Enable)
Switch (config)#
mac-address-table
aging-time on
Switch (config)#
mac-address-table
aging-time 333
(Disable)
Switch (config)#
mac-address-table
aging-time off
Or
Switch(config)# no
mac-address-table
aging-time
mac-address-ta
ble table [static |
filter] hwaddr
[MAC address]
vlanid
[VLAN-ID]
Interface
configuration
mode
Use the
mac-address-table
static to add static |
filter addresses to
the MAC address
table. Use the no
form of this
command to
remove static
entries from the
N/A
Switch (config)#
interface fastEthernet
0/2
Switch (config-if)#
mac-address-table
static hwaddr
004063112233 vlanid
10