Soru

Zorluk: OrtaVLAN Configuration and Access Port Setup

A network engineer is reconfiguring interface GigabitEthernet0/5 on a Cisco Catalyst switch. The port was previously configured as an 802.1Q trunk, but it must now be assigned to connect an end-user workstation in VLAN 45. Which two Cisco IOS configuration commands are required on the interface to complete this configuration?

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

Cevap

The commands required under interface configuration mode are 'switchport mode access' to define the operational mode as access, and 'switchport access vlan 45' to statically assign the port to VLAN 45.
To transition an interface from a trunk link to a dedicated workstation access port in VLAN 45, the engineer must explicitly set the interface mode using 'switchport mode access' and associate the port with the target VLAN using 'switchport access vlan 45'.

Adım Adım Çözüm

1
Set interface mode to access
Interface is explicitly configured as an access port
Executing 'switchport mode access' disables dynamic negotiation for trunking and forces access mode operation.
2
Assign the access VLAN ID
Untagged traffic on this interface is assigned to VLAN 45
Executing 'switchport access vlan 45' associates incoming untagged frames on the port with VLAN 45.

Anahtar Kavram

Configuring Cisco IOS L2 switchports as access ports and assigning static VLAN membership.
Tahmini Süre:1m 30s
Bu soruyu puanla