Soru

Zorluk: ZorVLAN Configuration and Access Port Setup

A network engineer is configuring a newly installed Cisco Catalyst switch interface connected to a workstation. VLAN 40 does not currently exist in the switch VLAN database. The engineer enters the following CLI commands:

text
Switch(config)# interface GigabitEthernet1/0/4
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan 40

Which two outcomes occur immediately upon applying this configuration sequence? (Select two.)

  1. VLAN 40 is automatically created and added to the switch VLAN database.Cevap
  2. Interface GigabitEthernet1/0/4 is statically assigned to VLAN 40 and transmits untagged frames toward the connected workstation.Cevap
  3. C
    Interface GigabitEthernet1/0/4 transitions to an inactive operational status until the command 'vlan 40' is manually executed in global configuration mode.
  4. D
    The switch begins inserting 802.1Q VLAN headers into all outgoing frames on GigabitEthernet1/0/4 to identify traffic for VLAN 40.

Cevap

The switch automatically creates VLAN 40 in the VLAN database, and interface GigabitEthernet1/0/4 is configured as an access port that transmits untagged Ethernet frames to the workstation.
Executing 'switchport access vlan 40' when VLAN 40 does not exist causes Cisco IOS to automatically create VLAN 40 in the VLAN database. Furthermore, configuring the interface with 'switchport mode access' assigns GigabitEthernet1/0/4 to VLAN 40 as a standard access port, which forwards untagged Ethernet frames to connected end-user hosts.

Adım Adım Çözüm

1
Analyze the automatic VLAN creation behavior in Cisco IOS CLI.
Executing 'switchport access vlan 40' when VLAN 40 is missing triggers dynamic creation of VLAN 40 in the VLAN database.
Cisco IOS prevents port isolation by automatically creating non-existent VLANs assigned to access ports.
2
Determine the framing behavior of an interface in access mode.
The interface operates as an access port in VLAN 40 and strips 802.1Q encapsulation from outgoing frames.
End-user hosts expect standard untagged Ethernet frames rather than 802.1Q tagged frames.

Anahtar Kavram

Cisco IOS dynamic VLAN creation and access port framing mechanics
Bu soruyu puanla