Cisco CCNA (200-301)Network AccessEasy
A network administrator is configuring a new Cisco Catalyst switch and wants to create VLAN 50 for the Sales department. Which command should be used to achieve this?
- Aconfigure vlan 50
- Bvlan 50
- Cinterface vlan 50
- Dvlan database
Show answer & explanationAnswer & explanation
Correct answer: B. vlan 50
The 'vlan' command followed by the VLAN ID is used in global configuration mode to create a new VLAN on a Cisco Catalyst switch. This command automatically enters VLAN configuration mode for further settings.
Why the other options are wrong
- A. This is not a valid Cisco IOS command for creating a VLAN.
- C. This command is used to create a Switch Virtual Interface (SVI) for routing, not the VLAN itself.
- D. This command enters a deprecated VLAN database mode, which is not the standard or recommended way to create VLANs on modern IOS switches.
VLAN Creation
Creating a VLAN on a Cisco switch involves using a specific command in global configuration mode to define the VLAN ID.
- VLANs segment broadcast domains.
- Each VLAN needs a unique ID (1-4094).
- Created in global configuration mode.
Memory trick: Very Logical Access Naming (VLAN) for network segments.