An administrator must move a workstation connected to interface FastEthernet0/11 on a Cisco Catalyst switch into VLAN 40 (named MARKETING). VLAN 40 has not yet been created on the switch. Which command sequence correctly creates the VLAN with its name and configures the port as an access port in VLAN 40?
- vlan 40
name MARKETING
exit
interface FastEthernet0/11
switchport mode access
switchport access vlan 40Cevap - Bvlan 40
name MARKETING
exit
interface FastEthernet0/11
switchport mode trunk
switchport access vlan 40 - Cinterface FastEthernet0/11
switchport mode access
switchport access vlan 40
switchport vlan 40 name MARKETING - Dvlan 40
name MARKETING
exit
interface FastEthernet0/11
ip address 192.168.40.1 255.255.255.0
switchport access vlan 40
Cevap
The correct sequence creates VLAN 40, assigns the name MARKETING in VLAN configuration mode, configures interface FastEthernet0/11 in access mode, and assigns FastEthernet0/11 to VLAN 40.
Creating a VLAN requires entering VLAN configuration mode using 'vlan 40' and naming it with 'name MARKETING'. Configuring an access port requires navigating to the target interface, explicitly defining the switchport mode as access with 'switchport mode access', and assigning the access VLAN with 'switchport access vlan 40'.
Adım Adım Çözüm
Anahtar Kavram
VLAN Creation and Access Port Assignment in Cisco IOS