A network engineer is reconfiguring interface GigabitEthernet0/5 on a Cisco Catalyst switch. The port was previously configured as an 802.1Q trunk, but it must now be assigned to connect an end-user workstation in VLAN 45. Which two Cisco IOS configuration commands are required on the interface to complete this configuration?
- switchport mode accessCevap
- switchport access vlan 45Cevap
- Cswitchport trunk native vlan 45
- Dvlan 45
Cevap
The commands required under interface configuration mode are 'switchport mode access' to define the operational mode as access, and 'switchport access vlan 45' to statically assign the port to VLAN 45.
To transition an interface from a trunk link to a dedicated workstation access port in VLAN 45, the engineer must explicitly set the interface mode using 'switchport mode access' and associate the port with the target VLAN using 'switchport access vlan 45'.
Adım Adım Çözüm
Anahtar Kavram
Configuring Cisco IOS L2 switchports as access ports and assigning static VLAN membership.
Tahmini Süre:1m 30s