Ads 468x60px

Friday, May 27, 2011

Maipu Basics


Here I am covering some basics of Maipu Router, which everybody need in daily routine while monitoring Maipu routers.

Topics Covered –
CPU , Memory, Temperature, SSH, Syslog, Boot loader and more…

To check cpu of Maipu Router –

First enable , spy cpu and check cpu enable.
Router# spy cpu
Router# monitor cpu
Router(config)# check cpu enable
Then perform –
Show cpu , sh cpu monitor, show cpu history

Memory

Show memory – for memory

Temperature

You can see temperature on Maipu routers above 2800 series, like 2824, 3800,7200.
 sh environment
        CPU Temperature is 54°C
        MainBoard Temperature is 33°C

You can poll these values using any NMS. For this you require Maipu MIBs.

SSH

Many of Engineers want to enable SSH for secure communication , Here find the configuration required for SSH.

Step 1 -
 First create the crypto key:

router(config)#sshkeygen

        Generating host key ... ...

        Host key Generated!

After that perform below configuration :

hostname router
user admin privilege 15 password 0 admin

interface fastethernet0
 ip address 192.168.1.1 255.255.255.0
 exit

line ssh-vty 0 15
 privilege level 15
 password 0 admin
 login
 exit
            
ip ssh server

show command – show fingerprint
Output –
The public key sha1 fingerprint:

        Key length: 1024
        89:95:4f:7d:54:f0:6d:19:5a:c9:a7:6d:b5:f3:7d:e3:14:c4:8f:bd

The public key md5 fingerprint:

        Key length: 1024
        4e:ea:be:3e:b0:95:04:47:08:7f:fb:bc:a0:23:39:04

Boot Loader

To check which is your booting IOS or IOS preference-
router(config-fs)#show boot-loader
Basically this command will be helpful, when you have two IOS in flash. Some time you want to see which is active IOS and which IOS will be active after booting.

Syslog

The log messages are graded from level 0 to level 7 according to the
severity levels. Level 0 means the message level is the most severe. By
default, the information of level 0 -7 is all printed to the console interface;
if the terminal monitor command is configured on the telnet terminal;
the information of level 0-5 is written to the memory file; the information
of level 0-4 are written into the flash file; the information of level 0-5 is
sent to the log server.


router(config)#logging file ?    ### you can define level of logging ###

<0-7> Logging severity level
alerts                             Immediate action needed (severity=1)
critical                           Critical conditions (severity=2)
debugging                      Debugging messages (severity=7)
emergencies                   System is unusable (severity=0)
errors Error                   conditions (severity=3)
informational                  Informational messages (severity=6)
notifications                    Normal but significant conditions (severity=5)
warnings                       Warning conditions (severity=4)

The information levels are defined as follows:
Level Key Word Description
0   emergencies The system is unusable.
1   alerts You need to take action at once.
2   critical The critical statue
3   errors The error statue
4   warnings The warning status
5   notifications Normal status, but needs to be noticed
6   informational The informational messages
7   debugging The debugging information


More on /off

When you want to take some capture from your telnet session and your configuration is too long. Then many time you need to hit space button.
Here you can type – more off – in priviledge mode
It will not break configuration into pages.
Then again more on  - for normal usage

                                                                                      
Hope this basic information will be useful for you.

For feedback and queries , Plz put comment with Name and mail id.

You can use Name/URL in profile for comments. 

Maipu IOS upgradation - Shell Mode


Maipu Shell Mode upgradation

As yesterday, I shared Monitor upgradation document. Here is shell upgradation document. But I want add one statement. If you have very old IOS , Check the compile date , you will come to know. That time may be this document will not help you.

In that case you can leave a comment with your mail id. I will try to find it and mail to you. Since in Maipu for old IOS they shell upgradation steps are different. Not easy like this.  But this process is suitable for IOS which are complied by 2009 and 2010.

Maipu is gradually changed the IOS upgradation process and made easy for user to do it.
For more direct help you can contact maipu – techsupport@maipu.com.

Here Plz have a look on process.
First login remotely to router by telnet, Backup your configuration using FTP,

Process –

Goto filesystem, perform dir and check the files, you will see startup file. We need to copy that to our FTP server.

Setup FTP Server as shown in previous post of IOS upgradation

MP2818#filesystem

MP2818(config-fs)#dir
  size          date       time       name
--------       ------     ------    --------
18826       JAN-08-1980  16:32:08   startup           
10225       JAN-01-1980  00:05:04   history           
102369      JAN-09-1980  19:14:28   logging           
8771804    JAN-01-1980  00:07:12   rp8-i-6.1.7(rl10-ag).bin  
1024         JAN-01-1980  00:03:46   rollback          


2               JAN-01-1980  00:24:24   PKISTORE         
8705787    JAN-01-1980  00:06:02   rp8-i-6.2.47.bin  
1024        JAN-01-1980  00:00:12   snmp              

1144        JAN-01-1980  00:02:28   VG1statup         
13728      JAN-01-1980  00:34:12   fsm.dat           
1              JAN-01-1980  00:00:14   code.dat          
3987       JAN-01-1980  21:26:04   excetech          


MP2818(config-fs)#copy file-system /flash/startup ftp 115.242.38.13 maipu maipu  startup
Copying!!!!!!!!!!!!!!!!!!!
Total 18826 bytes copying completed.
MP2818(config-fs)#exit
Startup Copied.. 


Then perform …


  •     Use sysupdate command to upgrade monitor first.

   command: Make sure you specify monitor after monitor file.
     sysupdate   monitor ftp
      system prompt:
                                Update monitor flash:
                                Erase monitor flash ... success.
                                Programming monitor flash ........ success.
                                Verifying monitor flash ... success.



Important : after upgrading monitor, PLEASE DON'T shutdown or reload router, and do next step right now.


  • Use sysupdate command to upgrade IOS.

   command: Make sure you specify image after IOS name
     sysupdate   image ftp



  •           Reload router.


IOS upgradation completed.

In this process, Major concentration should be, Image and monitor keywords. Specify monitor when you are upgrading monitor file to router and specify image when you are upgrading any IOS image.

Now we completed both upgradation mode for Maipu routers.
Same time we saw how to take backup of Maipu Router configuration.

Hope this Information will help you in real time..

Thanks for reading.

For feedback and queries, Plz comment with Name and Mail id.
Those who don’t have any account with blogger, just use Name/url  in profile. It will show your name..


Related Posts Plugin for WordPress, Blogger...