A network administrator is inspecting interface configuration settings on a Cisco Catalyst switch after a user host on FastEthernet0/12 fails to communicate with devices in the target network. The output from the command `show interfaces FastEthernet0/12 switchport` indicates the following:
text
Name: Fa0/12
Switchport: Enabled
Administrative Mode: dynamic auto
Operational Mode: static access
Access Mode VLAN: 1 (default)
Which combination of interface configuration commands must the administrator execute on FastEthernet0/12 to explicitly set the port as a static access port and assign it to VLAN 45?
- switchport mode access
switchport access vlan 45Cevap - Bswitchport mode access
switchport trunk native vlan 45 - Cvlan 45
switchport access vlan 45 - Dswitchport mode dynamic desirable
switchport access vlan 45
Cevap
To configure FastEthernet0/12 as a static access port in VLAN 45, the administrator must enter interface configuration mode for FastEthernet0/12 and apply 'switchport mode access' followed by 'switchport access vlan 45'.
To configure a switch port as a static access member of a specific VLAN, Cisco IOS requires two commands under interface configuration mode: 'switchport mode access' to define the operational mode as access, and 'switchport access vlan <vlan-id>' to associate the interface with the specific VLAN ID.
Adım Adım Çözüm
Anahtar Kavram
Cisco IOS Switchport Access Mode and VLAN Membership Configuration