Category Archives: Cicso Config

Can’t run crypto key generate rsa on Cisco 3750G Switch

While reconfiguring a Cisco switch 3750G WS-C3750G-24TS-S1U with version 12.0(5.3). When attempting to run “crypto key genearte rsa“, it was failing with below error: MW-CORE-SW01#conf tEnter configuration commands, one per line. End with CNTL/Z.MW-CORE-SW01(config)#hostname MWiredMW-CORE-SW01(config)#ip domain-name key generate rsa % Invalid input detected at ‘^’ marker. Workaround Solution: In order to run “crypto key… Read More »

How to Upgrade IOS Image on Cisco Catalyst Switch 2960x

Firstly before upgrading IOS, you need to obtain the latest IOS version by logging on to Cisco Software Central at and selecting your device type and version. Please note that configure, price, and order Cisco products, software, and services. Available to partners and to customers with a direct purchasing agreement. In my case I… Read More »

How to Configure the Cisco Switch to Run SSH

For SSH to work, your Cisco switch needs an RSA public/private key pair. The VTY relies on SSH for its secure transport. Follow these steps to set up your Cisco Switch to run SSH: Switch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#hostname HO1HO1(config)#ip domain-name key generate rsa% You already have RSA keys defined… Read More »

How to Restrict VTY – SSH access to a specific IP

Controlling Access to a VTY via SSH to a specific IP helps improve security to your Cisco Switches or Routers. You can control who can access the virtual terminal lines (vtys) to a router or Cisco Switch by applying an access list to inbound vtys. Switch(config)#access-list 1 remark “Restrict SSH Access” Switch(config)#access-list 1 permit host… Read More »

How to configure banner MOTD on Cisco switch

In this article I show you how to configure banner MOTD on Cisco switch. To configure the message-of-the-day (MOTD) banner that displays when the user logs in to a Cisco 2900 Series switch, use the banner motd command. Switch#conf t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)# Switch(config)#banner motd ! Enter TEXT… Read More »

How to Initially Configure a Cisco Switch Tutorial

Configuring the Switch for the First Time. This guide describes how to initially configure a Catalyst 2900 series switch. To configure your switch you need a Cisco Console Cable, coupled with USB to 1 Serial (9 Pin) Port. This is totally dependent to the model of your Laptop. Step 1: Connect to your Cisco Switch… Read More »