Tutorial Cisco Packet Tracer - Membuat Hostname

2 min read 4 hours ago
Published on Oct 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 a hostname in Cisco Packet Tracer. Setting a hostname is essential for network organization and device identification, especially when managing multiple devices in a network simulation. This is a beginner-friendly tutorial, perfect for those new to Cisco Packet Tracer.

Step 1: Open Cisco Packet Tracer

  • Launch the Cisco Packet Tracer application on your computer.
  • Wait for the main interface to load completely.

Step 2: Add a Device

  • In the bottom left corner, click on the "Devices" icon.
  • Select a device from the options, such as a router or a switch.
  • Drag and drop the selected device onto the workspace.

Step 3: Access the Command Line Interface

  • Click on the device you just added to open its configuration.
  • Navigate to the "CLI" tab (Command Line Interface).
  • Wait for the device to boot up, which may take a few seconds.

Step 4: Enter Global Configuration Mode

  • At the CLI prompt, type the following command and press Enter:
    enable
    
  • Next, enter global configuration mode by typing:
    configure terminal
    

Step 5: Set the Hostname

  • To set the hostname, use the following command format:
    hostname [YourDesiredHostname]
    
  • Replace [YourDesiredHostname] with the name you want to assign to the device. For example:
    hostname Router1
    
  • Press Enter to apply the hostname.

Step 6: Verify the Configuration

  • To confirm that your hostname has been set correctly, exit back to the privileged EXEC mode by typing:
    exit
    
  • Then type:
    show running-config
    
  • Check the output to ensure that the hostname is displayed correctly in the configuration.

Step 7: Save the Configuration

  • To save your configuration changes, enter the following command:
    write memory
    
  • Alternatively, you can use:
    copy running-config startup-config
    

Conclusion

In this tutorial, you learned how to set a hostname in Cisco Packet Tracer, which is an important step for organizing and identifying devices in your network simulations. Remember to save your configuration to avoid losing changes. As a next step, consider exploring other configurations such as setting up interfaces or adding IP addresses to your devices. Happy networking!