Welcome to the Xylan Omni Switch/Router! Version 3.4.5 login : admin password: switch (or whatever your password is)
/ % ls
| UNIX | Windows |
First, Become root. Use 'su' to do this. Then, change your primary ethernet
interface (usually "le0" or "hme0" on Sun's, "eth0" on Linux, "net0" on
HP/UX, or "ec0" or "ef0" on SGI's) to an IP address on the same subnet as
the switch:
# ifconfig le0 192.168.10.5 |
Click {START}. Select Settings. Select Control Panel. Double-click on Network. Look in the box for the entry that binds your TCP/IP driver to your Ethernet Card, like "TCP/IP -> 3Com Etherlink III". Double-click on this entry. From here you can set your computer's IP address. |
C:\WINDOWS>ftp 192.168.10.1 Connected to 192.168.10.1. 220 Omni Switch/Router FTP server ready Name (192.168.10.1:blah): admin 331 Password required Password: switch (or whatever the password is) 230 User admin logged in ftp>
| UNIX | Windows |
ftp> !mkdir ~/oldosr1 ftp> lcd ~/oldosr1 |
ftp> !mkdir \oldosr1 ftp> lcd \oldosr1 |
ftp> ls * -rw------- admin 1749 MAY 07 15:30 gated.conf * -rw------- admin 503884 MAY 07 15:30 gated.img -rw------- admin 18072 MAY 07 15:31 mpm.log * -rw------- admin 52 MAY 07 15:31 mpx.cmd * -rw------- admin 1727644 MAY 07 15:31 mpx.img * -rw------- admin 32768 MAY 21 17:49 mpm.cnf * -rw------- admin 1024 MAY 21 17:49 mpm.cfg(Only files with the following extensions should be downloaded: img,pga,cnf,cfg,conf,cmd. As an example, all the files that we have indicated with asterisks before them would be backed up.) now set the FTP session to "binary" mode...
ftp> bin 200 Type set to I, binary modethen "get" all the ".img", ".pga", ".cnf", ".cfg", ".conf", and ".cmd" files that were in the "ls" listing, one at a time...
ftp> get mpx.cmd 200 Port set okay 150 Opening BINARY mode data connection 226 Transfer complete 18 bytes received in 0.00123 seconds (14610 bytes/s) ftp> get mpx.img 200 Port set okay 150 Opening BINARY mode data connection 226 Transfer complete 1595201 bytes received in 4.62 seconds (344992 bytes/s) ftp>(and so on until you have all the ".img", ".pga", ".cnf", ".cfg", ".conf", and ".cmd" files.) Double-check that you didn't forget any. Get a list of the files in your local directory with "!dir" (or "!ls" on UNIX).
ftp> !ls -l total 10039 -rw-r--r-- 1 eric other 18 May 24 14:24 mpx.cmd -rw-r--r-- 1 eric other 6 Apr 2 09:47 mpm.cnf -rw-r--r-- 1 eric other 1595201 May 24 14:27 mpx.img(and all of the files you just downloaded should show up here.)
NOTE: If you have a 32 or 56 megabyte SIMM, you also need to backup
all the ".img", ".pga", ".cnf", ".cfg", ".conf", and ".cmd" files in the "/simm"
directory.
HOW TO TELL: If you DON'T KNOW if you have a 32/56 meg SIMM, you can
check by trying to change into the "/simm" directory and getting a file
list. If it fails with the "invalid directory" message on either the "cd" or
"ls" commands, then you DO NOT have a 32/56 megabyte SIMM.
ftp> cd /simm 550 No files found or invalid directory or permission problem--or-- ftp> ls 550 No files found or invalid directory or permission problem(You can return to the main directory by typing "cd /flash") ftp> cd /flash 250 Changed directory to "/flash" ftp> |
| UNIX | Windows |
ftp> lcd /cdrom/cdrom0 Local directory now /cdrom/cdrom0 ftp> !ls |
ftp> lcd C:\XOS\OS318 Local directory now C:\XOS\OS318 ftp> !dir |
/ % imgcl
Remove the following?
/flash/mpx.img
/flash/esx.img
/flash/tsx.img
/flash/asx.img
Are you sure you want to remove them? (n) y
............................4 files removed
/ %
9) Proceed to upload, one-at-a-time, every ".img" and ".pga" file that was
on the switch before (you should have penciled this down in step 2. The FTP
session should still be in "binary" mode. You can issue another "bin"
command to confirm this. Check them off your paper as you upload them.
First, issue a "hash" command to turn on visual hash-marks.
ftp> hash Hash mark printing on (1024 bytes/hash mark). ftp>Now start doing the "put"'s:
ftp> put mpx.img 200 Port set okay 150 Opening BINARY mode data connection ###################################################################### ###################################################################### ###################################################################### ###################################################################### ###################################################################### ###################################################################### ###################################################################### ###################################### 226 Transfer complete 1688400 bytes sent in 14.6 seconds (115419 bytes/s) ftp>(And so on until all the ".img"'s that were on the switch before have been uploaded.)
/ % reboot Confirm? (n) : y Locking filesystem...locked. System going down immediately... switch[48041de0]: System rebooted by admin System rebooted by user 'admin' on session 0The switch should just come back up and begin operating as before in a few minutes. Allow it to fully initialize before attempting login. NOTE: If you ever see a message saying "Chassis status changing, hit CTRL-C to abort", DO NOT hit CTRL-C. That option is for emergencies only. Using CTRL-C may appear to help but actually will just leave the switch in an uncertain state. Just be patient and a minute or two later it should be ready.
Find an error or omission? Sorry about that! Please e-mail Eric at eric@ericshalov.com and let him know!
All of Eric's Tech Notes are provided on an as-is basis, and may contain
errors or omissions. No statement is made as to thier suitability for
any particular purpose, and no warranty is given. Use at your own risk!
All trademarks are the property of their respective owners.
No duplication of the above information is permitted without prior written
permission of the author(s).
©Copyright 2007 Eric Shalov. All Rights Reserved.