Soru

Zorluk: OrtaVLAN Configuration and Access Port Setup

A network engineer is configuring interface GigabitEthernet0/2 on a Cisco Catalyst switch to connect an office desktop computer. The host must be statically assigned to VLAN 25, and dynamic trunk negotiation protocols on the interface must be disabled. Which set of commands must the engineer enter in interface configuration mode to achieve this objective?

  1. switchport mode access
    switchport access vlan 25
    Cevap
  2. B
    switchport access vlan 25
    switchport trunk native vlan 25
  3. C
    vlan 25
    switchport mode access
  4. D
    switchport mode trunk
    switchport access vlan 25

Cevap

The correct sequence consists of 'switchport mode access' followed by 'switchport access vlan 25' entered in interface configuration mode.
Configuring 'switchport mode access' forces the interface into static Layer 2 access mode and stops dynamic trunking protocol (DTP) negotiation. Following it with 'switchport access vlan 25' correctly places untagged host frames into broadcast domain VLAN 25.

Adım Adım Çözüm

1
Set the port mode to static access
Disables dynamic trunking protocol (DTP) negotiation and locks the interface into Layer 2 access mode.
Explicitly setting access mode ensures host interfaces do not negotiate trunk links.
2
Assign the access VLAN ID
Associates all incoming untagged frame traffic on GigabitEthernet0/2 with VLAN 25.
The 'switchport access vlan <id>' command dictates which single VLAN broadcast domain receives untagged ingress traffic from the connected host.

Anahtar Kavram

Access Port VLAN Assignment and Operational Mode Locking
Bu soruyu puanla