A switch port (FastEthernet0/12) needs to be assigned to the newly created Sales department VLAN (VLAN 45). Which Cisco IOS command must be executed within interface configuration mode to assign the port to VLAN 45?
- switchport access vlan 45Answer
- Bswitchport trunk native vlan 45
- Cvlan 45
- Dswitchport mode access vlan 45
Answer
The correct command to assign the interface to VLAN 45 is 'switchport access vlan 45'.
To assign an interface to a specific VLAN in Cisco IOS, the command 'switchport access vlan <vlan-id>' is executed under interface configuration mode.
Step-by-Step Solution
Key Concept
Static Access Port VLAN Membership Assignment
Estimated Time:45s