A network engineer is configuring interface GigabitEthernet1/0/10 on a Cisco Catalyst switch to connect a single end-user workstation. VLAN 75 ('FINANCE') has not yet been created in global configuration mode. The engineer enters the following CLI commands:
Switch(config)# interface gigabitethernet1/0/10
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan 75
Which two statements accurately describe the resulting switch behavior and interface operation? (Select two.)
- The switch automatically creates VLAN 75 in the VLAN database and assigns interface GigabitEthernet1/0/10 to VLAN 75.Answer
- Frames transmitted out interface GigabitEthernet1/0/10 toward the connected workstation will be untagged standard Ethernet frames.Answer
- CInterface GigabitEthernet1/0/10 is placed into an inactive state and drops all traffic until the 'vlan 75' command is manually executed in global configuration mode.
- DThe interface automatically negotiates an 802.1Q trunk connection using VLAN 75 as the native VLAN because the VLAN was created dynamically.
Answer
The switch automatically creates VLAN 75 in the VLAN database and assigns the interface to it, and frames transmitted out interface GigabitEthernet1/0/10 toward the workstation are untagged standard Ethernet frames.
Assigning an interface to a VLAN that does not yet exist using 'switchport access vlan' prompts Cisco IOS to automatically create the VLAN in the switch database. Additionally, ports configured with 'switchport mode access' operate exclusively as untagged ports for that single VLAN when transmitting traffic to attached end-user devices.
Step-by-Step Solution
Key Concept
Cisco IOS Dynamic VLAN Creation and Access Port Framing Mechanics