A network administrator needs to create VLAN 35 named SALES on a Cisco Catalyst switch and assign interface FastEthernet0/5 as a static access port in this VLAN, starting from Privileged EXEC mode (`Switch#`). Place the following Cisco IOS CLI commands in the correct sequential order from first to last.
- 1configure terminal
- 2vlan 35
- 3name SALES
- 4interface FastEthernet0/5
- 5switchport mode access
- 6switchport access vlan 35
Cevap
The correct command sequence begins with entering global configuration mode using `configure terminal`, creating VLAN 35 using `vlan 35`, setting the VLAN name with `name SALES`, entering the interface context via `interface FastEthernet0/5`, configuring the interface operating mode using `switchport mode access`, and finally assigning the interface to the VLAN using `switchport access vlan 35`.
In Cisco IOS, configuration follows a strict hierarchy. From Privileged EXEC mode (`Switch#`), global configuration mode must first be accessed via `configure terminal`. Once in global configuration mode, `vlan 35` creates the VLAN and shifts context to VLAN sub-mode (`config-vlan`), where `name SALES` sets the VLAN name. The administrator then navigates directly to interface configuration mode using `interface FastEthernet0/5`. Within interface configuration mode (`config-if`), the port mode is explicitly configured using `switchport mode access`, followed by assigning the port to VLAN 35 with `switchport access vlan 35`.
Adım Adım Çözüm
Anahtar Kavram
Cisco IOS CLI command hierarchy for VLAN creation and static access port configuration