{"id":24430,"date":"2026-11-06T15:59:32","date_gmt":"2026-11-06T07:59:32","guid":{"rendered":"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html"},"modified":"2026-11-06T15:59:32","modified_gmt":"2026-11-06T07:59:32","slug":"how-to-add-static-mac-address-on-cisco-switch","status":"publish","type":"post","link":"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html","title":{"rendered":"How to Add Static MAC Address on Cisco Switch"},"content":{"rendered":"<p>In an enterprise Ethernet local area network (LAN), Cisco switches make forwarding decisions at Layer 2 using a Content-Addressable Memory (CAM) table. Under standard operating conditions, this table is populated dynamically: the switch inspects the source Media Access Control (MAC) address of incoming frames, notes the physical port or Port-Channel on which the frame arrived, and records that mapping alongside its corresponding Virtual Local Area Network (VLAN). <\/p>\n<p>While dynamic learning is sufficient for the vast majority of network traffic, certain operational scenarios require deterministic forwarding. Binding a static MAC address to a specific interface ensures that frames destined for a critical host\u2014such as a default gateway, a dedicated database server, a network storage appliance, or legacy industrial automation equipment\u2014are routed directly to the designated switchport without delay. Configuring static entries also hardens the network against Layer 2 spoofing and suppresses unknown unicast flooding. <\/p>\n<p>This comprehensive guide covers how static MAC addresses operate within the CAM table, how to configure, verify, and delete them on Cisco IOS and IOS-XE platforms, how they compare to Port Security sticky MACs, how to apply them on data center Cisco Nexus (NX-OS) switches, and how to resolve common forwarding failures.<\/p>\n<hr \/>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_17 counter-hierarchy counter-decimal ez-toc-light-blue\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" style=\"display: none;\"><i class=\"ez-toc-glyphicon ez-toc-icon-toggle\"><\/i><\/a><\/span><\/div>\n<nav><ul class=\"ez-toc-list ez-toc-list-level-1\"><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\/#CAM_Table_Mechanics_Persistence_Aging_Timers_and_Flooding_Prevention\" title=\"CAM Table Mechanics: Persistence, Aging Timers, and Flooding Prevention\">CAM Table Mechanics: Persistence, Aging Timers, and Flooding Prevention<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\/#1_Dynamic_CAM_Table_Population_and_the_Aging_Mechanism\" title=\"1. Dynamic CAM Table Population and the Aging Mechanism\">1. Dynamic CAM Table Population and the Aging Mechanism<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\/#2_Static_Persistence_Across_Sessions_and_Reboots\" title=\"2. Static Persistence Across Sessions and Reboots\">2. Static Persistence Across Sessions and Reboots<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\/#3_Unknown_Unicast_Flooding_Elimination\" title=\"3. Unknown Unicast Flooding Elimination\">3. Unknown Unicast Flooding Elimination<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\/#4_Overriding_Dynamic_Learning_and_Spoofing_Protection\" title=\"4. Overriding Dynamic Learning and Spoofing Protection\">4. Overriding Dynamic Learning and Spoofing Protection<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\/#Configuring_Static_MAC_Addresses_in_Cisco_IOS_and_IOS-XE\" title=\"Configuring Static MAC Addresses in Cisco IOS and IOS-XE\">Configuring Static MAC Addresses in Cisco IOS and IOS-XE<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\/#Step_1_Collect_Required_Interface_and_Host_Parameters\" title=\"Step 1: Collect Required Interface and Host Parameters\">Step 1: Collect Required Interface and Host Parameters<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\/#Step_2_Enter_Global_Configuration_Mode\" title=\"Step 2: Enter Global Configuration Mode\">Step 2: Enter Global Configuration Mode<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\/#Step_3_Execute_the_Static_MAC_Address_Command\" title=\"Step 3: Execute the Static MAC Address Command\">Step 3: Execute the Static MAC Address Command<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\/#Step_4_Configure_MAC_Address_Filtering_Drop_Action\" title=\"Step 4: Configure MAC Address Filtering (Drop Action)\">Step 4: Configure MAC Address Filtering (Drop Action)<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\/#Step_5_Save_the_Running_Configuration\" title=\"Step 5: Save the Running Configuration\">Step 5: Save the Running Configuration<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\/#Verifying_and_Removing_Static_MAC_Table_Entries\" title=\"Verifying and Removing Static MAC Table Entries\">Verifying and Removing Static MAC Table Entries<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\/#Step_1_Inspect_the_Static_CAM_Table_Entries\" title=\"Step 1: Inspect the Static CAM Table Entries\">Step 1: Inspect the Static CAM Table Entries<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\/#Step_2_Query_a_Specific_MAC_Address\" title=\"Step 2: Query a Specific MAC Address\">Step 2: Query a Specific MAC Address<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\/#Step_3_Validate_Interface_Operational_and_VLAN_State\" title=\"Step 3: Validate Interface Operational and VLAN State\">Step 3: Validate Interface Operational and VLAN State<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\/#Step_4_Deleting_a_Static_MAC_Entry\" title=\"Step 4: Deleting a Static MAC Entry\">Step 4: Deleting a Static MAC Entry<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\/#Static_MAC_Entries_vs_Port_Security_Sticky_MAC_Operational_Comparison\" title=\"Static MAC Entries vs. Port Security Sticky MAC: Operational Comparison\">Static MAC Entries vs. Port Security Sticky MAC: Operational Comparison<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\/#When_to_Choose_Static_MAC_Entries\" title=\"When to Choose Static MAC Entries\">When to Choose Static MAC Entries<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\/#When_to_Choose_Port_Security_Sticky\" title=\"When to Choose Port Security Sticky\">When to Choose Port Security Sticky<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\/#Configuring_Static_MAC_Addresses_in_Cisco_Nexus_NX-OS\" title=\"Configuring Static MAC Addresses in Cisco Nexus NX-OS\">Configuring Static MAC Addresses in Cisco Nexus NX-OS<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-21\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\/#1_Architectural_Nuances_in_NX-OS\" title=\"1. Architectural Nuances in NX-OS\">1. Architectural Nuances in NX-OS<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-22\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\/#2_Step-by-Step_Configuration_in_NX-OS\" title=\"2. Step-by-Step Configuration in NX-OS\">2. Step-by-Step Configuration in NX-OS<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-23\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\/#3_Verification_and_Deletion_on_NX-OS\" title=\"3. Verification and Deletion on NX-OS\">3. Verification and Deletion on NX-OS<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-24\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\/#Troubleshooting_Static_MAC_Forwarding_Failures\" title=\"Troubleshooting Static MAC Forwarding Failures\">Troubleshooting Static MAC Forwarding Failures<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-25\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\/#FAQ_Common_Static_MAC_Issues_and_Solutions\" title=\"FAQ: Common Static MAC Issues and Solutions\">FAQ: Common Static MAC Issues and Solutions<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-26\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\/#Cisco_Official_Command_Reference_and_Documentation_Specifications\" title=\"Cisco Official Command Reference and Documentation Specifications\">Cisco Official Command Reference and Documentation Specifications<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-27\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\/#Command_Syntax_Specification\" title=\"Command Syntax Specification\">Command Syntax Specification<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-28\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\/#Parameter_Reference\" title=\"Parameter Reference\">Parameter Reference<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-29\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\/#Platform_Compatibility_Matrix\" title=\"Platform Compatibility Matrix\">Platform Compatibility Matrix<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-30\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\/#Official_Cisco_Documentation_Paths\" title=\"Official Cisco Documentation Paths\">Official Cisco Documentation Paths<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-31\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\/#Conclusion\" title=\"Conclusion\">Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"CAM_Table_Mechanics_Persistence_Aging_Timers_and_Flooding_Prevention\"><\/span>CAM Table Mechanics: Persistence, Aging Timers, and Flooding Prevention<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Understanding how static MAC entries alter the standard forwarding logic of a Cisco switch requires examining how hardware CAM tables manage dynamic addresses, aging timers, and unknown destinations.<\/p>\n<pre><code>                     +---------------------------------------+\n                     |        Ingress Ethernet Frame         |\n                     +---------------------------------------+\n                                         |\n                                         v\n                     +---------------------------------------+\n                     |    Inspect Destination MAC &amp; VLAN     |\n                     +---------------------------------------+\n                                         |\n                    \/--------------------\\--------------------\\\n                   \/                                           \\\n                  v                                             v\n     +--------------------------+                 +--------------------------+\n     | Static Entry in CAM      |                 | Dynamic Entry in CAM     |\n     +--------------------------+                 +--------------------------+\n     | \u2022 Permanent mapping      |                 | \u2022 300-second timer active|\n     | \u2022 Never ages out         |                 | \u2022 Flushed if inactive    |\n     | \u2022 Immune to port moves   |                 | \u2022 Overwritten on move    |\n     +--------------------------+                 +--------------------------+\n                  \\                                             \/\n                   \\--------------------\/----------------------\/\n                                        |\n                                        v\n                     +---------------------------------------+\n                     |  Direct Forwarding to Specified Port  |\n                     +---------------------------------------+\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"1_Dynamic_CAM_Table_Population_and_the_Aging_Mechanism\"><\/span>1. Dynamic CAM Table Population and the Aging Mechanism<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>When a host transmits an Ethernet frame, the switch records the source MAC address and ingress port into its CAM table. To prevent the table from filling up with inactive endpoints, Cisco switches apply a dynamic aging timer. The default aging time across Cisco Catalyst switches running IOS and IOS-XE is 300 seconds (5 minutes). If a connected device remains silent for longer than the configured aging interval, the switch purges the MAC entry from the CAM table.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"2_Static_Persistence_Across_Sessions_and_Reboots\"><\/span>2. Static Persistence Across Sessions and Reboots<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>A static MAC address entry completely bypasses the aging timer. Once entered into the switch configuration, the entry is flagged as permanent in hardware memory. It will never age out due to inactivity. Furthermore, because static entries are stored in the switch&#8217;s running configuration, saving the running configuration to NVRAM (<code>startup-config<\/code>) ensures that the static binding persists across switch reboots, power outages, and planned reload cycles.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"3_Unknown_Unicast_Flooding_Elimination\"><\/span>3. Unknown Unicast Flooding Elimination<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>When a switch receives a frame destined for a host whose MAC address is not present in the CAM table, it falls back to unknown unicast flooding: it replicates and broadcasts the frame out of all ports within the same VLAN except the receiving port. In networks hosting quiet servers or telemetry devices that rarely transmit outbound frames, dynamic CAM entries frequently age out, causing ongoing unicast flooding that degrades bandwidth and poses a packet-sniffing security risk. Defining a static MAC entry guarantees that the destination interface is always known, completely eliminating unicast flooding for that host.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"4_Overriding_Dynamic_Learning_and_Spoofing_Protection\"><\/span>4. Overriding Dynamic Learning and Spoofing Protection<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Static MAC entries hold administrative precedence over dynamically learned addresses. If an unauthorized machine connects to an alternate switchport and transmits frames spoofing a statically mapped MAC address, the switch ignores the rogue source frames for forwarding table updates. The CAM table remains anchored to the configured interface, keeping return traffic steered away from the attacker.<\/p>\n<hr \/>\n<h2><span class=\"ez-toc-section\" id=\"Configuring_Static_MAC_Addresses_in_Cisco_IOS_and_IOS-XE\"><\/span>Configuring Static MAC Addresses in Cisco IOS and IOS-XE<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Configuring a static MAC address on modern Cisco Catalyst switches running Cisco IOS or Cisco IOS-XE requires global configuration mode access. <\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_1_Collect_Required_Interface_and_Host_Parameters\"><\/span>Step 1: Collect Required Interface and Host Parameters<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Before modifying the forwarding table, ensure you have gathered the following exact parameters:<br \/>\n&#8211; <strong>MAC Address<\/strong>: Must be formatted in Cisco 4-digit dotted hexadecimal notation: <code>aaaa.bbbb.cccc<\/code> (e.g., <code>0050.56a1.2b3c<\/code>).<br \/>\n&#8211; <strong>VLAN ID<\/strong>: The exact Layer 2 broadcast domain (1 to 4094) through which the endpoint communicates.<br \/>\n&#8211; <strong>Target Interface<\/strong>: The physical port (e.g., <code>GigabitEthernet1\/0\/12<\/code>) or logical EtherChannel (e.g., <code>Port-channel 1<\/code>) directly attached to the host.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_2_Enter_Global_Configuration_Mode\"><\/span>Step 2: Enter Global Configuration Mode<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Log in to the switch CLI, elevate privileges, and enter configuration mode:<\/p>\n<pre><code class=\"language-text\">Switch&gt; enable\nSwitch# configure terminal\nEnter configuration commands, one per line. End with CNTL\/Z.\nSwitch(config)#\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Step_3_Execute_the_Static_MAC_Address_Command\"><\/span>Step 3: Execute the Static MAC Address Command<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Apply the static entry by linking the MAC address, the target VLAN, and the outbound interface:<\/p>\n<pre><code class=\"language-text\">Switch(config)# mac address-table static 0050.56a1.2b3c vlan 10 interface GigabitEthernet 1\/0\/12\n<\/code><\/pre>\n<p><em>(Note: Older legacy Cisco Catalyst switches running early IOS releases may use the hyphenated variant <code>mac-address-table static 0050.56a1.2b3c vlan 10 interface GigabitEthernet 1\/0\/12<\/code>.)<\/em><\/p>\n<p>If the target endpoint connects via an aggregated link, specify the Port-Channel interface instead:<\/p>\n<pre><code class=\"language-text\">Switch(config)# mac address-table static 0050.56a1.2b3c vlan 10 interface Port-channel 5\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Step_4_Configure_MAC_Address_Filtering_Drop_Action\"><\/span>Step 4: Configure MAC Address Filtering (Drop Action)<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Cisco IOS and IOS-XE also support using static MAC entries to discard traffic from blacklisted hardware addresses rather than forward them. To drop all frames matching a specific unicast MAC within a VLAN:<\/p>\n<pre><code class=\"language-text\">Switch(config)# mac address-table static dead.beef.0001 vlan 10 drop\n<\/code><\/pre>\n<p>Frames containing this MAC address as either source or destination will be dropped at ingress by switch hardware.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_5_Save_the_Running_Configuration\"><\/span>Step 5: Save the Running Configuration<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Ensure the static mapping is committed to NVRAM so it survives reboots:<\/p>\n<pre><code class=\"language-text\">Switch(config)# exit\nSwitch# copy running-config startup-config\nDestination filename [startup-config]? \nBuilding configuration...\n[OK]\n<\/code><\/pre>\n<hr \/>\n<h2><span class=\"ez-toc-section\" id=\"Verifying_and_Removing_Static_MAC_Table_Entries\"><\/span>Verifying and Removing Static MAC Table Entries<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Once configured, verify that the entry is active in the hardware forwarding table and learn how to remove it when hardware is replaced or re-cabled.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_1_Inspect_the_Static_CAM_Table_Entries\"><\/span>Step 1: Inspect the Static CAM Table Entries<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To view all statically configured entries in the switch CAM table, issue:<\/p>\n<pre><code class=\"language-text\">Switch# show mac address-table static\n          Mac Address Table\n-------------------------------------------\n\nVlan    Mac Address       Type        Ports\n----    -----------       --------    -----\n  10    0050.56a1.2b3c    STATIC      Gi1\/0\/12\n  10    dead.beef.0001    STATIC      Drop\nTotal Mac Addresses for this criterion: 2\n<\/code><\/pre>\n<p>To limit the query to a specific VLAN:<\/p>\n<pre><code class=\"language-text\">Switch# show mac address-table static vlan 10\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Step_2_Query_a_Specific_MAC_Address\"><\/span>Step 2: Query a Specific MAC Address<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To confirm the operational binding of an individual host:<\/p>\n<pre><code class=\"language-text\">Switch# show mac address-table address 0050.56a1.2b3c\n          Mac Address Table\n-------------------------------------------\n\nVlan    Mac Address       Type        Ports\n----    -----------       --------    -----\n  10    0050.56a1.2b3c    STATIC      Gi1\/0\/12\nTotal Mac Addresses for this criterion: 1\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Step_3_Validate_Interface_Operational_and_VLAN_State\"><\/span>Step 3: Validate Interface Operational and VLAN State<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>A static CAM entry requires an active, matching Layer 2 path to forward frames. Confirm that the port is physically up and that its VLAN assignment matches the static definition:<\/p>\n<pre><code class=\"language-text\">Switch# show interfaces GigabitEthernet 1\/0\/12 status\n\nPort      Name               Status       Vlan       Duplex  Speed Type\nGi1\/0\/12  Server_Primary     connected    10         a-full  a-1000 10\/100\/1000BaseTX\n<\/code><\/pre>\n<p>If the port is configured as a trunk, ensure that the target VLAN is active and allowed across the link:<\/p>\n<pre><code class=\"language-text\">Switch# show interfaces GigabitEthernet 1\/0\/12 switchport\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Step_4_Deleting_a_Static_MAC_Entry\"><\/span>Step 4: Deleting a Static MAC Entry<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Unlike dynamic MAC addresses\u2014which can be flushed instantly using EXEC commands like <code>clear mac address-table dynamic<\/code>\u2014static entries can only be deleted through configuration mode:<\/p>\n<pre><code class=\"language-text\">Switch# configure terminal\nSwitch(config)# no mac address-table static 0050.56a1.2b3c vlan 10 interface GigabitEthernet 1\/0\/12\nSwitch(config)# exit\n<\/code><\/pre>\n<p>If you configured a static drop entry, remove it with the corresponding drop syntax:<\/p>\n<pre><code class=\"language-text\">Switch(config)# no mac address-table static dead.beef.0001 vlan 10 drop\n<\/code><\/pre>\n<p>Confirm removal by re-running the verification command, and save the updated configuration:<\/p>\n<pre><code class=\"language-text\">Switch# show mac address-table address 0050.56a1.2b3c\nSwitch# copy running-config startup-config\n<\/code><\/pre>\n<hr \/>\n<h2><span class=\"ez-toc-section\" id=\"Static_MAC_Entries_vs_Port_Security_Sticky_MAC_Operational_Comparison\"><\/span>Static MAC Entries vs. Port Security Sticky MAC: Operational Comparison<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Administrators frequently debate whether to implement manual static MAC bindings or deploy switchport port security with sticky MAC learning. While both bind MAC addresses to switch ports, their architectural objectives, enforcement points, and administrative workflows differ fundamentally.<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Feature \/ Criterion<\/th>\n<th style=\"text-align: left;\">Static MAC Address (<code>mac address-table static<\/code>)<\/th>\n<th style=\"text-align: left;\">Port Security Sticky MAC (<code>switchport port-security mac-address sticky<\/code>)<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><strong>Primary Architectural Objective<\/strong><\/td>\n<td style=\"text-align: left;\">Layer 2 egress forwarding optimization and unicast flooding suppression.<\/td>\n<td style=\"text-align: left;\">Edge ingress access control and unauthorized host lockdown.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Configuration Level<\/strong><\/td>\n<td style=\"text-align: left;\">Global Configuration Mode (<code>Switch(config)#<\/code>).<\/td>\n<td style=\"text-align: left;\">Interface Configuration Mode (<code>Switch(config-if)#<\/code>).<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Address Population Method<\/strong><\/td>\n<td style=\"text-align: left;\">Manual manual entry by an administrator.<\/td>\n<td style=\"text-align: left;\">Dynamic snooping from ingress frames, automatically converted to running-config statements.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Traffic Direction Influenced<\/strong><\/td>\n<td style=\"text-align: left;\"><strong>Egress<\/strong>: Dictates where destination traffic is sent.<\/td>\n<td style=\"text-align: left;\"><strong>Ingress<\/strong>: Dictates what source MAC addresses are permitted into the switchport.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Enforcement on Foreign MACs<\/strong><\/td>\n<td style=\"text-align: left;\">Does <strong>not<\/strong> block other devices from transmitting frames on that port.<\/td>\n<td style=\"text-align: left;\">Blocks any unauthorized source MACs once maximum capacity is reached.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Violation Actions Available<\/strong><\/td>\n<td style=\"text-align: left;\">None (standard forwarding or global <code>drop<\/code>).<\/td>\n<td style=\"text-align: left;\"><code>protect<\/code>, <code>restrict<\/code>, or <code>shutdown<\/code> (err-disable the physical interface).<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>CAM Table Aging<\/strong><\/td>\n<td style=\"text-align: left;\">Never ages out; permanently pinned to CAM memory.<\/td>\n<td style=\"text-align: left;\">Bypasses standard 300s aging while in running-config; optional sticky aging timers can be configured.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Persistence Across Reboots<\/strong><\/td>\n<td style=\"text-align: left;\">Retained if saved to <code>startup-config<\/code>.<\/td>\n<td style=\"text-align: left;\">Retained if saved to <code>startup-config<\/code> after addresses are learned.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Multicast Support<\/strong><\/td>\n<td style=\"text-align: left;\">Supported (can map a multicast MAC to multiple interfaces).<\/td>\n<td style=\"text-align: left;\">Not supported (unicast host security only).<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Best-Fit Operational Use Case<\/strong><\/td>\n<td style=\"text-align: left;\">Dedicated servers, gateway routers, industrial devices, and unicast flooding suppression.<\/td>\n<td style=\"text-align: left;\">Access-layer user ports, VoIP phones, and preventing unauthorized switches or rogue endpoints.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><span class=\"ez-toc-section\" id=\"When_to_Choose_Static_MAC_Entries\"><\/span>When to Choose Static MAC Entries<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Choose static MAC entries when your primary objective is forwarding reliability rather than edge security. For example, when connecting network appliances that rarely send traffic upstream (which risks CAM aging), a static MAC entry prevents the switch from flooding packets across every port in the broadcast domain.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"When_to_Choose_Port_Security_Sticky\"><\/span>When to Choose Port Security Sticky<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Choose port security sticky when securing edge switchports against physical tampering. Port security prevents an employee or intruder from disconnecting an authorized workstation and plugging in an unauthorized laptop or rogue wireless access point.<\/p>\n<hr \/>\n<h2><span class=\"ez-toc-section\" id=\"Configuring_Static_MAC_Addresses_in_Cisco_Nexus_NX-OS\"><\/span>Configuring Static MAC Addresses in Cisco Nexus NX-OS<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In enterprise data centers running Cisco Nexus switches (Nexus 3000, 7000, 9000 Series), the underlying operating system is Cisco NX-OS. While the conceptual forwarding behavior matches IOS-XE, NX-OS provides modular syntax, slot\/port hardware naming conventions, and specialized flags such as <code>auto-learn<\/code>.<\/p>\n<pre><code>                     +---------------------------------------+\n                     |    Nexus NX-OS Static MAC Options     |\n                     +---------------------------------------+\n                                         |\n                    \/--------------------+--------------------\\\n                   \/                                           \\\n                  v                                             v\n     +--------------------------+                 +--------------------------+\n     | Standard Static Binding  |                 | Static with [auto-learn] |\n     +--------------------------+                 +--------------------------+\n     | \u2022 Strictly pinned to port|                 | \u2022 Pinned by default      |\n     | \u2022 Moves cause drops      |                 | \u2022 Auto-updates if MAC is |\n     | \u2022 Ideal for bare metal   |                 |   detected on a new port |\n     |   and fixed gateways     |                 | \u2022 Ideal for VM migration |\n     +--------------------------+                 +--------------------------+\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"1_Architectural_Nuances_in_NX-OS\"><\/span>1. Architectural Nuances in NX-OS<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>In Cisco NX-OS:<br \/>\n&#8211; Interface names follow modular slot\/port designations (e.g., <code>Ethernet 1\/10<\/code> or breakout notations like <code>Ethernet 1\/1\/1<\/code>).<br \/>\n&#8211; Static MAC entries can be assigned directly to physical ports, port-channels, or set to <code>drop<\/code>.<br \/>\n&#8211; NX-OS supports the optional <code>auto-learn<\/code> parameter. When configured, if the host moves to a different port (such as during a virtual machine vMotion event or physical NIC team failover), NX-OS automatically updates the entry to the new interface rather than blackholing frames.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"2_Step-by-Step_Configuration_in_NX-OS\"><\/span>2. Step-by-Step Configuration in NX-OS<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Enter configuration mode on the Nexus switch:<\/p>\n<pre><code class=\"language-text\">nexus-switch# configure terminal\nnexus-switch(config)#\n<\/code><\/pre>\n<p>Bind a static unicast address to an access or trunk interface:<\/p>\n<pre><code class=\"language-text\">nexus-switch(config)# mac address-table static 0050.56bb.01a2 vlan 100 interface Ethernet 1\/10\n<\/code><\/pre>\n<p>To configure a static MAC entry over an EtherChannel \/ vPC:<\/p>\n<pre><code class=\"language-text\">nexus-switch(config)# mac address-table static 0050.56bb.01a2 vlan 100 port-channel 10\n<\/code><\/pre>\n<p>To enable dynamic migration tracking using the NX-OS <code>auto-learn<\/code> keyword:<\/p>\n<pre><code class=\"language-text\">nexus-switch(config)# mac address-table static 0050.56bb.01a2 vlan 100 interface Ethernet 1\/10 auto-learn\n<\/code><\/pre>\n<p>To configure hardware-level frame dropping for an unauthorized address:<\/p>\n<pre><code class=\"language-text\">nexus-switch(config)# mac address-table static 0000.dead.beef vlan 100 drop\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"3_Verification_and_Deletion_on_NX-OS\"><\/span>3. Verification and Deletion on NX-OS<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To verify active entries on a Nexus switch:<\/p>\n<pre><code class=\"language-text\">nexus-switch# show mac address-table static\nLegend: \n        * - primary entry, G - Gateway MAC, (R) - Routed MAC, O - Overlay MAC\n        age - seconds since last seen,+ - primary entry using vPC Peer-Link\nVLAN     MAC Address      Type      age     Secure NTFY Ports\n---------+-----------------+--------+---------+------+----+------------------\n* 100     0050.56bb.01a2   static   -         F      F    Eth1\/10\n<\/code><\/pre>\n<p>To delete the static MAC binding:<\/p>\n<pre><code class=\"language-text\">nexus-switch(config)# no mac address-table static 0050.56bb.01a2 vlan 100 interface Ethernet 1\/10\n<\/code><\/pre>\n<p>Save the active Nexus configuration to NVRAM:<\/p>\n<pre><code class=\"language-text\">nexus-switch# copy running-config startup-config\n<\/code><\/pre>\n<hr \/>\n<h2><span class=\"ez-toc-section\" id=\"Troubleshooting_Static_MAC_Forwarding_Failures\"><\/span>Troubleshooting Static MAC Forwarding Failures<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>When packets destined for a statically mapped device fail to arrive, use this troubleshooting sequence to identify and correct the underlying fault.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"FAQ_Common_Static_MAC_Issues_and_Solutions\"><\/span>FAQ: Common Static MAC Issues and Solutions<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<h4>Q: The static entry appears in the CAM table, but the destination device cannot receive frames. What is causing this?<\/h4>\n<p><strong>A:<\/strong> This is almost always caused by an operational VLAN mismatch or interface link failure.<br \/>\n1. Check the physical and operational link state with <code>show interfaces &lt;id&gt; status<\/code>. If the interface is <code>notconnect<\/code>, <code>down\/down<\/code>, or in an <code>err-disabled<\/code> state, the switch will discard egress frames despite the static CAM table configuration.<br \/>\n2. Verify VLAN membership using <code>show interfaces &lt;id&gt; switchport<\/code>. If the static MAC command specifies <code>vlan 20<\/code>, but the access port is configured for <code>switchport access vlan 10<\/code>, the switch cannot deliver frames across different broadcast domains.<br \/>\n3. On 802.1Q trunk links, confirm that the static entry&#8217;s VLAN is included in the <code>switchport trunk allowed vlan<\/code> list and is not blocked by Spanning Tree Protocol (STP).<\/p>\n<h4>Q: What happens if a server with a static MAC entry is physically relocated to a different switchport?<\/h4>\n<p><strong>A:<\/strong> Traffic directed to that server will be blackholed. Because static CAM entries override dynamic address learning, the switch will ignore inbound frames from the server on its new port and will continue sending all outbound frames to the old port. You must explicitly remove the old static command and create a new static binding referencing the updated interface. On Cisco Nexus switches, this issue can be mitigated in advance using the <code>auto-learn<\/code> flag.<\/p>\n<h4>Q: Why is the switch dropping frames immediately after configuring a static MAC command?<\/h4>\n<p><strong>A:<\/strong> Check if the command was entered with the <code>drop<\/code> keyword instead of an <code>interface<\/code> target. The command <code>mac address-table static &lt;mac&gt; vlan &lt;vlan&gt; drop<\/code> instructs hardware ASICs to discard all ingress and egress unicast traffic matching that address within the specified VLAN. Review running configuration lines with:<\/p>\n<pre><code class=\"language-text\">Switch# show running-config | include mac address-table static\n<\/code><\/pre>\n<h4>Q: Why does static MAC configuration conflict with 802.1X or Port Security?<\/h4>\n<p><strong>A:<\/strong> Hardware port security and dynamic network access control (802.1X \/ MAB) enforce strict MAC-to-port authentication tables. If an interface has <code>switchport port-security<\/code> active and a static CAM entry points to that same port with an unlisted MAC, the port security ASIC logic will trigger a security violation, incrementing error counters or shutting down the interface (<code>err-disable<\/code>). Do not combine manual global static MAC forwarding entries on switchports configured for dynamic port security or 802.1X access sessions without matching host authorization policies.<\/p>\n<h4>Q: How can I verify if Spanning Tree is blocking traffic to my static MAC address?<\/h4>\n<p><strong>A:<\/strong> Run <code>show spanning-tree interface &lt;interface-id&gt;<\/code> to inspect the port state. If Spanning Tree has placed the port in <code>BLK<\/code> (blocking) or <code>DIS<\/code> (discarding) to prevent a network loop, all data frames to and from the static MAC address are dropped at Layer 2.<\/p>\n<hr \/>\n<h2><span class=\"ez-toc-section\" id=\"Cisco_Official_Command_Reference_and_Documentation_Specifications\"><\/span>Cisco Official Command Reference and Documentation Specifications<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>For formal engineering implementations, auditing, and configuration templates, use the command reference specifications below.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Command_Syntax_Specification\"><\/span>Command Syntax Specification<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<pre><code class=\"language-text\">mac address-table static &lt;mac-address&gt; vlan &lt;vlan-id&gt; {interface &lt;interface-id&gt; | drop}\nno mac address-table static &lt;mac-address&gt; vlan &lt;vlan-id&gt; [{interface &lt;interface-id&gt; | drop}]\n<\/code><\/pre>\n<p><em>(NX-OS Additional Syntax)<\/em>:<\/p>\n<pre><code class=\"language-text\">mac address-table static &lt;mac-address&gt; vlan &lt;vlan-id&gt; {interface &lt;interface-id&gt; | port-channel &lt;number&gt; | drop} [auto-learn]\nno mac address-table static &lt;mac-address&gt; vlan &lt;vlan-id&gt;\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Parameter_Reference\"><\/span>Parameter Reference<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><code>&lt;mac-address&gt;<\/code>: The 48-bit Ethernet MAC address. Formatted as three groups of four hexadecimal digits separated by dots (<code>hhhh.hhhh.hhhh<\/code>). Multicast MAC addresses are permitted only when binding to multiple outbound interfaces; they cannot be used with the <code>drop<\/code> parameter.<\/li>\n<li><code>vlan &lt;vlan-id&gt;<\/code>: Specifies the VLAN identifier associated with the frame. Range is 1 to 4094.<\/li>\n<li><code>interface &lt;interface-id&gt;<\/code>: Defines the target physical Ethernet interface (e.g., <code>GigabitEthernet1\/0\/1<\/code>, <code>TenGigabitEthernet1\/0\/2<\/code>, <code>Ethernet1\/1<\/code>) or logical bundle (<code>Port-channel 1<\/code>).<\/li>\n<li><code>drop<\/code>: Optional filter keyword supported on modern Catalyst and Nexus switches. Discards frames where the source or destination address matches the configured MAC in the designated VLAN.<\/li>\n<li><code>auto-learn<\/code>: (Cisco NX-OS only) Permits the switch to dynamically update its static CAM table if the address is observed ingressing on an alternate port.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Platform_Compatibility_Matrix\"><\/span>Platform Compatibility Matrix<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong>Cisco Catalyst 9000 Family (9200, 9300, 9400, 9500, 9600)<\/strong>: Supported across all Cisco IOS-XE releases (e.g., Bengaluru 17.6, Cupertino 17.9, Dublin 17.12, and later).<\/li>\n<li><strong>Cisco Catalyst Legacy Family (2960X, 3560X, 3750X, 3850)<\/strong>: Supported on Cisco IOS 12.2, 15.0, 15.2, and IOS-XE 3.x\/16.x.<\/li>\n<li><strong>Cisco Nexus Family (3000, 5000, 7000, 9000)<\/strong>: Supported on all major releases of Cisco NX-OS (7.x, 9.x, 10.x).<\/li>\n<li><strong>Cisco Industrial Ethernet (IE 2000, IE 3400, IE 4000)<\/strong>: Supported in all Cisco IOS and IOS-XE industrial routing\/switching software images.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Official_Cisco_Documentation_Paths\"><\/span>Official Cisco Documentation Paths<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>For further details, consult the following official technical documentation:<br \/>\n&#8211; <em>Cisco Catalyst 9300 Series Switches System Management Configuration Guide (Layer 2 MAC Address Table Management)<\/em>.<br \/>\n&#8211; <em>Cisco IOS-XE Command Reference: Layer 2\/3 and Security Commands (<code>mac address-table static<\/code>)<\/em>.<br \/>\n&#8211; <em>Cisco Nexus 9000 Series NX-OS Layer 2 Switching Configuration Guide (&#8220;Configuring MAC Address Tables&#8221;)<\/em>.<\/p>\n<hr \/>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Configuring static MAC addresses on Cisco Catalyst and Nexus switches gives administrators precise, deterministic control over Layer 2 forwarding paths. By permanently binding an address to an interface, you eliminate the delays and network overhead of unknown unicast flooding while ensuring that vital infrastructure components remain reachable without relying on dynamic CAM aging cycles. <\/p>\n<p>However, because static entries override dynamic learning and lack the automated security enforcement of Port Security or 802.1X, they should be deployed deliberately. Maintain disciplined documentation of your static entries, verify interface operational states and VLAN tagging carefully, and remember to negate existing bindings whenever endpoint hardware or cabling changes occur.<\/p>\n<div class='sfsi_Sicons' style='width: 100%; display: inline-block; vertical-align: middle; text-align:left'><div style='margin:0px 8px 0px 0px; line-height: 24px'><span>Please follow and like us:<\/span><\/div><div class='sfsi_socialwpr'><div class='sf_fb_share sf_icon' style='text-align:left;vertical-align: middle;'><a href='https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fcciedump.spoto.net%2Fblog%2Fhow-to-add-static-mac-address-on-cisco-switch_24430.html' style='display:inline-block;'  > <img class='sfsi_wicon'  data-pin-nopin='true' width='auto' height='auto' alt='fb-share-icon' title='Facebook Share' src='https:\/\/cciedump.spoto.net\/blog\/wp-content\/plugins\/ultimate-social-media-icons\/images\/visit_icons\/fbshare_bck.png'  \/><\/a><\/div><div class='sf_twiter sf_icon' style='display: inline-block;vertical-align: middle;width: auto;margin-left: 7px;'>\r\n\t\t\t\t\t\t<a target='_blank' href='https:\/\/twitter.com\/intent\/tweet?text=How+to+Add+Static+MAC+Address+on+Cisco+Switch+https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html'style='display:inline-block' >\r\n\t\t\t\t\t\t\t<img data-pin-nopin= true width='auto' class='sfsi_wicon' src='https:\/\/cciedump.spoto.net\/blog\/wp-content\/plugins\/ultimate-social-media-icons\/images\/visit_icons\/en_US_Tweet.svg' alt='Tweet' title='Tweet' >\r\n\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t<\/div><div class='sf_pinit sf_icon' style='text-align:left;vertical-align: middle;float:left;line-height: 33px;width:auto;margin: 0 -2px;'><a href='#'  onclick='sfsi_pinterest_modal_images(event,\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\",\"How to Add Static MAC Address on Cisco Switch\")' style='display:inline-block;'  > <img class='sfsi_wicon'  data-pin-nopin='true' width='auto' height='auto' alt='fb-share-icon' title='Pin Share' src='https:\/\/cciedump.spoto.net\/blog\/wp-content\/plugins\/ultimate-social-media-icons\/images\/share_icons\/Pinterest_Save\/en_US_save.svg'  \/><\/a><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>In an enterprise Ethernet local area network (LAN), Cisco switches make forwarding decisions at Layer 2 using a Content-Addressable Memory (CAM) table. Under standard operating conditions, this table is populated dynamically: the switch inspects the source Media Access Control (MAC) address of incoming frames, notes the physical port or Port-Channel on which the frame arrived,&#8230; &raquo; <a class=\"read-more-link\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\">read more<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,608],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Add Static MAC Address on Cisco Switch - SPOTO Official Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Add Static MAC Address on Cisco Switch - SPOTO Official Blog\" \/>\n<meta property=\"og:description\" content=\"In an enterprise Ethernet local area network (LAN), Cisco switches make forwarding decisions at Layer 2 using a Content-Addressable Memory (CAM) table. Under standard operating conditions, this table is populated dynamically: the switch inspects the source Media Access Control (MAC) address of incoming frames, notes the physical port or Port-Channel on which the frame arrived,... &raquo; read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\" \/>\n<meta property=\"og:site_name\" content=\"SPOTO Official Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-06T07:59:32+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"SPOTO \u7f16\u8f91\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"15 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638\",\"name\":\"SPOTO Club\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2020\/03\/spoto-facemask-96x96.jpg\",\"contentUrl\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2020\/03\/spoto-facemask-96x96.jpg\",\"caption\":\"SPOTO Club\"},\"logo\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#personlogo\"},\"description\":\"SPOTO is an excellent leader in IT certification training for 20+ years. We offer 100% real Cisco CCNA, CCNP exam dumps, CCIE Lab study materials, PMP, CISA, CISM, AWS, Palo Alto, and other IT exam dumps. We have helped thousands of candidates around the world to pass their IT exams on the first try! As the first-class online IT training organization in China, SPOTO cooperates with many giant Internet companies in China like Tencent, Baidu, and Alibaba. What\u2019s more, we have won lots of awards in IT education training such as \u201cTop Ten Influential Brands In Online Education Industry\u201d given by Baidu, \u201cOfficial IT Online Training Organization\u201d awarded by Tencent Class, etc. Join us: https:\/\/cciedump.spoto.net\/ Contact us: E-mail: support@spoto.net Phone \/ WhatsApp: +86 18344981205\",\"sameAs\":[\"https:\/\/cciedump.spoto.net\/\"]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#website\",\"url\":\"https:\/\/cciedump.spoto.net\/blog\/\",\"name\":\"SPOTO Official Blog\",\"description\":\"Focus on Online IT Training for 20+ Years\",\"publisher\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cciedump.spoto.net\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html#webpage\",\"url\":\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\",\"name\":\"How to Add Static MAC Address on Cisco Switch - SPOTO Official Blog\",\"isPartOf\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#website\"},\"datePublished\":\"2026-11-06T07:59:32+00:00\",\"dateModified\":\"2026-11-06T07:59:32+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cciedump.spoto.net\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Add Static MAC Address on Cisco Switch\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html#article\",\"isPartOf\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html#webpage\"},\"author\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/4edd6074d9632c14eda17a2205a88dd1\"},\"headline\":\"How to Add Static MAC Address on Cisco Switch\",\"datePublished\":\"2026-11-06T07:59:32+00:00\",\"dateModified\":\"2026-11-06T07:59:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html#webpage\"},\"wordCount\":2309,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638\"},\"articleSection\":[\"CCNA Certification\",\"Cisco Certification\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html#respond\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/4edd6074d9632c14eda17a2205a88dd1\",\"name\":\"SPOTO \u7f16\u8f91\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/litespeed\/avatar\/f525ded90e4ff384a19ebdbe47c80d22.jpg?ver=1793955308\",\"contentUrl\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/litespeed\/avatar\/f525ded90e4ff384a19ebdbe47c80d22.jpg?ver=1793955308\",\"caption\":\"SPOTO \u7f16\u8f91\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Add Static MAC Address on Cisco Switch - SPOTO Official Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html","og_locale":"en_US","og_type":"article","og_title":"How to Add Static MAC Address on Cisco Switch - SPOTO Official Blog","og_description":"In an enterprise Ethernet local area network (LAN), Cisco switches make forwarding decisions at Layer 2 using a Content-Addressable Memory (CAM) table. Under standard operating conditions, this table is populated dynamically: the switch inspects the source Media Access Control (MAC) address of incoming frames, notes the physical port or Port-Channel on which the frame arrived,... &raquo; read more","og_url":"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html","og_site_name":"SPOTO Official Blog","article_published_time":"2026-11-06T07:59:32+00:00","twitter_card":"summary_large_image","twitter_misc":{"Written by":"SPOTO \u7f16\u8f91","Est. reading time":"15 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Person","Organization"],"@id":"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638","name":"SPOTO Club","image":{"@type":"ImageObject","@id":"https:\/\/cciedump.spoto.net\/blog\/#personlogo","inLanguage":"en-US","url":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2020\/03\/spoto-facemask-96x96.jpg","contentUrl":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2020\/03\/spoto-facemask-96x96.jpg","caption":"SPOTO Club"},"logo":{"@id":"https:\/\/cciedump.spoto.net\/blog\/#personlogo"},"description":"SPOTO is an excellent leader in IT certification training for 20+ years. We offer 100% real Cisco CCNA, CCNP exam dumps, CCIE Lab study materials, PMP, CISA, CISM, AWS, Palo Alto, and other IT exam dumps. We have helped thousands of candidates around the world to pass their IT exams on the first try! As the first-class online IT training organization in China, SPOTO cooperates with many giant Internet companies in China like Tencent, Baidu, and Alibaba. What\u2019s more, we have won lots of awards in IT education training such as \u201cTop Ten Influential Brands In Online Education Industry\u201d given by Baidu, \u201cOfficial IT Online Training Organization\u201d awarded by Tencent Class, etc. Join us: https:\/\/cciedump.spoto.net\/ Contact us: E-mail: support@spoto.net Phone \/ WhatsApp: +86 18344981205","sameAs":["https:\/\/cciedump.spoto.net\/"]},{"@type":"WebSite","@id":"https:\/\/cciedump.spoto.net\/blog\/#website","url":"https:\/\/cciedump.spoto.net\/blog\/","name":"SPOTO Official Blog","description":"Focus on Online IT Training for 20+ Years","publisher":{"@id":"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cciedump.spoto.net\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html#webpage","url":"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html","name":"How to Add Static MAC Address on Cisco Switch - SPOTO Official Blog","isPartOf":{"@id":"https:\/\/cciedump.spoto.net\/blog\/#website"},"datePublished":"2026-11-06T07:59:32+00:00","dateModified":"2026-11-06T07:59:32+00:00","breadcrumb":{"@id":"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cciedump.spoto.net\/blog"},{"@type":"ListItem","position":2,"name":"How to Add Static MAC Address on Cisco Switch"}]},{"@type":"Article","@id":"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html#article","isPartOf":{"@id":"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html#webpage"},"author":{"@id":"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/4edd6074d9632c14eda17a2205a88dd1"},"headline":"How to Add Static MAC Address on Cisco Switch","datePublished":"2026-11-06T07:59:32+00:00","dateModified":"2026-11-06T07:59:32+00:00","mainEntityOfPage":{"@id":"https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html#webpage"},"wordCount":2309,"commentCount":0,"publisher":{"@id":"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638"},"articleSection":["CCNA Certification","Cisco Certification"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/cciedump.spoto.net\/blog\/how-to-add-static-mac-address-on-cisco-switch_24430.html#respond"]}]},{"@type":"Person","@id":"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/4edd6074d9632c14eda17a2205a88dd1","name":"SPOTO \u7f16\u8f91","image":{"@type":"ImageObject","@id":"https:\/\/cciedump.spoto.net\/blog\/#personlogo","inLanguage":"en-US","url":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/litespeed\/avatar\/f525ded90e4ff384a19ebdbe47c80d22.jpg?ver=1793955308","contentUrl":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/litespeed\/avatar\/f525ded90e4ff384a19ebdbe47c80d22.jpg?ver=1793955308","caption":"SPOTO \u7f16\u8f91"}}]}},"_links":{"self":[{"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/posts\/24430"}],"collection":[{"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/comments?post=24430"}],"version-history":[{"count":0,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/posts\/24430\/revisions"}],"wp:attachment":[{"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/media?parent=24430"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/categories?post=24430"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/tags?post=24430"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}