このポストでは、SSH の設定方法について、ご紹介したいです。
XOS では、SSH を使用するため、SSH2 XOS module が必要でございます。
### 実機の例 ###
!!! 1. スイッチの中に SSH2 model があるかを確認する !!!
Demo-X480-48t.1.2 # show version images
Card Partition Installation Date Version Name Branch
------------------------------------------------------------------------------
Switch primary Wed Nov 11 01:51:07 UTC 2015 15.5.3.4 summitX-15.5.3.4.xos v1553b4
Switch secondary Thu Nov 26 12:47:36 UTC 2015 16.1.1.4 summitX480-16.1.1.4.xos 16.1.1.4
CLI idle timeout : Disabled
CLI max number of login attempts : 3
:
Telnet access : Enabled (tcp port 23 vr all)
: Access Profile : not set
SSH access : Enabled (Key valid, tcp port 22 vr all)
###
XOS では、SSH を使用するため、SSH2 XOS module が必要でございます。
### 実機の例 ###
!!! 1. スイッチの中に SSH2 model があるかを確認する !!!
Demo-X480-48t.1.2 # show version images
Card Partition Installation Date Version Name Branch
------------------------------------------------------------------------------
Switch primary Wed Nov 11 01:51:07 UTC 2015 15.5.3.4 summitX-15.5.3.4.xos v1553b4
Switch secondary Thu Nov 26 12:47:36 UTC 2015 16.1.1.4 summitX480-16.1.1.4.xos 16.1.1.4
!!! 2. XOS module は、active partition にインストールする !!!
Demo-X480-48t.1.3 # show switch
:
Current State: OPERATIONAL
Image Selected: primary
Image Booted: primary
Primary ver: 15.5.3.4
Secondary ver: 16.1.1.4
!!! 3. 該当 のSSH modules をダウンロードする !!!
Demo-X480-48t.1.6 # download image xx.xx.xx.xx summitX-15.5.3.4-patch1-2-ssh.xmod vr "VR-Mgmt"
Debug information files are present in internal-memory.
These files will be removed if you continue with download.
Do you want to continue with download and remove existing files from internal-memory? (y/N) Yes
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. Restart snmpMaster process to use AES/3DES users for SNMPv3.
Image installed successfully
!!! 4. 下記のプロセスを restart する !!!
Demo-X480-48t.1.7 # restart process "thttpd"
Step 1: terminating process thttpd gracefully ...
Step 2: starting process thttpd ...
Restarted process thttpd successfully
Demo-X480-48t.1.8 # restart process "snmpMaster"
Step 1: terminating process snmpMaster gracefully ...
Step 2: starting process snmpMaster ...
Restarted process snmpMaster successfully
!!! 5. SSH をインストールされることが確認する !!!
Demo-X480-48t.1.9 # show version images
Card Partition Installation Date Version Name Branch
------------------------------------------------------------------------------
Switch primary Wed Nov 11 01:51:07 UTC 2015 15.5.3.4 summitX-15.5.3.4.xos v1553b4
Switch primary Fri Nov 27 11:32:01 UTC 2015 15.5.3.4 summitX-15.5.3.4-patch1-2-ssh.xmod v1553b4-patch1-2
Switch secondary Thu Nov 26 12:47:36 UTC 2015 16.1.1.4 summitX480-16.1.1.4.xos 16.1.1.4
!!!6. SSH model を active !!!
Demo-X480-48t.1.11 # run update
!!!7. SSH2 を Enable する !!!
Demo-X480-48t.1.13 # enable ssh2
WARNING: Generating new server host key
This could take approximately 10 minutes and cannot be canceled. Continue? (y/N) Yes
.......................................
!!!8. SSH2 を enable することが確認する !!!
* Demo-X480-48t.1.16 # show managementCLI idle timeout : Disabled
CLI max number of login attempts : 3
:
Telnet access : Enabled (tcp port 23 vr all)
: Access Profile : not set
SSH access : Enabled (Key valid, tcp port 22 vr all)
###