
KSwitch D10 MMT Managed Time Sensitive Ethernet Switch - Preliminary User Guide, Rev. 0.99
// 74
9.5.12.
MAC Table Learning – Configuration Commands
Provides various options regarding the way MAC address learning should be processed by the Ethernet Switch, and
how to process a packet with unknown source MAC address, unknown destination MAC address, etc.
When a packet is received, it is classified by the packets’s Source-MAC, Destination-MAC, VLAN-ID and Port
number. As part of Ethernet Switch forwarding algorithm, the switch looks for Destination-MAC and VLAN inside the
MAC learning table. If found, the packet will be forwarded to the specified port, otherwise the packet is flooded to all
ports on same VLAN.
9.5.12.1.
MAC Address-Table Aging-Time
Description- By default, dynamic entries are removed from the Mac table after 300 seconds. This process is
called aging. Aging time can be configured to be in the range of 10 to 1000000 seconds or 0 to disable automatic aging.
mac address-table aging-time
<v_0_10_to_1000000>
no mac address-table aging-time
Parameter
Description
Parameter
<v_0_10_to_1000000>
Aging time in seconds, 0 disables aging
Default
Aging time is 300 seconds
Mode
Global Configuration mode
Usage
Set MAC address table aging time in seconds. Use the no version of the command to
reset to default (300 seconds)
Examples
Example#1 (Set aging time to 400 seconds)
(config)# mac address-table aging-time 400
Example#2 ( Disable automatic aging)
(config)# mac address-table aging-time 0
9.5.12.2.
MAC Address-Table Learning
Description - Each port can do learning in Auto mode (performed automatically as soon as the frame with
unknown MAC is received) or Secured mode (only static MAC entries are learned and all other frames are dropped).
MAC learning can also be disabled and no learning is performed. Specific VLANs can also be learning-disabled.
mac address-table learning
[ secure ]
no mac address-table learning
mac address-table learning vlan
<vlan_list>
no mac address-table learning vlan
<vlan_list>
Parameter
Description
Parameter
[ secure ]
Port Secure mode
Default
All ports are in Auto learning mode
Mode
Port List Interface Mode (for specific port), Global Configuration Mode (for VLANs)
Usage
Set MAC address table learning mode to Secure or back to Auto (command without [ secure ]
parameter). Use the no version of the command to Disable learning.
Examples
Example#1 (Set MAC address learning to Secure on port 1)
(config)# interface GigabitEthernet 1/1
(config-if)#mac address-table learning secure