Soru

Zorluk: KolayVLAN Configuration and Access Port Setup

A switch port (FastEthernet0/12) needs to be assigned to the newly created Sales department VLAN (VLAN 45). Which Cisco IOS command must be executed within interface configuration mode to assign the port to VLAN 45?

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

Cevap

The correct command to assign the interface to VLAN 45 is 'switchport access vlan 45'.
To assign an interface to a specific VLAN in Cisco IOS, the command 'switchport access vlan <vlan-id>' is executed under interface configuration mode.

Adım Adım Çözüm

1
Enter interface configuration mode for FastEthernet0/12.
The CLI prompt changes to Switch(config-if)#.
Interface-specific configurations must be applied directly under the target interface context.
2
Execute the command 'switchport access vlan 45'.
Interface FastEthernet0/12 is statically assigned to VLAN 45.
The 'switchport access vlan <vlan-id>' command defines the access VLAN membership for the port.

Anahtar Kavram

Static Access Port VLAN Membership Assignment
Tahmini Süre:45s
Bu soruyu puanla