XI TKJ AIJ C3 | Praktikum KD 1 | 4.1.1 Melakukan konfigurasi VLAN (Cisco)
2 min read
2 days ago
Published on Nov 11, 2024
This response is partially generated with the help of AI. It may contain inaccuracies.
Table of Contents
Introduction
This tutorial will guide you through the process of configuring VLANs (Virtual Local Area Networks) in a Cisco network environment. By following these steps, you will learn how to set up VLANs effectively, which is crucial for organizing and managing network traffic. This is particularly relevant for anyone studying networking or working in IT.
Step 1: Accessing the Cisco Switch
- Connect to your Cisco switch using a console cable or SSH.
- Use a terminal emulator (like PuTTY or Tera Term) to establish a connection.
- Enter your credentials to log in.
Step 2: Entering Global Configuration Mode
- Once logged in, enter global configuration mode by typing the following command:
configure terminal
- This mode allows you to make changes to the switch configuration.
Step 3: Creating a VLAN
- To create a new VLAN, use the command:
vlan [VLAN_ID]
- Replace
[VLAN_ID]
with the numerical ID you wish to assign to the VLAN, for example:vlan 10
- Optionally, you can name the VLAN for easier identification:
Replacename VLAN_NAME
VLAN_NAME
with a descriptive name.
Step 4: Assigning Ports to the VLAN
- To assign switch ports to your newly created VLAN, first select the interface you want to configure:
interface [INTERFACE_ID]
- Replace
[INTERFACE_ID]
with the actual port (e.g.,FastEthernet0/1
). - Next, assign the port to the VLAN:
switchport mode access switchport access vlan [VLAN_ID]
- Remember to replace
[VLAN_ID]
with the ID of the VLAN you created.
Step 5: Verifying VLAN Configuration
- To verify that your VLAN has been created and ports assigned correctly, use the following command:
show vlan brief
- This command displays a list of all VLANs and their associated ports.
Step 6: Saving Your Configuration
- After completing your configuration, save your changes to the switch's startup configuration to avoid losing them after a reboot:
write memory
- Alternatively, you can use:
copy running-config startup-config
Conclusion
In this tutorial, you learned how to configure VLANs on a Cisco switch, including creating VLANs, assigning ports, and verifying your configuration. Proper VLAN management is essential for optimizing network performance and security. As your next steps, consider exploring advanced VLAN features such as trunking and inter-VLAN routing for more complex network setups.