Milan Technology MIL-SM8002TG Switch User Manual


 
29
Mac / Filter Table Commands Set
Commands Command Level Description Defaults Example
mac-address-table
aging-time [on | off]
mac-address-table
aging-time [sec.]
or no mac-address-
table
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-
table 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
MAC address table.
N/A
Switch (config)# interface
fastEthernet 0/2
Switch (config-if)#
mac-address-table static
hwaddr 004063112233 vlanid
10
no mac-address-table
[static | filter] hwaddr
[MAC address] vlanid
[VLAN-ID]
Interface
configuration mode
Use the no
mac-address-table privileged
EXEC command to delete
entries from the MAC
address table.
Switch (config)# interface
fastEthernet 0/2
Switch (config-if)# no
mac-address-table static
hwaddr 004063112233 vlanid
10