Configure static MAC address

Although Cisco switches dynamically build the MAC address table by using the source MAC address of the received frames, you can also manually add a MAC address to the switch’s MAC address table. The static MAC entries will be retained even after the switch is restarted.

To configure a static MAC address, the following command is used:

(config)#mac-address-table static MAC_ADDRESS vlan ID interface INTERFACE

The following command will permanently assign the MAC address of 1111.1111.1111 to the interface Fa0/2, VLAN 1:

SW1(config)#mac-address-table static 1111.1111.1111 vlan 1 interface fa0/2

To verify the configuration, we can use the show mac address table command:

SW1(config)#do show mac-address-table
Mac Address Table

Vlan Mac Address Type Ports
---- ----------- -------- -----

1 1111.1111.1111 STATIC Fa0/2

To delete the static entry from the MAC address table, re-enter the command with the no keyword in front.

Prerequisites for 200-301

200-301 is a single exam, consisting of about 120 questions. It covers a wide range of topics, such as routing and switching, security, wireless networking, and even some programming concepts. As with other Cisco certifications, you can take it at any of the Pearson VUE certification centers.

The recommended training program that can be taken at a Cisco academy is called Implementing and Administering Cisco Solutions (CCNA). The successful completion of a training course will get you a training badge.

Full Version 200-301 Dumps

Try 200-301 Dumps Demo