How to make a router function as a switch in GNS3

In order to achieve this in GNS3, follow the following steps below.

-Drag your router into the topology
– Right click on it and choose “configure
– Go over to the “slots” tab
– Leave the “slot 0” the way it is
– Make a “slot 1” entry for “NM-16ESW”, apply and save your changes
– Change the symbol on it to look like a switch if you want
– Enter the “no ip route” command in global config mode so it doesn’t act like a router

Switch_Router(config)#no ip routing
Switch_Router(config)#do copy run start

Note the following deviations from a normal switch config.
Switch# show vlan-switch
Switch# vlan database

Troubleshooting Cisco ASA -Commands

Use “show switch vlan” to view the vlans that have been assigned to Layer 2 switch ports.

 TestASA(config)# show switch vlan
 VLAN Name                             Status    Ports
 
 1    inside                           up        Et0/1, Et0/2, Et0/3, Et0/4
                                                 Et0/5, Et0/6, Et0/7
 2    outside                          down      Et0/0
 TestASA(config)#  

Use the show int IP brief to view the configured interfaces

TestASA(config)# show int ip brief
Interface IP-Address OK? Method Status Protocol
Ethernet0/0 unassigned YES unset down down
Ethernet0/1 unassigned YES unset up up

Note on a cisco switch its “show ip interface brief”

use the show ip add a command to view the configured IP address of the interfaces and VLANs

TestASA(config)# show ip add
System IP Addresses:
Interface Name IP address Subnet mask Method
Vlan1 inside 192.1xx.1xx.xx 255.xxx.xxx.0 CONFIG
Current IP Addresses:
Interface Name IP address Subnet mask Method
Vlan1 inside 192.1xx.1xx.xx 255.xxx.xxx.0 CONFIG

To display the configured http server if configured

TestASA(config-if)# show run http
http server enable
http 192.168.176.0 255.255.240.0 inside

To display the configured Telnet connection

TestASA(config)# show run telnet
telnet 192.168.176.0 255.255.240.0 inside
telnet timeout 1000

To display the configured ssh connection

TestASA(config)# show run ssh
ssh stricthostkeycheck
ssh 192.168.176.0 255.255.240.0 inside
ssh timeout 10
TestASA(config)#

SG300 Firmware Upgrade – Copy: Illegal software format

When I had this error, some articles suggested that you need to install the upgrade the boot loader first before attempting the firmware upgrade. That the Boot loader (.rfb file) can be found on the same zip folder as the firmware. This does not work in this case.

Solution: The steps below fixed the issue.
– All that needs to be done to correct this issue is to perform an interim firmware upgrade to the previous version. Then upgrade form this version to the next, till it gets to the most recent one.

The switch flash file system was changed in 1.3.7.18