A network administrator needs to create a new VLAN for isolated guest traffic (VLAN 80, named GUEST) on a Cisco Catalyst switch and configure interface GigabitEthernet0/12 as a static access port belonging to this VLAN. In what sequence should the administrator execute the CLI commands starting from Privileged EXEC mode?
- 1configure terminal
- 2vlan 80
- 3name GUEST
- 4interface GigabitEthernet0/12
- 5switchport mode access
- 6switchport access vlan 80
Answer
The correct sequence starts with 'configure terminal' to enter global configuration mode, followed by 'vlan 80' to create the VLAN, 'name GUEST' to name it, 'interface GigabitEthernet0/12' to enter interface mode, 'switchport mode access' to define the port mode, and 'switchport access vlan 80' to assign the port to the VLAN.
Configuring a VLAN and access port requires following Cisco IOS mode hierarchy: starting in Privileged EXEC mode, entering Global Configuration mode via 'configure terminal', instantiating VLAN 80 with 'vlan 80', assigning its label with 'name GUEST', navigating to the target port via 'interface GigabitEthernet0/12', locking its operational state with 'switchport mode access', and assigning it to the newly created VLAN with 'switchport access vlan 80'.
Step-by-Step Solution
Key Concept
Cisco IOS CLI command hierarchy and sequence for creating a VLAN and configuring an access port.
Estimated Time:1m 30s