Ads 468x60px

Thursday, May 26, 2011

Maipu 3G configurations


Now a days, Many customers are looking for cheap backup solution for primary link, so many ISP are offering 3G link (inform of USB or sim card) as backup link.
In mean time they can restore primary, customer can use 3G as backup for continuation in operations.
Maipu has MP 1800 series dedicated for 3G CPE routers.

This is tested configuration for one of case.But here we are using 2 cellular media, one is 3G from SIM card and other is from USB. This is quite intresting , Both can be used same time. One as primary and other as backup.
Many customer requires this kind of solution.

Testing description

MP1800 router as the CPE in the customer life network, interface cellular 3/0 as the primary link , link type is GPRS (3G) and USB interface as the backup link also via the GPRS network  cellular0.

When the master link was down, router will automatically change to the backup link.

Totally customer has two link, one for primary and other one for link backup.

Maipu 1800 key configuration:

ip mef

ip load-sharing per-destination

ip access-list standard 1
 10 permit any
 exit

dialer-list 1 protocol ip permit
dialer-list 2 protocol ip permit

chat-script g3dia ATDT

interface fastethernet0
 ip address 172.29.1.1 255.255.255.252
 exit

interface tunnel1
 tunnel source 10.203.176.22        ## IP address are received from SP after authentication ##
 tunnel destination 172.29.5.210     ## IP address are received from SP after authentication ##
 ip address 192.211.1.2 255.255.255.252
 exit


interface tunnel2
 tunnel source 10.111.20.32           ## IP address are received from SP after authentication ##
 tunnel destination 172.30.233.15     ## IP address are received from SP after authentication ##
 ip address 192.212.1.2 255.255.255.252
 ip ospf cost 30000
 exit

!hsc_if_cellular0

interface cellular0                              ### USB Cellular ###
 encapsulation ppp
 ppp chap password ow
 ppp ipcp dns request
 ip address negotiated
 bandwidth 384
 dialer in-band
 dialer idle-timeout 0
 dialer-group 1
 dialer string *99#
 script dialer g3dia
 ui-control inaccessible telnet http
 exit

!end

!hsc_if_cellular3/0

interface cellular3/0                  ### SIM card used for connectivity ###
 encapsulation ppp
 ppp chap password ow
 ppp ipcp dns request
 ip address negotiated
 bandwidth 384
 dialer in-band
 dialer idle-timeout 0
 dialer-group 2
 dialer string *99#
 script dialer g3dia
 ui-control inaccessible telnet http
 exit       
                                  
router ospf 100
 network 172.29.1.0 0.0.0.255 area 0
 network 192.211.1.0 0.0.0.255 area 0
 network 192.212.1.0 0.0.0.255 area 0
 exit

ip route 0.0.0.0 0.0.0.0 cellular0
ip route 0.0.0.0 0.0.0.0 cellular3/0



Hope this configuration will be helpful for you.

For feedback and queries, Plz comment with your name and mail id..


Maipu – IOS upgradation


Maipu – IOS upgradation from Monitor Mode

Maipu has two ways to upgrade the IOS, one is from monitor mode, similar to Cisco ROMMON mode. Then another is from shell mode that means privilege mode. Same like Cisco. But, Maipu has some command differences. Many of you know that Maipu upgradation is very complicated. But now Maipu already launched simplest way to do it with 2 simple steps in shell mode “sysupdate”.

I know many of engineer are looking for document reference for Maipu IOS upgradation. Here I will cover both upgradation process. Monitor mode and Shell mode.

In this section, we will see how to upgrade IOS Maipu IOS from monitor mode…

Note : this is general process. For confirmation you can contact Maipu directly – techsupport@maipu.com
  
To enter in monitor mode – Plz press “Ctrl+C” at the time of booting, if you are not able to go, Plz reboot router manually and try again.

Monitor upgradation process is used in recovery mode. If you face any issue in upgrading router by normal mode and it is not coming up, then you have to use this mode… normally this mode is very easy and fast to recover router to normal with required IOS.

Make the environment like this, Use straight cable to connect your laptop to router f0 port or g0 port depending on router models. Then connect console to your laptop.

That means now you can access router via hyper terminal from your laptop and your laptop is connected to router by straight cable also.


As best practice, we can take backup of our configuration for our records.

Backup your startup file to your FTP server --
(This is according to your requirement)

Command:

ftpcopy [src /path/filename] ftp [host addr] [user] [pass] [dest filename]         
- copy file from flash to host with FTP
Under the monitor mode:
Monitor:>ftpcopy /flash/startup ftp 1.1.1.2 maipu maipu startup.txt
Copying!!!
Total 2629 bytes copying completed.

Check the monitor version and format

Monitor:>ver
This will show you current monitor details
Monitor:>


Sometime this command will not work, depending upon the models…
Use “format /flash” then confirm with “Y”

Monitor:>format /flash
All files in TFFS dev /flash system will lose, realy want to format(Y/N)?Y
Erasing TFFS dev '/flash' ..................…….............................success!
Formatting TFFS dev '/flash'  ..................…….............................success!
mount flash file system on dev '/flash' success.



This format/system command is for double file system IOS and supported models like
MP1800, MP 2824 and MP 3840.

Monitor:>format /system   
All files in TFFS dev /system system will lose, realy want to format(Y/N)?Y
Erasing TFFS dev '/system'  ..................…….............................success!
Formatting TFFS dev '/system'  ..................…….............................success!
mount flash file system on dev '/system' success


Change the hyper terminal speed to 115200 , use XMODEM upgrade the monitor.
Monitor:>s 115200 
### change the speed from 9600 to 115200, after that please also change your hyper terminal speed to 115200 and re-open it.

Monitor:>
Monitor:>lxr
download monitor image <.bin> with xmodem protocol:
XMODEM Receive: Waiting for Sender ...
CCC
download success, image size = xxxxxx ( xxxxxx ).
Update monitor flash........
Monitor:>

Now from here itself you can upgrade IOS also by XModem, But it will take lot of time.
To do it fast we have use our PC and FTP to upload IOS to Router.

Setup FTP server on PC, set the IOS path and username, password in that software.

I am using - wftpd32 software to do this.

Check out – that software steps.



Click –Security àUser/rights-- > new user

Then create new user à and in home directory locate the path of IOS àclick Done.



In this way, your FTP configuration is complete. Make sure that correct IOS is located in home Directory.


Now back to hyperterminal
For help in monitor mode- type “help” , you will see command and decription.

Use ‘C” command to set booting parameter on monitor mode. C- means Change

Monitor:>c
Please change the system boot parameters with the following operation:
'.' = clear field;  '-' = go to previous field;  ^D = quit
available boot devices:
 fe0 fe1 flash
boot device                           : flash0 fe0
file name                              : /flash/rpl-i-6.1.7.bin rpl-i-6.1.25(REL).bin
local IP addr                          : x.x.x.x  1.1.1.1   Assign IP address to router F0 port 
host IP addr                          : 1.1.1.2   Define your FTP server IP shown in diagram 
gateway IP addr                     :
user name                             :  maipu      ### FTP username ##
ftp password                          :  maipu      ### FTP password ##
save image                            :  0 1         ### Type 1, since 1 means save IOS ###

Screenshot -  

### Don’t bother about IOS name in screenshot. IOS will be as per your model and requirement. I tried to explain you process, Diagram is just for reference…

Monitor:>

Then , check once again for confirmation. Using C command, then proceed for last step…
Now already you defined all parameters in router monitor mode, about FTP server and IOS name , username , password.

Now you need to type ‘r’ command in monitor mode. “r” means Run – This command will upload FTP server home directory IOS to your router Flash and boot it.

Monitor:>r


In this way monitor IOS upgradation is completed..

Now one more thing, As we taken backup of your configuration. Copy again to your router and load it…

router(config)#inter f0
router(config-if-fastthernet0)#ip add 1.1.1.1 255.255.255.0

## configure the IP address for interface F0, which is connect to FTP server.

router(config-if-fastethernet0)#exit
router(config)#exit
router#

### check the connectivity is ok from router to FTP server , ping 1.1.1.2 (FTP server)…

router#ping 1.1.1.2
Press key (ctrl + shift + 6) interrupt it.
Sending 5, 76-byte ICMP Echos to 1.1.1.2 , timeout is 2 seconds:
!!!!!
Success rate is 100% (5/5). Round-trip min/avg/max = 0/0/0 ms.

### go to the filesystem, from the FTP copy startup to device flash.    

router#filesystem
router(config-fs)#copy ftp 1.1.1.2 maipu maipu startup.txt file-system /flash/startup
Downloading###OK!

router(config-fs)#

## Now at last you need use command “config-file /flash/startup” to active copied configuration to running-config, otherwise when you need reboot the device then you can get startup when you perform show run.

router(config-fs)#config-file /flash/startup
router(config-fs)#


This section is totally for Maipu monitor upgradation process. In next post we will see about Shell upgradation.

Hope this information is informative for you..

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



Related Posts Plugin for WordPress, Blogger...