An IT technician is preparing a newly racked Cisco Catalyst switch to connect corporate workstations. The technician needs to create VLAN 15 named FIN_DEPT and assign interface GigabitEthernet0/5 to this VLAN as a static access port while explicitly disabling Dynamic Trunking Protocol (DTP) frame negotiation. Which sequence of Cisco IOS commands correctly accomplishes this configuration?
- vlan 15
name FIN_DEPT
exit
interface GigabitEthernet0/5
switchport mode access
switchport access vlan 15
switchport nonegotiateAnswer - Bvlan 15
name FIN_DEPT
exit
interface GigabitEthernet0/5
switchport mode dynamic desirable
switchport access vlan 15 - Cvlan 15
name FIN_DEPT
exit
interface GigabitEthernet0/5
switchport trunk native vlan 15 - Dvlan 15
name FIN_DEPT
exit
interface GigabitEthernet0/5
switchport access vlan 15
switchport mode trunk
Answer
The correct command sequence creates VLAN 15 named FIN_DEPT, configures the interface with 'switchport mode access' to force static access mode, assigns it to VLAN 15 with 'switchport access vlan 15', and disables DTP frame negotiation using 'switchport nonegotiate'.
The correct command sequence creates VLAN 15 named FIN_DEPT in global configuration mode, enters interface mode for GigabitEthernet0/5, sets the operational mode to static access using 'switchport mode access', assigns it to VLAN 15 using 'switchport access vlan 15', and turns off Dynamic Trunking Protocol frame generation with 'switchport nonegotiate'.
Step-by-Step Solution
Key Concept
VLAN Creation, Access Port Assignment, and DTP Hardening