S3400-48T4SP PoE+ Switch MAC Address Table Configuration
1. MAC Address Table Configuration
This chapter describes the functions of configuring the MAC address table on the switch, including:
- Configuring static MAC address
- Configuring MAC address aging time
- Configuring black hole MAC address
- Displaying MAC address table
- Removing dynamic MAC address
1.1 MAC Address Configuration Task List
The following tasks are covered in this section:
- Configuring static MAC address
- Configuring MAC address aging time
- Configuring black hole MAC address
- Displaying MAC address table
- Removing dynamic MAC address
1.2 MAC Address Configuration Tasks
1.2.1 Configuring Static MAC Address
A static MAC address table entry is one that cannot be aged by the switch and can only be deleted manually. Static MAC addresses can be added or deleted as required. Enter privilege mode and use the following steps to add or delete a static MAC address:
Command | Purpose |
---|---|
config |
Enters the global configuration mode. |
[no] mac address-table static mac-addr vlan vlan-id interface interface-id |
Adds/deletes a static MAC address entry. The mac-addr specifies the MAC address; vlan-id means VLAN number (range: 1-4094); The interface-id is the port name. |
exit |
Goes back to the EXEC mode. |
write |
Saves the settings. |
1.2.2 Configuring MAC Address Aging Time
When a dynamic MAC address is not used within a specified aging time, the switch will delete it from the MAC address table. The MAC aging time can be set according to actual needs. The default aging time is 300 seconds. Enter EXEC mode and use the following steps to configure the aging time of the MAC address:
Command | Purpose |
---|---|
config |
Enters the global configuration mode. |
mac address-table aging-time [0 | 10-1000000] |
Sets the aging time of the MAC address table. 0 means the address does not age. The range of MAC address aging time is 10 to 1,000,000 seconds. |
exit |
Goes back to the EXEC mode. |
write |
Saves the settings. |
1.2.3 Configuring Black Hole MAC
Black hole MAC address entries are those that cannot communicate but can only be removed manually. Black hole MAC addresses can be added or deleted as required. Enter EXEC mode and use the following steps to add or delete a static MAC address:
Command | Purpose |
---|---|
config |
Enters the global configuration mode. |
[no] mac address-table blackholemac-addr vlan vlan-id |
Adds/deletes a black hole MAC address entry. The mac-addr specifies the MAC address; vlan-id means VLAN number (range: 1-4094). |
exit |
Goes back to the EXEC mode. |
write |
Saves the settings. |
1.2.4 Displaying MAC Address Table
To view MAC address table information for debugging or management, use the show
command:
Command | Purpose |
---|---|
show mac address-table [dynamic [interface interface-id | vlan vlan-id] | static | brief | multicast | interface interface-id | vlan vlan-id | H.H.H | blackhole] |
Displays MAC address table information. Options include: dynamic (dynamically learned MAC addresses), interface-id (interface name), vlan-id (VLAN ID, range: 1-4094), static (static MAC addresses), brief (brief information), multicast (multicast MAC addresses), interface (interface MAC addresses), vlan (VLAN MAC addresses), H.H.H (specific address), and blackhole (blackhole MAC addresses). |
1.2.5 Removing Dynamic MAC Address
In some cases, it may be necessary to clear learned MAC addresses. Enter privileged mode and use the following commands to delete a dynamic MAC address:
Command | Purpose |
---|---|
clear mac address-table dynamic [address mac-addr | interface interface-id | vlan vlan-id] |
Deletes a dynamic MAC address entry. dynamic refers to dynamically learned MAC addresses. mac-addr is a MAC address. interface-id is the interface name. vlan-id is the VLAN number (range: 1 to 4094). |
File Info : application/pdf, 4 Pages, 314.27KB
DocumentDocumentReferences
FS.com - Data Center , Enterprise & ISP Technology Solution
FS.com - HPC, Data Center, Enterprise, Telecom
Related Documents
![]() |
FS S3400-48T4SP PoE+ Switch NTP Configuration Guide This document provides a guide on configuring Network Time Protocol (NTP) on the FS S3400-48T4SP PoE+ Switch. It covers NTP overview, configuration as an NTP server, authentication, and association. |
![]() |
FS PoE+ Series Switches Quick Start Guide V6.0 Quick start guide for FS PoE+ Series Gigabit L2+ Managed Switches (8/16/24/48-port). Covers hardware overview, installation, configuration, and troubleshooting for models like S3150, S3260, S3400. |
![]() |
FS PoE+ Series Switches Basic Configuration Guide for Network Setup Comprehensive guide to configuring FS PoE+ Series Switches, covering system management, file operations, IP addressing, default routes, terminal settings, and secure SSH access. Essential for network administrators. |
![]() |
FS PoE+ Series Switches Reset and Recovery System Configuration Guide A configuration guide for FS PoE+ Series Switches, detailing the reset and recovery system, including connection steps, software download, and factory reset procedures. |
![]() |
FS S3150-S5500 Series Switches Software Upgrade Guide Learn how to upgrade the software for FS S3150, S3260, S3400, S3700, S3900, and S5500 series network switches using CLI and Web interfaces. This guide covers essential steps for maintaining optimal performance. |
![]() |
FS PoE+ Series Switch S3260-16T4FP Typical Network Solution This document outlines a typical network solution utilizing the FS PoE+ Series Switch S3260-16T4FP. It details the product's capabilities, presents a case study for an SMB network, and lists relevant hardware components, focusing on performance, security, and scalability. |
![]() |
FS S5850-24S2Q Switch Reset and Recovery Configuration Guide Comprehensive guide for FS S5850-24S2Q network switch reset and recovery system configuration, covering connection, software, and factory reset steps. |
![]() |
FS S5850-24S2Q Managed L2/L3 Routing Switch Quick Start Guide A quick start guide for the FS S5850-24S2Q Managed L2/L3 Routing Switch, covering hardware overview, installation requirements, mounting, grounding, connecting ports, and basic configuration. |