how to install ssh module on switch?

  • 0
  • 1
  • Problem
  • Updated 3 years ago
  • Solved
how to install ssh module on switch?
Photo of Sikander Shah

Sikander Shah

  • 712 Points 500 badge 2x thumb

Posted 3 years ago

  • 0
  • 1
Photo of David Coglianese

David Coglianese, Embassador

  • 7,228 Points 5k badge 2x thumb
Download the SSH xmod that matches your code version.

Then
Run update
Photo of Sikander Shah

Sikander Shah

  • 712 Points 500 badge 2x thumb
i have downlaoded many but no luck. How to match code?
Photo of David Coglianese

David Coglianese, Embassador

  • 7,228 Points 5k badge 2x thumb
What code are you running on the switch?

Show version image
Photo of Sikander Shah

Sikander Shah

  • 712 Points 500 badge 2x thumb
Extreme_Demo_Switch-2.1 # sh version imagesCard  Partition     Installation Date        Version     Name      Branch
------------------------------------------------------------------------------
Switch primary   Mon Dec 7 21:50:24 UTC 2015 16.1.2.14 summitX-16.1.2.14-patch2-1.xos 16.1.2.14-patch2-1
Switch primary   Wed Mar 16 00:22:50 UTC 2016 16.1.2.14 summitX-16.1.2.14-patch1-1-esvt.xmod 16.1.2.14-patch1-1
Switch primary   Wed Mar 16 00:30:04 UTC 2016 16.1.2.14 summitX-16.1.2.14-patch1-1-reachnxt-1.8.1.8.xmod 16.1.2.14-patch1-1
Switch primary   Wed Mar 16 00:48:39 UTC 2016 16.1.2.14 summitX-16.1.2.14-patch1-1-openflow.xmod 16.1.2.14-patch1-1
Switch primary   Wed Mar 16 02:46:33 UTC 2016 16.1.2.14 summitX-16.1.2.14-patch1-4-LegacyCLI.xmod 16.1.2.14-patch1-4
Switch secondary Tue Mar 3 07:56:52 UTC 2015 15.7.1.4 summitX-15.7.1.4.xos v1571
Photo of Grosjean, Stephane

Grosjean, Stephane, Employee

  • 13,516 Points 10k badge 2x thumb
You need to have the same version number between the xos base image and the various xmod. The patch revision you have (on the primary partition) is a specific release (patch2-1), you should ask for the xmod coming along with that specific release. I doubt it's accessible directly to you.

Likewise, the LegacyCLI xmod is not in the same patch level revision than the other xmod. It's not recommended to do so.
Photo of Sikander Shah

Sikander Shah

  • 712 Points 500 badge 2x thumb
SSH Access                       : ssh module not loaded.
Photo of David Coglianese

David Coglianese, Embassador

  • 7,228 Points 5k badge 2x thumb
So it looks you installed every other xmod. You need the SSH xmod. You have to apply to download it, but the link to that should be with the rest of those images.
Photo of Sikander Shah

Sikander Shah

  • 712 Points 500 badge 2x thumb
not getting your point
Photo of Brad Parker

Brad Parker, Technical Support Engineer

  • 3,592 Points 3k badge 2x thumb
Hello Sikander,

There should be a link for the SSH xmod on the same page of eSupport as the other images that you have downloaded. The link will go to a site where you can apply for the xmod. The xmod is under governance of US Trade Restriction and we run a check on the applicant. After trade compliance has passed, you will be emailed a link to download the xmod. TFTP that xmod to your switch just like you were downloading another image version, for example

download image <tftp server> <virtual router> <ssh xmod file>

After you download the file, use the command

run update

That will load the xmod into memory

To verify this is all done correctly, use the command

show management

and you can see if the SSH xmod is loaded.
Photo of Brad Parker

Brad Parker, Technical Support Engineer

  • 3,592 Points 3k badge 2x thumb
Photo of modris bernands

modris bernands

  • 610 Points 500 badge 2x thumb

from my notes (for x350 with old firmware):

1) download correct ssh.xmod version for Your switch

* switch4.5 # show switch

Primary ver:      12.6.2.10

Config Selected:  primary.cfg
Config Booted:    primary.cfg

2) start tftp on you LAN pc (for me it working on IP:192.168.1.159)

* switch4.6 # download image 192.168.1.159 summitX-12.6.2.10-patch1-15-ssh.xmod vr "VR-Default" primary

Do you want to install image after downloading? (y - yes, n - no, <cr> - cancel) Yes

Downloading to Switch.......
This image will be used only after rebooting the switch!
Installing to primary partition!

Installing to Switch............................................................
SSL will be usable after restart of thttpd process. Restart snmpMaster process to use AES/3DES users for SNMPv3.

Image installed successfully

* switch4.7 # run update
* switch4.8 # reboot
Do you want to save configuration changes to currently selected configuration
file (primary.cfg) and reboot?
(y - save and reboot, n - reboot without save, <cr> - cancel command) Yes
Saving configuration on master ............................ done!

That it. Do you want to save configuration changes to currently selected configuration
file (primary.cfg) and reboot?
(y - save and reboot, n - reboot without save, <cr> - cancel command) Yes
Saving configuration on master ............................ done!

It help me, hope You too.

Photo of Darin Seiler

Darin Seiler

  • 402 Points 250 badge 2x thumb

Note: The new version 21.1.1.4 code released last week for EXOS has SSH slipstreamed and embedded into the base OS and you do not need to do anything with the SSH XMOD. On code 16.x here is what I have done. You do not need to do a reboot for SSH to work.

download image memorycard <SSH image name> [ie summitX-16.1.3.6-ssh.xmod]
#Command 'show management' will show SSH is not installed
run update
restart process thttpd
restart process snmpMaster
#Command 'show management' will show SSH installed but disabled with an invalid key
enable ssh2
#Command 'show management' will show SSH Enabled (Key valid, tcp port 22 vr all)