A network administrator needs to manually configure interface GigabitEthernet1/0/22 on a Cisco Catalyst switch as a dedicated access port for a workstation in VLAN 35 (FINANCE). Assuming VLAN 35 already exists in the VLAN database, which set of commands must be applied under the interface configuration mode to properly complete this task?
- switchport mode access
switchport access vlan 35Answer - Bswitchport mode trunk
switchport trunk native vlan 35 - Cswitchport access vlan 35
spanning-tree portfast trunk - Dvlan 35
switchport mode access host
Answer
To configure a switch interface as a static access port in VLAN 35, the engineer must enter interface configuration mode and execute 'switchport mode access' followed by 'switchport access vlan 35'.
The correct command sequence requires defining the interface operational type as an access port using 'switchport mode access' and then binding the port to the specific VLAN ID using 'switchport access vlan 35'.
Step-by-Step Solution
Key Concept
Cisco IOS Access Port Assignment Syntax