yesterday, I easily unplugged a fibre from our switch, by the time I plug it back, the switch was not working any more.

I suppose this is easy as plug in and bang, however it is not. Lucky my colleague plug a cable from another switch in and looks the configuration of the switch flushed.  Then the fibre works. During the time we lost all wireless connection and many server connection. I was panic because I know nothing to fix it.

So this is not right, my skills of networking is not low, but down to the hardware level of Cisco is very limited. I believed it was plug and go, and it is in most of case. I even believe it take me 1 month to get CCNA, however now I believe it won`t take that much time cuz my excited  experience and convenient environment. However, the point is -I need start learn this, and no need to panic again.

After a little bit confusion in the morning, 2 hours later I believe I am getting into this 2960 and will understand it further more. I make this manual

So from the very beginning, you need a switch , better a new one you can learn quick, and as well as a console cable to link the computer with switch. You need download Putty and choose serial, by default 9600 then start putty, you will log into console and it may take more than 2 mins to get some information Be patient. Our journey is just started.

By logged in you are prompted to get some information and asked for initialize those configuration information.

put what ever you like based on prompts and remember use putty-> right-click on top of putty-> copy everything to clipboard and save it somewhere in case you forget everything.

The first thing I tried is recovery password, however it is not all equivalent to the manual, but worth to try.

It is very easy to find that and I wont repeat other`s expirence, start our adventure now.

Let`s go through the most basic command , and conquer them one by one.

 

We start from here. The table is manual copied from Cisco 2960 Guide, Pretty straight forward but most important and basic.  Really need to go through.

After go through above, there are more to discover, leave it,  have a quick look of this

Now lets keep going. Have a quick look of this.

I assume you understand certain level of DOS or learn Linux already, it would do a lot help. So cut cheese, lets go chapter 3.

A little hint is, if you put a cable in from another switch, it works. Which is my reason I did not research this before. But to understand how to set it up, we need research further and it worthy if you want feel like in charge.

Now to get the most importan part, assign ip. but before that, lets have a look of this command.

#show interfaces vlan 1
Vlan1 is up, line protocol is up
  Hardware is EtherSVI, address is 88f0.770d.4d40 (bia 88f0.770d.4d40)
  Internet address is 10.136.48.155/22
  MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive not supported
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input 00:00:00, output 00:00:00, output hang never
  Last clearing of “show interface” counters never
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 5000 bits/sec, 7 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     37928 packets input, 3461795 bytes, 0 no buffer
     Received 0 broadcasts (398 IP multicasts)
     0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     3387 packets output, 3424839 bytes, 0 underruns
     0 output errors, 2 interface resets
     0 output buffer failures, 0 output buffers swapped out

and also this:

#show ip redirects
Default gateway is 10.136.48.1

Host               Gateway           Last Use    Total Uses  Interface
ICMP redirect cache is empty

Those 2 command shows your ip configuration.

Now we can use this steps to manually configure your vlan, and then go to network browser to browse it online, which we can talk about later.

Ok, now use a computer ping this ip address, and you can logged in web interface and start from there. Cheers.

Will talk about net interface in next post and go back to command later.

Advertisements