Saturday, 27 April 2024

VLAN Configuration Cisco Switch


Configuring VLANs on a Cisco Catalyst 9200 switch

see My Fiveer gig regarding network IT rack diagram

https://www.fiverr.com/s/W5LVG7



Configuring VLANs on a Cisco Catalyst 9200 switch involves several steps. Here's a basic guide to set up VLANs: 1.Access the CLI: Access the Command Line Interface (CLI) of the Cisco Catalyst 9200 switch. You can do this through a console cable or through SSH/Telnet if enabled. 2.Enter Privileged EXEC Mode: Enter privileged EXEC mode by typing: enable 3.Enter Global Configuration Mode: Enter global configuration mode by typing: Create VLANs: Create VLANs using the following command: vlan vlan-id Replace vlan-id with the number of the VLAN you want to create. For example: vlan 10 This command creates VLAN 10. Assign VLAN Names (Optional): Assign names to the VLANs using the following command: name vlan-name Replace vlan-name with the desired name. For example: name Sales This command assigns the name "Sales" to VLAN 10. (you can set your desired Interface configuration) 4.Exit VLAN Configuration Mode: After creating the VLANs, exit VLAN configuration mode by typing: exit 5.Assign Ports to VLANs: Enter interface configuration mode for the desired ports and assign them to VLANs. For example, to assign a port to VLAN 10: interface interface-id switchport mode access switchport access vlan vlan-id Replace interface-id with the interface number (e.g., GigabitEthernet1/0/1) and vlan-id with the VLAN number. For example: interface GigabitEthernet1/0/1 switchport mode access switchport access vlan 10 (you can set your desired Interface configuration) 6.verify Configuration: After configuring VLANs and assigning ports, verify the configuration using the following commands: show vlan show interfaces status These commands will display the VLAN information and the status of the interfaces. 7.Save Configuration: Finally, save the configuration to the startup configuration file to ensure it persists after a reboot: copy running-config startup-config That's a basic overview of VLAN configuration on a Cisco Catalyst 9200 switch. Make sure to adjust the VLAN IDs and interface numbers as per your network requirements. 8. Uplink configuration: Uplink means which cable connected to upstream switches and carry the data access switch to distribution switch interface GigabitEthernet1/0/1 switchport mode trunk switchport trunk vlan 10,20,30 switchport trunk allowed vlan add 40 (you can set your desired Interface configuration)


***Thank you***





No comments:

Post a Comment