Network Troubleshooting

Before deleting VLAN 30, a technician must confirm no access ports belong to it, including idle ports. Which command lists ports grouped by VLAN?

Show the answer

Correct answerD. show vlan

AWhy not this: It shows only learned MAC addresses, so an idle port assigned to VLAN 30 would not appear.

BWhy not this: It maps IP to MAC addresses and has no information about VLAN port membership.

CWhy not this: It reports status of individual ports, not a list of ports grouped by VLAN.

DWhy this is right: It lists every VLAN with its member ports, including ports with nothing attached.

show vlan lists each VLAN with the ports assigned to it, whether or not a device is attached. The MAC address table only reflects ports that have learned a MAC address, so idle ports would be missed.