A network administrator enters the following command sequence on interface GigabitEthernet0/5 of a Cisco Catalyst switch:
text
Switch(config)# interface GigabitEthernet0/5
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan 40
Prior to this configuration, VLAN 40 did not exist in the switch's VLAN database. Which TWO statements correctly describe the behavior and operational result of this configuration? (Select TWO.)
- VLAN 40 is automatically created in the switch VLAN database if it does not currently exist.Answer
- Interface GigabitEthernet0/5 is assigned to VLAN 40 and sends/receives untagged traffic for that VLAN.Answer
- CInterface GigabitEthernet0/5 adds an 802.1Q header tag to all outgoing Ethernet frames destined for connected end devices.
- DThe switch automatically bridges broadcast traffic between VLAN 40 and VLAN 1 without needing a Layer 3 routing device.
Answer
VLAN 40 is automatically generated in the switch database if it was missing, and GigabitEthernet0/5 acts as an access port transmitting untagged frames within VLAN 40.
Executing 'switchport access vlan 40' automatically instantiates VLAN 40 in the switch database if it was not previously configured. Furthermore, setting an interface to access mode ensures it operates within a single VLAN and forwards standard untagged Ethernet frames to connected end-node devices.
Step-by-Step Solution
Key Concept
VLAN Auto-creation and Access Port Framing Behavior
Estimated Time:1m 30s