Hello All,
Great info here.
I picked up one of these monsters on ebay for about $400. I was reading through the thread and I was able to follow the simple commands to set a static address to the switch through the regular gigabit network ports. I do have a Direct attached cable coming from my pc to the switch from a mellanox card too. I read the manual, but it seems alot of the commands are not compatible with the LB6M?
I have a great working knowledge of computers from reading alot, but I am completely new to the forum and CLI as well, I actually need alittle help, but I thought I would make my first post adding a bit of info i gathered in the thread (thanks to most of you guy's knowledge and posts) in an attempt to be a little helpful first to anyone needing a little help coming after me, this is of course not for experienced ones. I wanted to post this at least, before I start begging for you guy's help! ;.)
These are some of the commands pulled from the thread and the manual that seems to work. Perhaps better minds and more knowledgeable people can make a document or something with a complete shortlist of working commands that they know of that work for this beast.
Experienced ones: Please feel free to correct and edit. I am, for all intents and purposes, a brand spanking, shiny ass, green under the collar, noob.
For a simple setup to connect by ssh:
use a simple cisco console cable and connect on the serial port (I use a console cable rj45 to serial, then attach the serial end of the cable to a serial to usb adapter, then plug into my usb port in my pc, works great) - use a terminal program like termite 3.2 (Its simple and works well)
Settings for the terminal program are: 9600, 8, 1, N, N, or something to that effect. Most of the settings are not important, but make sure you set the baud rate to 9600, or i think it won't connect.
once switch is on and booted press any key, the user prompt pops up.
type: admin
then switch asks for password, leave blank, press enter.
a prompt that says "fastpath routing" pops up.
type: enable (this simple command, allows you to start to config items in the switch, if you don't enter this here, you can't access the lower level settings)
it will ask for password again. leave blank, press enter
then type: show network
it will then show the network parameters for the management of the switch. most of them should be blank or a set of zeros. here is where we wanna set the ip address for the switch so it can connect through ssh.
ok, so type: network protocol none (i believe this turns off dhcp, so the switch can take a static ip address)
then type: network parms followed by a space and then each of the following items followed by a space (static ip address you wanna set) (subnet mask, usually 255.255.255.0) (default gateway of your network, usually in the order of 192.168.x.0 or 192.168.x.1)
(example: network parms 192.168.0.10 255.255.255.0 192.168.0.1)
then type: show network
you should then see your newly added static ip settings.
now type: ip ssh server enable (this i believe activates the ssh server)
then type: no ip telnet server enable (this i think, allows telnet to be on if no ip address is set?)
then to save, type: write memory
it will ask you if you wanna save the config file, type "Y" i believe. then it will save your config. This new config i believe now boots to the switch everytime you bootup.
Finally, open up putty, or your favorite ssh terminal in windows (i like Winscp as well) and type in your static ip address and leave the port set at 22. it should then prompt you for the username. type admin and leave password blank. You should then see the "fastpath routing" prompt!
I like ssh over serial terminal because ssh windows/sessions are easier to scroll through for me, also, it allows me to just connect to the switch to configure things without needing a console cable. (ironic, since the console cable was needed at first)
Also, if you wanna reset all config settings, and start over, djflow195's 4 steps work great:
1) Hook up a serial cable to the RJ45 console port (Cisco console cable works)
2) Open a serial console 9600-8N1 no flow control
2) Power cycle the switch
3) When prompted, go into the boot menu (not the UBoot menu)
4) Restore factory defaults (which erases the config files)
Alternatively, I personally found out that you can clear the configuration and set to factory defaults by typing: "clear" after you type the enable prompt:
1) Login (SSH or Telnet)
2) Type: enable
3) If you set a password, enter it, if not, leave blank, press enter
4) Type: clear
5) Prompt will ask if you wanna clear settings to defaults or something similar, type "y" press enter.
6) Switch will clear config and your off to the races.
7) Logout/Quit/Exit your ssh/telnet session.
Also, here is itguy82's steps to change the admin password (I added a little bit to it to make it alittle easier to understand):
1) Login (SSH or Telnet)
2) Type: enable (press enter, when ask for password if one is set, enter it, if not set, leave blank, press enter)
3) Type: configure (I think typing "config" also works) (press enter, if ask for password if one is set, enter it, if not, leave blank, press enter)
4) Type: username admin password [type desired password here, no brackets]
5) Press enter. New password should be entered.
6) Type: exit
7) Type: write memory (Always remember to do this, if not upon reboot, you will lose all unsaved settings)
7) Type "Y" then save is complete.
8)Logout/Quit/Exit your ssh/telnet session.
This is just to save/change the password for the admin account. This is not be confused with the "Enable" password access. That password is changed elsewhere, but i kinda recommend leaving the "Enable" access password blank for now.
(NOTE: Always remember to type "write memory" after all config changes to save settings)
Added/Updated: 03/30/16:
Piglover posted the commands to enable Jumbo Frames across all interfaces a little further down the thread. Saw it fit to post it here as well, and I spiced it up abit! Thanks for the help guys!
Enable Jumbo Frames across all Interfaces:
1) Login (SSH or Telnet)
2) Type: enable (press enter, when ask for password if one is set, enter it, if not set, leave blank, press enter)
3) Type: configure (I think typing "config" also works) (press enter, if ask for password if one is set, enter it, if not, leave blank, press enter)
4) Type: interface 0/1-0/28
5) Type: mtu 9216 (This is the maximum amount you can put on an interface I believe. This particular number is used, so that even if varying jumbo frame numbers are set across different interfaces in different pc's/servers, (ex. 9000, 9014, 9028, etc...)the interface will be able to handle it as 9216 is obviously higher.
6) Type: exit
7)Type exit (yes, again)
8) Finally Type: copy system:running-config nvram:startup-config (I believe this command is the same as "write memory", but i think this might be more of a complete configuration save? Use whatever you like I suppose.
9) Type: exit
10) Logout/Quit/Exit your ssh/telnet session.
Also, a great help for me, when i am looking to see what commands are compatible, I type "?" (no quotations) and it pops up a list of commands compatible with the switch.
Credit to all you smart people who helped contribute to this info. To all I say Thanks!
Will keep updating and editing this post with added info i find whenever i can.
Lets continue to share the knowledge.