A network administrator needs to create VLAN 20 on a Cisco Catalyst switch and configure interface GigabitEthernet0/1 as an access port belonging to VLAN 20. Arrange the CLI commands in the correct sequence, starting from privileged EXEC mode.
- 1configure terminal
- 2vlan 20
- 3interface GigabitEthernet0/1
- 4switchport mode access
- 5switchport access vlan 20
Cevap
The correct CLI configuration sequence begins by entering global configuration mode with 'configure terminal', creating the VLAN with 'vlan 20', navigating to the target interface with 'interface GigabitEthernet0/1', defining static access mode via 'switchport mode access', and finally binding the interface to the VLAN using 'switchport access vlan 20'.
The configuration progression follows Cisco IOS hierarchical logic: enter global configuration mode ('configure terminal'), create the VLAN in the database ('vlan 20'), transition to the specific interface context ('interface GigabitEthernet0/1'), force the link to operate as an access link ('switchport mode access'), and assign it to the desired broadcast domain ('switchport access vlan 20').
Adım Adım Çözüm
Anahtar Kavram
Cisco IOS CLI hierarchy for VLAN creation and switchport access assignment