A Layer 2 switch receives an Ethernet frame on Port 2, which is an access port assigned to VLAN 15. The source MAC address is not currently listed in the switch's CAM table. The destination MAC address is already present in the CAM table and associated with Port 7, an access port also assigned to VLAN 15. Port 10 is an access port assigned to VLAN 30, and Port 20 is configured as an 802.1Q trunk port carrying VLAN 15 and VLAN 30.
Which TWO of the following actions will the switch perform upon processing this frame? (Select TWO.)
- The switch enters the source MAC address 0011.AA22.BB33 into its CAM table, associating it with Port 2 and VLAN 15.Cevap
- The switch forwards the frame directly out Port 7 as an untagged frame.Cevap
- CThe switch floods the frame out all active interfaces in all VLANs because the source address was not previously recorded.
- DThe switch drops the frame because frames entering access ports assigned to non-default VLANs must contain an 802.1Q tag.
- EThe switch replicates the frame and forwards a tagged copy out trunk Port 20.
Cevap
The switch records the source MAC address 0011.AA22.BB33 mapped to Port 2 and VLAN 15 in its CAM table, and forwards the frame as an untagged Ethernet frame directly out Port 7.
When an Ethernet frame arrives at a switch, Layer 2 forwarding operations follow two distinct checks: source MAC learning and destination MAC forwarding. First, the switch checks the source MAC address. Because it is absent from the CAM table, the switch records the address 0011.AA22.BB33 associated with Port 2 in VLAN 15. Second, the switch looks up the destination MAC address 0033.CC44.DD55. Because it exists in the CAM table on Port 7 (which belongs to the same VLAN), the switch performs a microsegmentated unicast transmission directly out Port 7 as an untagged frame.
Adım Adım Çözüm
Anahtar Kavram
Layer 2 Switch Frame Forwarding and Dynamic MAC Learning