Reset TopSpin Infiniband Switch Password

To reset the password on a TopSpin Inifiband switch you’ll need to boot the system in the single user mode.

To do this:

Connect a console to the serial port and stop the booting at ppcboot.   Do the following:

1) at the “Hit any key to stop autoboot:” prompt, press a key quickly ( <5sec )

2) type in (without quotes, press enter): “setenv bootargs $(bootargs) -s”

3) type in (without quotes, press enter): “bootd”

4) you are now running linux in single user mode – on the recovery area readonly filesystem; load the Disk On Chip driver, type in (without quotes, press enter): “/sbin/insmod /sbin/doc.o”

5) mount the /topspin Disk On Chip filesystem, found on /dev/msys/fla2, on an available directory (such as /tmp), type in (without quotes, press enter):   “mount -t ext3 /dev/msys/fla2 /tmp”

6) the actual config file, config:startup-config, will now be accessible at the path /tmp/config/runtime/startup-config – either remove this file (if there is no other config data to worry about), or vi the file to remove the password spec for user “super” – remove the line with syntax similar to “username super password {integer} {encrypted password}”, sync and reboot; the super user password will revert to the default value “super”.

 

See below for an example:

 

 

PPCBoot 1.1.6 (TopspinOS 2.5.0-BETA releng #273 08/26/2004 16:56:57) (Aug 26 2004 – 20:05:19)

Board: Topspin 270 Fabric Switch Card

 

• VCO: 800 MHz CPU: 400 MHz PLB: 133 MHz OPB: 66 MHz EPB: 33 MHz Drive Anafa2 #1 and #2 reset low… POST: FPGA Rev:0xad : PASSED HW Slot 0. I’m a core. The other core is NOT master. Request mastership. I am master. Hit any key to stop autoboot: 0 => setenv bootargs $(bootargs) -s => bootd Releasing Anafa 1 from reset… Releasing Anafa 2 from reset…

ENET Speed is 100 Mbps – FULL duplex connection

 

Boot Regular Image from Disk Partition 0: boot sig=0x0 Loading:

++++++++++++++++++++++++++++++++++++++++[ 1272K]

 

• ++++++++++++++++++++++++++++++++++++++++[ 2552K]

++++++++++++++++++++++++++++++++++++++++[ 3832K] [ 5112K] [ 6392K] [

++++++++++++++++++++++++++++++++++++++++7672K] ++++++++++++++++++ [ Done

]

 

• Verifying Checksum … OK Uncompressing Multi-File Image … OK Linux version 2.4.19-rc3 (releng@borg(TopspinOS 2.5.0-BETA releng #273

08/26/2004 16:56:57)) (gcc version 2.95.3 20010315 (release)) #23 Thu Aug

26 20:05:59 PDT 2004 Topspin 270 Fabric Switch Card Installing knfsd (copyright (C) 1996 okir@monad.swb.de). iic_ibmocp_init: IBM on-chip iic adapter module 802.1Q VLAN Support v1.7 Ben Greear <greearb@candelatech.com> All bugs added by David S. Miller <davem@redhat.com> RAMDISK: Compressed image found at block 0 VFS: Mounted root (ext2 filesystem) readonly.

 

BusyBox v0.60.5 (2004.08.08-19:40+0000) Built-in shell (ash) Enter ‘help’

for a list of built-in commands.

 

# /sbin/insmod /sbin/doc.o Partition check: fla: fla1 fla2 flb: flb1 # mount -t ext3 /dev/msys/fla2 /tmp EXT3-fs warning: maximal mount count reached, running e2fsck is recommended EXT3-fs: recovery complete. # rm /tmp/config/runtime/startup-config

 

• –OR–

# vi /tmp/config/runtime/startup-config

 

[remove the line with syntax similar to “username super password {integer} {encrypted password}”, sync and reboot; password will revert to the default value “super”.]

 

Reset Password Foundry EdgeIron – Asset Recovery

VMware Virtual Machine Hosting

Foundry Models Covered: EIF24G, EIF4802CF, EIF48G, EIF24GS, EIF48GS, etc.

1) Establish a connection to the device on the console port

2) Power the switch on, while holding down ctrl-u to access the system file menu (technically you can just hit �ctrl-u� in the one second time between powering on and it actually loading, but its hard to time it)

3) you have a few seconds to type the password for the file menu, it is ‘mercury’; clear off the asteriks that may remain from holding ctrl-u down first.

4) select D to delete all user defined configurations

5) enter the file name of the file type that is �Config File� and confirm if asked to delete it

6) select Q to reload.

At this point it will boot normally, and the username and password for the unit will be at default, admin, and admin. Its back to default now, have fun. I have no idea why Foundry barely documents this process. Even the users manual doesn�t tell you the password to enter the ROM menu (‘mercury’), it sais to call tech support to get it.

Networking Subnets – Quick Reference

[ad#Google Adsense]

notation resulting subnet
netmask shorthand number of addresses
255.255.255.0 /24 [8-bit] 28 = 256 = 254 hosts + 1 bcast + 1 net base
255.255.255.128 /25 [7-bit] 27 = 128 = 126 hosts + 1 bcast + 1 net base
255.255.255.192 /26 [6-bit] 26 = 64 = 62 hosts + 1 bcast + 1 net base
255.255.255.224 /27 [5-bit] 25 = 32 = 30 hosts + 1 bcast + 1 net base
255.255.255.240 /28 [4-bit] 24 = 16 = 14 hosts + 1 bcast + 1 net base
255.255.255.248 /29 [3-bit] 23 = 8 = 6 hosts + 1 bcast + 1 net base
255.255.255.252 /30 [2-bit] 22 = 4 = 2 hosts + 1 bcast + 1 net base
255.255.255.254 /31 [1-bit] 21 = invalid (no possible hosts)
255.255.255.255 /32 [0-bit] 20 = 1 a host route (odd duck case)


[ad#Google Adsense]