A Medium Access Control (MAC) address is a unique data link layer address assigned to a network device. A switch which is the data link layer device maintains a MAC address table to forward frames to a destination port. The MAC address table entry on the switch is built either statically or dynamically.
The dynamic MAC address table is built with the MAC source address of the frames received. The switch floods a frame when the destination MAC address is not presented in the dynamic MAC address table. When the destination system responds, the switch adds its relevant MAC source address and port ID to the address table. The switch then forwards subsequent frames to that port without flooding all the ports.
This article explains how to configure aging time and the dynamic MAC address on the Sx500 Series Stackable Switches.
The dynamic MAC address management comprises of configuration of dynamic MAC address aging time and the dynamic MAC address query as shown in the following sections.
Note: Images may slightly vary depending on the exact model of the device you are using. The images below are taken from the SG500X-48MP switch.
Step 1. Log in to the switch web-based utility and choose MAC Address Tables > Dynamic Address Settings.
Step 2. In the Dynamic Address Settings page, enter the time period after which the inactive MAC address is removed from the dynamic MAC address table in the Aging Time field. The range is from 10 to 630 seconds.
Note: In this example, 300 is entered. This is the default value.
Step 3. Click to save the settings.
Step 1. In the Navigation Panel, choose MAC Address Tables > Dynamic Addresses.
The dynamic MAC address query is performed by any of the following methods depending on the information known.
Step 2. In the Filter area, check the desired query conditions.
Note: In this example, all conditions are checked and different values are chosen and entered in the respective fields.
Step 3. Click the Go button to filter the Dynamic Address Table based on the checked conditions in the Filter area.
Step 4. (Optional) Click the Clear Filter button to uncheck any of the conditions and clear the fields in the Filter area.
Step 1. Choose the desired key from the Dynamic Address Table Sort Key drop-down list for which the Dynamic Address Table is filtered. The drop-down list contains the VLAN ID, MAC Address, and Interface.
Note: In this example, VLAN ID is chosen.
Step 2. Click the Go button to sort the Dynamic Address Table.
Step 3. (Optional) Click the buttonto clear the MAC addresses from the Dynamic Address Table.
Step 4. To permanently save the configuration, click the blinking button at the upper portion of the web-based utility.
© 2017 Cisco Systems, Inc. All rights reserved.
Revision | Publish Date | Comments |
---|---|---|
1.0 |
11-Dec-2018 |
Initial Release |