Soru

Zorluk: OrtaVLAN Configuration and Access Port Setup

A network administrator needs to create a new VLAN for isolated guest traffic (VLAN 80, named GUEST) on a Cisco Catalyst switch and configure interface GigabitEthernet0/12 as a static access port belonging to this VLAN. In what sequence should the administrator execute the CLI commands starting from Privileged EXEC mode?

  1. 1configure terminal
  2. 2vlan 80
  3. 3name GUEST
  4. 4interface GigabitEthernet0/12
  5. 5switchport mode access
  6. 6switchport access vlan 80

Cevap

The correct sequence starts with 'configure terminal' to enter global configuration mode, followed by 'vlan 80' to create the VLAN, 'name GUEST' to name it, 'interface GigabitEthernet0/12' to enter interface mode, 'switchport mode access' to define the port mode, and 'switchport access vlan 80' to assign the port to the VLAN.
Configuring a VLAN and access port requires following Cisco IOS mode hierarchy: starting in Privileged EXEC mode, entering Global Configuration mode via 'configure terminal', instantiating VLAN 80 with 'vlan 80', assigning its label with 'name GUEST', navigating to the target port via 'interface GigabitEthernet0/12', locking its operational state with 'switchport mode access', and assigning it to the newly created VLAN with 'switchport access vlan 80'.

Adım Adım Çözüm

1
Enter Global Configuration mode
Switch prompt changes to Switch(config)#
CLI commands for creating VLANs and accessing interfaces require global configuration context.
2
Create VLAN 80
Switch prompt changes to Switch(config-vlan)#
VLAN 80 must be created before naming or assigning interfaces to it.
3
Name the VLAN GUEST
VLAN 80 is assigned the name GUEST in the database
The name sub-command must be executed within config-vlan mode.
4
Select interface GigabitEthernet0/12
Switch prompt changes to Switch(config-if)#
Interface configuration mode is required to apply port-specific switchport commands.
5
Configure operational mode as access
DTP negotiation is disabled for trunking and port is forced to access mode
Disabling dynamic trunking negotiation ensures the port functions strictly as an access port.
6
Assign the interface to VLAN 80
Interface GigabitEthernet0/12 is placed into VLAN 80 broadcast domain
Associates untagged ingress frames on GigabitEthernet0/12 with VLAN 80.

Anahtar Kavram

Cisco IOS CLI command hierarchy and sequence for creating a VLAN and configuring an access port.
Tahmini Süre:1m 30s
Bu soruyu puanla