Soru

Zorluk: KolayVLAN Configuration and Access Port Setup

A network technician needs to configure interface FastEthernet0/1 on a Cisco Catalyst switch to connect a host workstation. Which set of commands should be entered in interface configuration mode to explicitly set the interface as an access port and assign it to VLAN 10?

  1. switchport mode access
    switchport access vlan 10
    Cevap
  2. B
    switchport mode trunk
    switchport trunk native vlan 10
  3. C
    vlan 10
    switchport access vlan 10
  4. D
    switchport mode access
    ip address 192.168.10.1 255.255.255.0

Cevap

To configure a switch interface for a single end-user workstation, enter interface configuration mode and execute 'switchport mode access' followed by 'switchport access vlan 10'.
Executing 'switchport mode access' sets the interface to operate as a Layer 2 access interface, and 'switchport access vlan 10' assigns the interface's untagged traffic membership to VLAN 10.

Adım Adım Çözüm

1
Select interface configuration mode for FastEthernet0/1.
The CLI prompt changes to Switch(config-if)#.
Configuration commands must target the specific physical interface.
2
Define port role as access mode.
The command 'switchport mode access' explicitly disables trunk negotiation and sets the interface to Layer 2 access mode.
Access ports carry traffic for a single assigned VLAN without tagging egress frames.
3
Assign the VLAN membership.
The command 'switchport access vlan 10' places interface FastEthernet0/1 into VLAN 10.
This associates all untagged traffic on this port with broadcast domain VLAN 10.

Anahtar Kavram

Access Port Assignment in Cisco IOS
Bu soruyu puanla