A network administrator is hardening switch port security on a Cisco Catalyst switch. Interface GigabitEthernet0/1 currently has default settings and is connected to a host workstation in the Accounting department. The administrator must explicitly configure the port to operate statically as an access interface in VLAN 30 (named ACCOUNTING) and ensure Dynamic Trunking Protocol (DTP) frames are no longer sent on this link. Which set of commands must be executed in interface configuration mode to fulfill these requirements?
- switchport mode access
switchport access vlan 30Answer - Bswitchport access vlan 30
switchport trunk native vlan 30 - Cswitchport mode trunk
switchport access vlan 30 - Dvlan 30
switchport access vlan 30
Answer
Configuring 'switchport mode access' statically defines the interface as an access port and disables DTP negotiation, while 'switchport access vlan 30' assigns the port to VLAN 30.
The command 'switchport mode access' statically disables trunking negotiation (DTP) and forces the port into operational access mode. Combined with 'switchport access vlan 30', it correctly places untagged traffic from the workstation into VLAN 30.
Step-by-Step Solution
Key Concept
Static Access Port Assignment and DTP Disabling
Estimated Time:1m 15s