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***





Thursday, 25 April 2024

How to OS Upgrade Cisco Catalyst 9200/9300 Series Switch

 

Firmware Upgrade for Catalyst 9200 and 9300 Series Switches

When you upgrade to a newer release of the firmware or operating system on your switch, the boot loader may also be updated automatically, depending on the hardware version of the switch. This updated boot loader will come into effect the next time the switch is restarted or reloaded.

Follow these instructions to upgrade from one release to another in install mode. To perform a software image upgrade, you must boot into IOS through boot flash:packages.conf.

Step 1: Clean-up

install remove inactive

Use this command to clean-up old installation files in case of insufficient space and to ensure that you have at least 1GB of space in flash,

Switch# install remove inactive

install_remove: START 

Cleaning up unnecessary package files

Do you want to remove the above files? [y/n]y

Step 2: OS upload in to the flash 

Switch# copy tftp://10.8.0.6/image/cat9k_lite_iosxe.17.09.05.SPA.bin flash:

or

Switch# copy usbflash0:cat9k_lite_iosxe.17.09.05.SPA.bin flash:

Switch# dir flash:*.bin

Verify the image using md5  

Switch# verify /md5 bootflash:cat9k_lite_iosxe.17.09.05.SPA.bin

Step 3: set boot variable

Switch(config)# boot system flash:packages.conf

Switch(config)# no boot manual

Switch(config)# exit

Switch# write memory

Verify the BOOT variable

Switch# show boot

BOOT variable = flash:packages.conf;

Manual Boot = no

Step 4: Install image to flash

Switch# install add file flash:cat9k_lite_iosxe.17.09.05.SPA.bin activate commit

install_add_activate_commit: START 

This operation may require a reload of the system. Do you want to proceed? [y/n]y

Step 5: Verify installation

After the software has been successfully installed, use this command to verify that the flash partition has four new .pkg files and two .conf files.

Switch# dir flash:*.pkg

Switch# dir flash:*.conf

Directory of flash:/*.conf

Directory of flash:/

16631 -rw- 4882  Apr 25 2024 05:39:42 +00:00  packages.conf

16634 -rw- 4882  Apr 25 2024 05:34:06 +00:00  cat9k_lite_iosxe.17.09.05.SPA.conf

Step 6: Reload and verify version

Use this command to reload the switch. When you boot the new image,

Switch# reload

After the image boots up, use this command to verify the version of the new image.

Switch# show version

Cisco IOS XE Software, Version 17.09.05

Cisco IOS Software [Cupertino], Catalyst L3 Switch Software (CAT9K_LITE_IOSXE), Version 17.09.05, RELEASE SOFTWARE (fc1)

***Thank you***



How to Enable Cisco WLC 9800 Standby console.

Access to the Standby chassis:

Please follow the below step.

Console access to the Standby chassis is not available by default. The console displays the following error message:

9800_WLC stby>?

Standby console disabled

When the HA pair is established, configuration commands can only be executed on the Active chassis.

However, the Standby console can be enabled using the following command on the Active chassis:

9800_WLC(config)# redundancy

9800_WLC(config-red)# main-cpu

9800_WLC(config-r-mc)# standby console enable

The Standby console then provides a restricted set of commands, mostly "show" commands.