A network engineer needs to manually configure VLAN 30 named Engineering on a Cisco Catalyst switch and assign interface GigabitEthernet0/1 as an explicit static access port belonging to VLAN 30. Place the Cisco IOS CLI configuration steps in the correct chronological order required to accomplish this configuration starting from Privileged EXEC mode.
- 1Switch# configure terminal
- 2Switch(config)# vlan 30
Switch(config-vlan)# name Engineering
Switch(config-vlan)# exit - 3Switch(config)# interface gigabitethernet0/1
- 4Switch(config-if)# switchport mode access
- 5Switch(config-if)# switchport access vlan 30
Answer
The correct sequence begins with entering global configuration mode ('configure terminal'), creating and naming VLAN 30 ('vlan 30' and 'name Engineering'), navigating to interface configuration mode ('interface gigabitethernet0/1'), enforcing access mode ('switchport mode access'), and assigning the port to VLAN 30 ('switchport access vlan 30').
The CLI hierarchy in Cisco IOS demands starting in Privileged EXEC mode, moving to global configuration mode, defining the VLAN object and its name, entering the target interface configuration context, defining the port mode as access, and lastly binding the port to the intended VLAN ID.
Step-by-Step Solution
Key Concept
Cisco IOS CLI Hierarchy for VLAN Creation and Static Access Port Configuration