A network technician needs to configure a new VLAN and assign a switch interface to it on a Cisco Catalyst switch. Arrange the following Cisco IOS commands in the correct sequence to create VLAN 20 and configure interface GigabitEthernet0/2 as a static access port in VLAN 20, starting from global configuration mode.
- 1vlan 20
- 2interface gigabitethernet 0/2
- 3switchport mode access
- 4switchport access vlan 20
Cevap
The correct operational sequence from global configuration mode is first creating the VLAN with 'vlan 20', entering interface configuration mode with 'interface gigabitethernet 0/2', setting the operational mode to access with 'switchport mode access', and finally assigning the interface to the VLAN with 'switchport access vlan 20'.
The proper administrative workflow in Cisco IOS requires creating or defining the VLAN in global configuration mode, entering the target interface configuration context, defining the administrative port state as an access port using 'switchport mode access', and specifying the access VLAN membership using 'switchport access vlan 20'.
Adım Adım Çözüm
Anahtar Kavram
Cisco IOS VLAN configuration and interface access mode sequence
Tahmini Süre:45s