Soru

Zorluk: OrtaVLAN Configuration and Access Port Setup

An administrator must move a workstation connected to interface FastEthernet0/11 on a Cisco Catalyst switch into VLAN 40 (named MARKETING). VLAN 40 has not yet been created on the switch. Which command sequence correctly creates the VLAN with its name and configures the port as an access port in VLAN 40?

  1. vlan 40
    name MARKETING
    exit
    interface FastEthernet0/11
    switchport mode access
    switchport access vlan 40
    Cevap
  2. B
    vlan 40
    name MARKETING
    exit
    interface FastEthernet0/11
    switchport mode trunk
    switchport access vlan 40
  3. C
    interface FastEthernet0/11
    switchport mode access
    switchport access vlan 40
    switchport vlan 40 name MARKETING
  4. D
    vlan 40
    name MARKETING
    exit
    interface FastEthernet0/11
    ip address 192.168.40.1 255.255.255.0
    switchport access vlan 40

Cevap

The correct sequence creates VLAN 40, assigns the name MARKETING in VLAN configuration mode, configures interface FastEthernet0/11 in access mode, and assigns FastEthernet0/11 to VLAN 40.
Creating a VLAN requires entering VLAN configuration mode using 'vlan 40' and naming it with 'name MARKETING'. Configuring an access port requires navigating to the target interface, explicitly defining the switchport mode as access with 'switchport mode access', and assigning the access VLAN with 'switchport access vlan 40'.

Adım Adım Çözüm

1
Create and name the VLAN in global configuration mode
VLAN 40 is created with the name MARKETING
VLANs must be defined in the VLAN database via global/VLAN configuration mode before or during assignment.
2
Enter interface configuration mode for FastEthernet0/11
Prompt changes to Switch(config-if)#
Interface parameters can only be altered in interface configuration mode.
3
Set port mode to access and assign VLAN 40
Interface FastEthernet0/11 operates as an access port assigned to VLAN 40
'switchport mode access' explicitly defines the port role for end devices, and 'switchport access vlan 40' places untagged ingress frames into VLAN 40.

Anahtar Kavram

VLAN Creation and Access Port Assignment in Cisco IOS
Bu soruyu puanla