Srv-Olympe
  • Welcome
  • Home Automation
    • Home Assistant
    • Zigbee
  • Infrastructure
    • Network
      • LAN
      • WAN
      • Wifi
    • System
      • Windows Server
      • Server
  • About
  • Contact
Category:

Network

NetworkWAN

BBOX -> OPNsense / PFsense

by Srv Olympe 09/12/2024
Sorry, but you do not have permission to view this content.
09/12/2024 0 comments
0 FacebookTwitterPinterestEmail
InfrastructureLANNetwork

Configuring a VLAN on a Cisco Switch

by Srv Olympe 20/11/2024

Objective: Segment the network by configuring VLANs to separate broadcast domains and improve security.

Prerequisites:

  • A Cisco switch (e.g., Cisco Catalyst 2960)
  • Administration console (telnet, SSH, or physical console)
  • Administrator privileges

Steps:

  1. Access the Cisco switch:
    • Connect to the switch via a terminal session (e.g., PuTTY).
    • Enter privileged mode by typing:
      bash
      enable
  2. Create a VLAN:
    • Enter global configuration mode:
      bash
      configure terminal
    • Create a VLAN with a specific number (e.g., VLAN 10):
      bash
      vlan 10
      name Sales
  3. Assign ports to the VLAN:
    • Select the interfaces to assign to the VLAN. For example, to assign interfaces 1 to 10 to VLAN 10:
      bash
      interface range FastEthernet0/1 - 10
      switchport mode access
      switchport access vlan 10
  4. Configure VLAN Trunking:
    • To allow a port to carry multiple VLANs (trunking), for example, for connections between switches or to a router:
      bash
      interface FastEthernet0/24
      switchport mode trunk
      switchport trunk allowed vlan 10,20
  5. Save the configuration:
    • Save the configuration to prevent losing changes after a reboot:
      bash
      write memory
  6. Verify the configuration:
    • Check that the VLAN has been correctly configured by typing:
      bash
      show vlan brief
20/11/2024 0 comments
63 FacebookTwitterPinterestEmail

Search


Categories

  • Infrastructure (4)
    • Monitoring (1)
    • Network (2)
      • LAN (1)
      • WAN (1)
    • System (1)
      • Windows Server (1)

    TEST
    • Email

    @2024 - All Right Reserved - SRV-OLYMPE.OVH


    Back To Top
    • Welcome
    • Home Automation
      • Home Assistant
      • Zigbee
    • Infrastructure
      • Network
        • LAN
        • WAN
        • Wifi
      • System
        • Windows Server
        • Server
    • About
    • Contact