Network Troubleshooting

A switch lost power, and afterward port Gi0/4 is back in the default VLAN even though an engineer assigned it to VLAN 30 earlier that day. Which command lets the technician check whether the VLAN 30 assignment was saved in the configuration loaded at boot?

Show the answer

Correct answerB. show config

AWhy not this: show mac-address-table lists learned MACs per port and VLAN, not the stored configuration.

BWhy this is right: show config displays the stored configuration, revealing whether the VLAN 30 command was saved before the reboot.

CWhy not this: show interface reports live status and counters, not the saved VLAN assignment statement.

DWhy not this: show vlan shows current port membership, which is already known to be wrong; it cannot show what was saved.

A reboot loads the stored configuration, so unsaved changes are lost; show config displays the saved commands, including the port's VLAN statement. show vlan only reports current membership, which cannot tell whether the change was saved.