Cisco CCNA (200-301)Network AccessEasy

Which of the following commands is used to verify the VLAN membership of a specific port on a Cisco Catalyst switch?

  1. Ashow vlan brief
  2. Bshow interfaces <interface-id> switchport
  3. Cshow interfaces trunk
  4. Dshow running-config interface <interface-id>
Show answer & explanation

Correct answer: B. show interfaces <interface-id> switchport

The `show interfaces <interface-id> switchport` command provides detailed information about the switchport configuration, including its operational mode (access/trunk), access VLAN, and native VLAN.

Why the other options are wrong

  • A. Shows a summary of all VLANs and their associated ports, but not detailed info for a single port.
  • C. Shows only trunking interfaces and their allowed VLANs, not access port VLAN membership.
  • D. Shows the configured commands but not the operational status or derived VLAN membership in all cases.

Cisco IOS Show Commands

IOS `show` commands are used to display the current state, configuration, and operational parameters of a Cisco device for verification and troubleshooting.

  • `show running-config` displays the current active configuration.
  • `show ip interface brief` provides a quick overview of interface status and IP addresses.
  • `show vlan brief` lists all configured VLANs and their assigned ports.

Memory trick: Show me the switchport's secrets!

More Network Access questions