A network administrator executes the following command sequence on a freshly unboxed Cisco Catalyst switch interface to connect an unmanaged host:
Switch(config)# interface FastEthernet0/12
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan 40
Prior to this configuration, VLAN 40 was not created in the switch VLAN database. Assuming all other interfaces remain in their default factory state, how does Cisco IOS process ingress frames from this host and manage the broadcast domain?
- Cisco IOS automatically creates VLAN 40 in the VLAN database, assigns FastEthernet0/12 to VLAN 40, and confines ingress broadcast frames from the host strictly within VLAN 40.Cevap
- BCisco IOS drops all ingress untagged frames received on FastEthernet0/12 until VLAN 40 is explicitly created using the global 'vlan 40' command.
- CCisco IOS forwards ingress broadcast traffic from FastEthernet0/12 out all active switch interfaces because uninitialized access VLANs default to forwarding across the global collision domain.
- DCisco IOS places FastEthernet0/12 into an err-disabled state because an access port cannot be bound to a non-existent VLAN number.
Cevap
Cisco IOS automatically creates VLAN 40 in the VLAN database, assigns FastEthernet0/12 to VLAN 40, and confines ingress broadcast frames from the host strictly within VLAN 40.
When configuring an access port with 'switchport access vlan <id>', Cisco IOS checks if the specified VLAN exists in the VLAN database. If it does not exist, Cisco IOS automatically creates the VLAN in the database and assigns the interface to it. The interface then functions as an active access port within that dedicated VLAN broadcast domain.
Adım Adım Çözüm
Anahtar Kavram
Automatic VLAN Creation on Access Port Assignment