CCNA Routing and Switching (legacy) — Question 134
Which command can you enter to view the ports that are assigned to VLAN 20?
Answer options
- A. Switch#show ip interface vlan 20
- B. Switch#show vlan id 20
- C. Switch#show ip interface brief
- D. Switch#show interface vlan 20
Correct answer: B
Explanation
The command 'Switch#show vlan id 20' is correct because it specifically lists the ports assigned to VLAN 20. The other options either provide interface status, IP configuration, or details about the VLAN interface itself, but they do not directly show the ports associated with VLAN 20.