RCFのインストール

RCFは、Nexus 92300YCスイッチを初めてセットアップしたあとにインストールできます。

手順

  1. クラスタ スイッチを管理ネットワークに接続します。
  2. pingコマンドを使用して、RCFをホストするサーバへの接続を確認します。
    次の例では、スイッチがIPアドレス172.19.2.1のサーバに接続できることを確認します。
    cs2# ping 172.19.2.1
    Pinging 172.19.2.1 with 0 bytes of data:
    
    Reply From 172.19.2.1: icmp_seq = 0. time= 5910 usec.
  3. RCFをNexus 92300YCスイッチにコピーします。
    cs2# copy sftp: bootflash: vrf management
    Enter source filename: /code/Nexus_92300YC_RCF_v1.0.2.txt
    Enter hostname for the sftp server: 172.19.2.1
    Enter username: user1
    
    Outbound-ReKey for 172.19.2.1:22
    Inbound-ReKey for 172.19.2.1:22
    user1@172.19.2.1's password: 
    sftp> progress 
    Progress meter enabled
    sftp> get   /code/Nexus_92300YC_RCF_v1.0.2.txt  /bootflash/nxos.9.2.2.bin 
    /code/Nexus_92300YC_R  100% 9687   530.2KB/s   00:00    
    sftp> exit 
    Copy complete, now saving to disk (please wait)...
    Copy complete.
    
  4. RCFをスイッチの実行中の設定とマージします。
    cs2# copy bootflash:Nexus_92300YC_RCF_v1.0.2.txt running-config
    
    Disabling ssh: as its enabled right now:
     generating ecdsa key(521 bits)......
    generated ecdsa key
    
    Enabling ssh: as it has been disabled 
     this command enables edge port type (portfast) by default on all interfaces. You
     should now disable edge port type (portfast) explicitly on switched ports leading to hubs,
     switches and bridges as they may create temporary bridging loops.
    
    Edge port type (portfast) should only be enabled on ports connected to a single
     host. Connecting hubs, concentrators, switches, bridges, etc...  to this
     interface when edge port type (portfast) is enabled, can cause temporary bridging loops.
     Use with CAUTION
    
    Edge Port Type (Portfast) has been configured on Ethernet1/1 but will only
     have effect when the interface is in a non-trunking mode.
    
    ...
    
    Copy complete, now saving to disk (please wait)...
    Copy complete.
    
  5. RCFが正常にマージされたことをスイッチで確認します。show running-config
    cs2# show running-config
    !Command: show running-config
    !Running configuration last done at: Wed Apr 10 06:32:27 2019
    !Time: Wed Apr 10 06:36:00 2019
    
    version 9.2(2) Bios:version 05.33 
    switchname cs2
    vdc cs2 id 1
      limit-resource vlan minimum 16 maximum 4094
      limit-resource vrf minimum 2 maximum 4096
      limit-resource port-channel minimum 0 maximum 511
      limit-resource u4route-mem minimum 248 maximum 248
      limit-resource u6route-mem minimum 96 maximum 96
      limit-resource m4route-mem minimum 58 maximum 58
      limit-resource m6route-mem minimum 8 maximum 8
    
    feature lacp
    
    no password strength-check
    username admin password 5 $5$HY9Kk3F9$YdCZ8iQJ1RtoiEFa0sKP5IO/LNG1k9C4lSJfi5kesl
    6  role network-admin
    ssh key ecdsa 521 
    
    banner motd #
    ********************************************************************************
    *                                                                              *
    *  Nexus 92300YC Reference Configuration File (RCF) v1.0.2 (10-19-2018)        *
    *                                                                              *
    *  Ports 1/1  - 1/48: 10GbE Intra-Cluster Node Ports                           *
    *  Ports 1/49 - 1/64: 40/100GbE Intra-Cluster Node Ports                       *
    *  Ports 1/65 - 1/66: 40/100GbE Intra-Cluster ISL Ports                        *
    *                                                                              *
    ********************************************************************************
    
  6. スイッチをリブートしたときのスタートアップの設定になるように、実行中の設定を保存します。
    cs2# copy running-config startup-config
     
    [########################################] 100%
    Copy complete, now saving to disk (please wait)...
    Copy complete.
    
  7. スイッチをリブートし、実行中の設定が正しいことを確認します。reload
    cs2# reload
    
    This command will reboot the system. (y/n)?  [n] y