A network administrator is provisioning interface GigabitEthernet0/1 on a Cisco Catalyst switch to connect a newly deployed workstation. The workstation must belong to VLAN 15. Which two configuration steps are required under the interface configuration mode to correctly establish this interface as a static access port in VLAN 15? (Select two.)
- Execute the command switchport mode access to statically set the interface to access mode.Answer
- Execute the command switchport access vlan 15 to assign the interface to VLAN 15.Answer
- CExecute the command switchport trunk native vlan 15 to map host traffic to VLAN 15.
- DConfigure an IP address on interface GigabitEthernet0/1 because access ports require Layer 3 addresses to isolate broadcast domains.
Answer
Configuring a static access port in Cisco IOS requires explicitly defining the interface mode using switchport mode access and specifying the VLAN membership using switchport access vlan 15 under interface configuration mode.
Configuring an end-user host connection on a Cisco switch requires establishing static access mode using 'switchport mode access' and assigning the specific VLAN membership using 'switchport access vlan 15'. Together, these two commands ensure untagged traffic from the connected host is correctly mapped into VLAN 15.
Step-by-Step Solution
Key Concept
Cisco IOS VLAN Access Port Configuration Syntax