99
3.6. MAC Address Table Display, Registration, and
Configuration
Configure the MAC address table and register/delete static MAC addresses in "Global configuration
mode," and show the MAC address table in "Privileged mode."
Command to show the MAC address auto-learning status
M24eG# show
mac-learning
Command to show the aging time
M24eG#
show mac-address-table aging-time
Command to show the MAC address table (dynamic entries)
M24eG#
show mac-address-table mac
Command to show the MAC address table (static entries)
M24eG#
show mac-address-table static
Command to set the aging time
M24eG(config)#
mac-address-table aging-time <aging time>
Command to register the static MAC address entry
M24eG(config)#
mac-address-table static <MAC addr.> <interface name> vlan <VLAN ID>
Command to delete the static MAC address entry
M24eG(config)# no
mac-address-table
static <MAC addr.> vlan <VLAN ID>
Command to enable MAC address auto-learning
M24eG(config-if)# mac-learning
Command to disable MAC address auto-learning
M24eG(config-if)# no
mac-learning
Command to set the limit of the number of auto-learned MAC addresses
M24eG(config-if)#
mac-learning limit <limit>
Command to delete the limit of the number of auto-learned MAC addresses
M24eG(config-if)#
no mac-learning limit