2014年3月5日 星期三

Extreme XOS switch安裝SSH image

How to load SSH image in XOS switch

1.  Use ‘show switch’ & ‘show version’ to check current running s/w version, the ssh image version must be same as running version

X450a-24t.1 # show switch

SysName:         X450a-24t
SysLocation:       
SysContact:      support@extremenetworks.com, +1 888 257 3000
System MAC:  00:04:96:35:9C:49
System Type:   X450a-24t

SysHealth check:    Enabled (Normal)
Recovery Mode:     All
System Watchdog:  Enabled

Current Time:       Mon Sep 21 13:20:27 2009
Timezone:            [Auto DST Disabled] GMT Offset: 0 minutes, name is UTC.
Boot Time:           Mon Sep 21 12:34:21 2009
Boot Count:         12
Next Reboot:       None scheduled
System UpTime:  46 minutes 6 seconds

Current State:      OPERATIONAL            
Image Selected:    primary                
Image Booted:      primary                
Primary ver:          12.2.2.11              
Secondary ver:     12.2.2.11              

Config Selected:   secondary.cfg                                       
Config Booted:     secondary.cfg                                        

secondary.cfg     Created by ExtremeXOS version 12.2.2.11
                          85309 bytes saved on Fri Sep 18 14:11:51 2009
X450a-24t.2 # show version
Switch:         800152-00-08 0842G-82093 Rev 8.0 BootROM: 1.0.3.5    IMG: 12.2.2.11
XGM2-1:     N/A          N/A         Rev 0.0

Image:          ExtremeXOS version 12.2.2.11 v1222b11-patch1-8 by release-manager on Thu Jul 16 18:32:28 PDT 2009
BootROM : 1.0.3.5
X450a-24t.3 #

2. Download ssh image to the same partition(primary or secondary) of running image, that have the same version number.

X450a-24t.4 # download image 192.168.172.65 summitX-12.2.2.11-patch1-10-ssh.xmod vr "VR-Default" primary
Do you want to install image after downloading? (y - yes, n - no, - cancel)  Yes

Downloading to Switch..
Installing to primary partition!

Installing to Switch......................................
SSL will be usable after restart of thttpd process.

Image installed successfully
X450a-24t.4 #

3. Online update the running s/w without reboot switch

X450a-24t.5 # run update

4. Check the ssh function has been load

X450a-24t.7 # show management
CLI idle timeout                             : Enabled (20 minutes)
CLI max number of login attempts  : 3
CLI max number of sessions          : 8
CLI paging                                    : Enabled (this session only)
CLI space-completion                   : Disabled (this session only)
CLI configuration logging               : Disabled
CLI scripting                                 : Disabled (this session only)
CLI scripting error mode               : Ignore-Error (this session only)
CLI persistent mode                      : Persistent (this session only)
Telnet access                                 : Enabled (tcp port 23 vr all)
                                                     : Access Profile : not set
SSH access                                   : Disabled (Key invalid, tcp port 22 vr all)
                                                     : Access Profile : not set
Web access                                  : Disabled (tcp port 80)
Total Read Only Communities       : 1
Total Read Write Communities      : 1
RMON                                         : Disabled
SNMP access                               : Enabled
                                                     : Access Profile Name : not set
SNMP Traps                                 : Enabled
SNMP v1/v2c TrapReceivers        : None

SNMP stats:     InPkts 0       OutPkts    0       Errors 0       AuthErrors 0 
                        Gets    0       GetNexts  0       Sets    0      
SNMP traps:    Sent    0       AuthTraps Enabled


5.  Enable ssh access

X450a-24t.8 # enable ssh2
WARNING: Generating new server host key
This could take approximately 10 minutes and cannot be canceled.  Continue? (y/N) Yes
....................................................................................................................................................................................Key Generated

X450a-24t.9 #

6.  Now, the ssh module has intalled and running