Soru

Zorluk: KolayVLAN Configuration and Access Port Setup

A network administrator needs to create VLAN 100 named VOICE on a Cisco Catalyst switch and assign interface GigabitEthernet0/2 as a static access port in VLAN 100. Starting from Privileged EXEC mode (Switch#Switch\#), in what sequence must the Cisco IOS CLI commands be executed?

  1. 1configure terminal
  2. 2vlan 100
  3. 3name VOICE
  4. 4interface gigabitethernet0/2
  5. 5switchport mode access
  6. 6switchport access vlan 100

Cevap

The correct command sequence begins with entering global configuration mode (configure terminal), creating VLAN 100 (vlan 100), naming the VLAN (name VOICE), navigating to interface GigabitEthernet0/2 (interface gigabitethernet0/2), configuring access mode (switchport mode access), and assigning the port to VLAN 100 (switchport access vlan 100).
The correct order follows Cisco IOS configuration hierarchy. The sequence starts in Privileged EXEC mode with 'configure terminal' to enter Global Configuration mode. Next, 'vlan 100' creates the VLAN and switches to VLAN Configuration mode, where 'name VOICE' is applied. After returning to global configuration scope, 'interface gigabitethernet0/2' opens Interface Configuration mode, where 'switchport mode access' enforces static access behavior and 'switchport access vlan 100' places the port into VLAN 100.

Adım Adım Çözüm

1
Transition from Privileged EXEC mode to Global Configuration mode.
The CLI prompt changes to Switch(config)#.
Global configuration mode is required to configure system-wide parameters and enter specific subconfiguration modes.
2
Create VLAN 100 and enter VLAN Configuration submode.
The CLI prompt changes to Switch(config-vlan)#.
VLAN 100 must be instantiated before configuring its parameters or assigning ports.
3
Assign the name VOICE to VLAN 100.
VLAN 100 is assigned the descriptive name VOICE.
The 'name' command is specific to VLAN configuration mode.
4
Navigate to Interface Configuration mode for GigabitEthernet0/2.
The CLI prompt changes to Switch(config-if)#.
Targeting an interface requires switching from global configuration to interface configuration mode.
5
Configure GigabitEthernet0/2 as a static access port.
Trunk negotiation is disabled, establishing static access operation.
Executing 'switchport mode access' explicitly defines the interface operational mode.
6
Assign GigabitEthernet0/2 to VLAN 100.
Untagged frames entering GigabitEthernet0/2 are assigned to broadcast domain VLAN 100.
Executing 'switchport access vlan 100' maps the access port to VLAN 100.

Anahtar Kavram

Cisco IOS hierarchical context navigation and sequential syntax execution for VLAN creation and static access port configuration.
Bu soruyu puanla