A network administrator is inspecting a Cisco Catalyst switch port connected to a desktop computer assigned to VLAN 50. Output from the `show interfaces gigabitEthernet 1/0/12 switchport` command reveals that the interface is operating under default settings with an administrative mode of `dynamic auto` and an access VLAN of 1. Which configuration commands must be entered in interface configuration mode to assign this port to VLAN 50 as a dedicated static access port?
- switchport mode access
switchport access vlan 50Answer - Bswitchport access vlan 50
- Cswitchport mode trunk
switchport trunk native vlan 50 - Dswitchport mode dynamic desirable
switchport access vlan 50
Answer
The commands 'switchport mode access' followed by 'switchport access vlan 50' correctly assign the interface to VLAN 50 as a static access port.
To properly configure an end-user device port in Cisco IOS, administrators should explicitly define the switchport mode as access using 'switchport mode access' and then assign the access VLAN with 'switchport access vlan 50'. This prevents unwanted DTP negotiation and ensures the interface remains a dedicated access port.
Step-by-Step Solution
Key Concept
Configuring Cisco IOS L2 access ports and overriding DTP dynamic modes
Estimated Time:1m 0s