

CISCO MAC ADDRESS TABLE 消去 UPDATE
If you enable the auto-learn option, the switch will update the entry if the same MAC address is seen on a different port. Specifies a static address to add to the MAC address table. switch(config-)# mac-address-table static mac_address vlan vlan-id You can also configure a static MAC address in interface configuration mode or VLAN configuration mode.Ģ. These addresses are static MAC addresses. You can configure MAC addresses for the switch. The switch uses an aging mechanism, defined by a configurable aging timer, so if an address remains inactive for a specified number of seconds, it is removed from the address table. The address table can store a number of unicast and multicast address entries without flooding any frames. The interface-number argument designates the module and port number. The following values are valid for interface-type: fastethernet gigabitethernet port-channel Setting the Module and Port. A multicast address can accept more than one interface as its destination. Enter the clear mac address-table dynamic command to remove all dynamic entries from the table. In addition, you can enter a multicast address as a statically configured MAC address. These static MAC entries are retained across a reboot of the switch.

You can also enter a MAC address, which is termed a static MAC address, into the table. The switch then forwards subsequent frames to a single LAN port without flooding all LAN ports. When the destination station replies, the switch adds its relevant MAC source address and port ID to the address table. Note that MAC address table and ARP table have nothing in common, and you do not need to maintain one to populate the other. ARP table maps IP addresses of directly attached neighbors to their MAC addresses. When the switch receives a frame for a MAC destination address not listed in its address table, it floods the frame to all LAN ports of the same VLAN except the port that received the frame. MAC address table maps MAC addresses to switchports where the owners of individual MAC addresses are attached. The switch dynamically builds the address table by using the MAC source address of the frames received.


When the switch receives a frame, it associates the media access control (MAcC) address of the sending network device with the LAN port on which it was received. If you specify an interface but do not specify an address, all addresses on the specified interface are removed.To switch frames between LAN ports, the switch maintains an address table. If you specify an address but do not specify an interface, the address is deleted from all interfaces. (Optional) Displays the MAC address table. If the clear mac-address-table command is invoked with no options, all dynamic addresses are removed. switch clear mac address-table dynamic vlan vlanid Clears the dynamic address entries from the Layer 2 MAC address table. Thanks for your answer ,is there any chance that Auto Aging time will be disabled. you can also reduce mac table aging time you desire from 10-100000 sec using mac-address-table aging-time command. If you specify an interface but do not specify an address, all addresses on the specified interface are removed. Normally in switch MAC table is auto update after every 300 sec. If the clear mac-address-table command is invoked with no options, all MAC addresses are removed.
CISCO MAC ADDRESS TABLE 消去 SERIES
This command was integrated into Cisco IOS Release 12.2(11)T.Ĭisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers This command was integrated into Cisco IOS Release 12.2(8)T on Cisco 2600 series, Cisco 3600 series, and Cisco 3700 series routers. This command was introduced on Cisco 2600 series, Cisco 3600 series, and Cisco 3700 series routers.
