L2 switch have a common database i.e MAC TABLE and it learns the mac-address on each port, creates the table per port and vlan basis.
Switch> show mac address-table
Mac Address Table
Vlan Mac Address Type Ports
---- ----------- ---- -----
1 0030.9441.6327 DYNAMIC Gi0/4
Generally, A host connects to only one vlan and the address gets learned on a port in the same vlan.If somehow a host connects to a switchport using the Trunking on the NIC card, it will become a member of multiple vlans, the switch will treat as a normal behaviour.
The switch doesn't mind if it learns the same MAC address on different VLANs, as it keeps each VLAN mac-address-table seperate.
If you see mac "flapping" messages, though, it is usually an indication of a spanning-tree loop, as it has to be learned on both interfaces multiple times in a short period of time for this to happen.
The best way to troubleshoot is to figure out where the MAC is "supposed" to be learned, then use the flapping messages trace the MAC address to whichever port it isn't supposed to be learned on but is, and figure out how its getting there. Usually it is a cable plugged mistakenly between VLANs.
Introduction to Routing ProtocolsStatic vs DynamicDistance Vector vs Link StateRoute Selection AlgorithmSingle Routing Protocol OnlyOpen Shortest Path First (OSPF)AreasRoute ConvergencePath SelectionMetric CalculationCharacteristicsEnhanced Interior Gatew...
Cisco DNA Center version 2.2.2.x includes the features and improvements that
New intelligence provides an easy, gradual, and complete adoption of SD-Access. Faster Cisco DNA Center set-up saves time and effort.
When using Cisco cellular modules with a SIM card an APN must be provided. The APN cannot be stored in the SIM card and is supplied by your SIM card provider. Cisco cellular software contains a database of well-known APNs based on the country and ...
Cisco 3850: IOS-XE/Firmware Upgrade
This procedure is aimed at Cisco 3850 switch ONLY.
IOS-XE Bundle Mode is not covered.
9300, 9500 (vanilla & high-performance), ISR 1k, ISR 4k and ASR is not covered.
Listen: https://smarturl.it/CCRS8E46Follow us: twitter.com/ciscochampionsIt’s been several years since the release of Cisco DNA Center, and it’s matured into a complete network management system, an automation and orchestration engine, an AI/ML analy...