Soru

Zorluk: OrtaVLAN Configuration and Access Port Setup

A network administrator is inspecting a Cisco Catalyst switch port connected to a desktop computer assigned to VLAN 50. Output from the `show interfaces gigabitEthernet 1/0/12 switchport` command reveals that the interface is operating under default settings with an administrative mode of `dynamic auto` and an access VLAN of 1. Which configuration commands must be entered in interface configuration mode to assign this port to VLAN 50 as a dedicated static access port?

  1. switchport mode access
    switchport access vlan 50
    Cevap
  2. B
    switchport access vlan 50
  3. C
    switchport mode trunk
    switchport trunk native vlan 50
  4. D
    switchport mode dynamic desirable
    switchport access vlan 50

Cevap

The commands 'switchport mode access' followed by 'switchport access vlan 50' correctly assign the interface to VLAN 50 as a static access port.
To properly configure an end-user device port in Cisco IOS, administrators should explicitly define the switchport mode as access using 'switchport mode access' and then assign the access VLAN with 'switchport access vlan 50'. This prevents unwanted DTP negotiation and ensures the interface remains a dedicated access port.

Adım Adım Çözüm

1
Set the administrative mode to static access.
Disables Dynamic Trunking Protocol (DTP) negotiation on the interface.
By default, Cisco Catalyst interfaces are configured as dynamic auto or dynamic desirable. Using 'switchport mode access' forces the port to act strictly as a Layer 2 access port.
2
Assign the access port to the target VLAN.
Places untagged traffic entering GigabitEthernet1/0/12 into VLAN 50.
The command 'switchport access vlan 50' associates untagged frames received on this interface with VLAN 50.

Anahtar Kavram

Configuring Cisco IOS L2 access ports and overriding DTP dynamic modes
Tahmini Süre:1m 0s
Bu soruyu puanla