Soru

Zorluk: ZorVLAN Configuration and Access Port Setup

Place the following Cisco IOS configuration commands in the correct order to create VLAN 30, assign it the name 'ENGINEERING', and configure interface GigabitEthernet1/0/15 as a static access port in VLAN 30, starting from privileged EXEC mode (`Switch#`).

  1. 1`configure terminal`
  2. 2`vlan 30`
  3. 3`name ENGINEERING`
  4. 4`interface GigabitEthernet1/0/15`
  5. 5`switchport mode access`
  6. 6`switchport access vlan 30`

Cevap

The correct sequence starts by entering global configuration mode (`configure terminal`), creating and naming the VLAN (`vlan 30` followed by `name ENGINEERING`), navigating to the interface (`interface GigabitEthernet1/0/15`), statically setting access mode (`switchport mode access`), and finally assigning the port to VLAN 30 (`switchport access vlan 30`).
The CLI prompt hierarchy in Cisco IOS enforces a strict order of operations: privileged EXEC mode (`Switch#`) must first transition to global configuration mode (`configure terminal`), followed by entering the VLAN submode (`vlan 30`) to set parameters like `name ENGINEERING`. Once VLAN creation and naming are complete, navigating to interface configuration mode (`interface GigabitEthernet1/0/15`) allows setting the operational mode (`switchport mode access`) and assigning the port membership (`switchport access vlan 30`).

Adım Adım Çözüm

1
Enter Global Configuration mode from privileged EXEC mode.
Prompt changes to `Switch(config)#`.
CLI global context is needed to instantiate VLANs and select target interfaces.
2
Execute `vlan 30` in global configuration mode.
Prompt changes to `Switch(config-vlan)#`.
VLAN sub-configuration mode is required to configure specific properties such as the VLAN name.
3
Execute `name ENGINEERING` in VLAN configuration mode.
VLAN 30 is named ENGINEERING in the switch VLAN database.
VLAN name commands can only be issued within the `Switch(config-vlan)#` prompt context.
4
Navigate to the interface context using `interface GigabitEthernet1/0/15`.
Prompt changes to `Switch(config-if)#`.
Port configuration commands require interface configuration context.
5
Configure the port operational mode using `switchport mode access`.
Interface GigabitEthernet1/0/15 is set to static access mode.
Static access mode prevents DTP negotiation and ensures frames are untagged on host links.
6
Assign the port membership using `switchport access vlan 30`.
GigabitEthernet1/0/15 is placed into VLAN 30.
Associates the access interface with the intended broadcast domain.

Anahtar Kavram

VLAN Creation and Access Port Assignment in Cisco IOS
Bu soruyu puanla