![]() ![]() Get Cisco IOS in a Nutshell, 2nd Edition now with the OReilly learning platform. All-in-One CCIE V5 Written Exam Guide (Kindle Locations 1468-1471). This command adds static MAC addresses to the MAC address table. Show mac address-table aging-time – Displays the aging time in all VLANs or the specified VLANĪdam, Paul (). Show mac address-table address – Displays MAC address table information for the specified MAC address. ![]() You can display the MAC address table by using one or more of the privileged EXEC commands. All contents stored in the RAM are wiped out automatically when we turn off the switch. The static MAC entries will be retained even after the switch is restarted. ![]() The switch stores the CAM table in the RAM. Configure static MAC address 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. In the dynamic option, the switch learns and adds the MAC addresses in the CAM table automatically. You can disable MAC address learning on a single VLAN ID from 1 to 4094 (for example, no mac address-table learning vlan 229) or a range of VLAN IDs, separated by a hyphen or comma (for example, no mac address-table learning vlan 1-100, 16). In the static option, we have to add the MAC addresses in the CAM table manually. Use the switchport port-security command to enable port-security. Disabling MAC address learning on an interface or VLAN could cause flooding in the network. This is how we can do it: Switch (config) interface fa0/1 Switch (config-if) switchport port-security Switch (config-if) switchport port-security maximum 1. Before you disable MAC address learning, be sure that you are familiar with the overall environment which includes network topology and the router system configuration. 2960-I(config)mac address-table static vlan 100 interface Fa 0/5 2. You can control MAC address learning on an interface or VLAN to manage the available MAC address table space. These static entries are retained even after the switch is rebooted. By default, MAC address learning is enabled on all interfaces and VLANs and MAC address aging is set to 300 seconds on a Cisco switch. You can also enter a MAC address manually into the table.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |