Skip to main content


IOS upgrade on Cisco Switch in Stack

Upgrading Cisco switch in stack : The .bin file is the Cisco IOS Software image. If you want to  use only the CLI  to manage the switch, this is the only file you need to download. To upgrade follow this steps: 1. Download the bin image from the website. 2. Issue the dir flash: command to verify the amount of free memory that you have for the upgrade. 3. Copy the bin image to the flash of each switch. In this case, two are the switches so the commands are: copy ftp: flash1: copy ftp: flash2: 4. Configure the boot variable to boot the switch with the newly copied IOS: boot system switch all flash:/c2960s-universalk9-mz.150-2.SE5.bin 5. enter "reload" command from Master Switch. All stack members will be reloaded. Note:  if you just issue the  reload  command from the master, the whole stack will reboot. The  reload slot [id]  will reload a single switch.
Recent posts

copy IOS from FTP server for cisco switch upgrade

These are the commands to copy IOS from FTP to Flash: Filezilla SERVER : copy ftp://username:password@ftp-server-ip/IOS-name.bin flash: Example : copy  ftp://cisco:cisco@  flash: SolarWinds SFTP & SCP Server (When we need to copy IOS to Flash using Secured channel like SCP or SFTP: copy scp://<User>:<Password>@<Server-IP>/<File-name> flash0://<File-Name>

Cisco Visio Stencils 3d

I am searching internet for good Cisco Visio stencils as previous one are really out dated. These Visio stencils can be used for not only for Cisco but for simple networking diagrams in Visio.

Configuring MAC Address filtering on Switch

For Cisco 4500 switch : Configuring Unicast MAC Address Filtering When unicast MAC address filtering is enabled, the switch drops packets with specific source or destination MAC addresses. This feature is disabled by default and only supports unicast static addresses. Example : Switch# configure terminal Switch(config)# mac address-table static c2f3.220a.12f4 vlan 4 drop Switch(config)# end Switch#

IP SLA tracking in Route MAP

Examples The following configuration sample shows a configuration used to track an object: ! Configure the objects to be tracked. ! Object 123 will be up if the router can ping ! Object 124 will be up if the router can ping ip sla monitor 1  type echo protocol ipicmpecho ip sla monitor schedule 1 start-time now life forever ! ip sla monitor 2  type echo protocol ipicmpecho ip sla monitor schedule 2 start-time now life forever ! track 123 rtr 1 reachability track 124 rtr 2 reachability ! ! Enable policy routing using route-map alpha on Ethernet 0. interface ethernet 0  ip address  ip policy route-map alpha ! ! is via this interface interface ethernet 1  ip address ! is via this interface interface ethernet 2  ip address ! ! Configure a route-map to set the next-hop to if object 123 is up. If object 123 ! is down,

NAT Cloud in EVE-NG

NAT Cloud in EVE-NG I want to share with you how to create a NAT cloud in the EVE-NG community edition. Essentially, this is a virtual network with a DHCP server, which will allow NAT connections over the management interface of the EVE-NG VM for Internet access. Interface, DHCP Server and NAT First of all, we need to create a network which can be used in the topology. I’ll be using the predefined pnet9 interface (Cloud 9 network) for this, but any other interface will do. 1 2 3 ip address add / 24 dev pnet9 echo 1 > / proc / sys / net / ipv4 / ip_forward iptables - t nat - A POSTROUTING - o pnet0 - s / 24 - j MASQUERADE This will assign an IP address to the device, enable IP forwarding in the kernel and establish an iptables rule to NAT the traffic to the pnet0 interface, which has the management IP address assigned. Technically, the pnet devices are bridges, but for the sake of this note this does no

SuperPuTTY for EVE-NG

To use SuperPuTTY as default client for telnet in Eve-NG for multi tab console When we click on Router or Switch in EVE-NG by default console open in CMD. Here I posting a method to use SuperPutty with EVE-NG so that you can use TAB function of SuperPutty. You need to edit registry  Enable handling of telnet://hostname:port/ URLs on the command line. With this feature, you can now set SuperPuTTY as the default handler for Telnet URLs  If you run the Registry Editor (Start->Run->regedit.exe) and set the value in: HKEY_CLASSES_ROOT\telnet\shell\open\command to be: "\path\to\SuperPutty.exe" (with the full pathname of your SuperPuTTY executable) In my case it like this : C:\Program Files (x86)\SuperPuTTY\SuperPutty.exe %1 Second most important thing : Select "Only allow single instance of SuperPutty to run" in SuperPutty options (Tools > Options) And in GUI options , select Tab Text : "Dynamic" And Fin

What is Ansible?

Ansible is a simple automation language or you can say application that can perfectly automate IT infrastructure or network infrastructure. Ansible  is a free-software platform for configuring and managing computers or network devices which combines multi-node software deployment, ad hoc task execution, and configuration management. (description taken from  wikipedia ) It can also be used for network management. Like Puppet or Chef which requires agent to be installed on host system but Ansible does not require an agent on the host system. It uses SSH for transport to communicate with the host. When Ansible was first developed it was used primarily for server administration but in the last few years of development more and more network modules have been added to the software. Currently these Network vendor devices can be manage by Ansible. Current version is Ansible Ver 2.4 : A10 Networks Cisco ACI Aireos AOS Aruba Networks Cisco ASA AVI Bigswitch Bigswitch Citrix Cloud

Install Linux in Eve-NG

Install Linux in Eve-NG : You can choose any of Linux image from the pack below and simply upload into EVE. Download your preferred image from this link: Download Linux Images Here   (This Link is Provided by EVE - NG)     2. Download your desirable image     3. Using WinSCP or FileZilla SSH (TCP 22) to your EVE and upload downloaded image to the location:  /opt/unetlab/addons/qemu/     4. Using Putty or other telnet client, CLI SSH (TCP 22) to your EVE and go to location: cd /opt/unetlab/addons/qemu/     5. Unzip your uploaded image file, make sure you are using right name of uploaded image. Example for ubuntu desktop image below. tar xzvf linux-ubuntu-desktop-16.04.4.tar.gz     6. Remove raw zipped image file from EVE rm -f linux-ubuntu-desktop-16.04.4.tar.gz    7. Fix permissions /opt/unetlab/wrappers/unl_wrapper -a fixpermissions    6. Repeat this procedure for each downloaded image, expecting right image name in commands Ready to go images recommen