Soru

Zorluk: KolayVLAN Configuration and Access Port Setup

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.

  1. 1vlan 20
  2. 2interface gigabitethernet 0/2
  3. 3switchport mode access
  4. 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

1
Create VLAN 20 in global configuration mode.
Executes 'vlan 20' to instantiate the VLAN and enter config-vlan submode.
Creating the VLAN first ensures the VLAN exists in the Layer 2 database.
2
Enter target interface configuration mode.
Executes 'interface gigabitethernet 0/2' to transition to config-if submode.
Interface parameters must be modified within the specific interface context.
3
Configure the port as a Layer 2 access port.
Executes 'switchport mode access' to turn off DTP negotiation for trunking.
Setting the administrative mode to access enforces single-VLAN membership.
4
Assign the port to VLAN 20.
Executes 'switchport access vlan 20' to bind interface traffic to VLAN 20.
This command places untagged frames received on GigabitEthernet0/2 into VLAN 20.

Anahtar Kavram

Cisco IOS VLAN configuration and interface access mode sequence
Tahmini Süre:45s
Bu soruyu puanla