Cisco Nexus 93108-1Gまたは9348イーサネット・スイッチの初期スイッチ構成の実行

初期構成の間に、スイッチをリセットし、基本システム構成ダイアログを使用してスイッチを構成します。

スイッチを構成する前に、次の点に注意してください。

  • 実行中の構成が確認され、ネットワーク管理者によって必要な変更が実行されるまで、Ciscoイーサネット・スイッチを接続しないでください。

  • ZDLRAラックですべてのコンポーネントのIPアドレスを構成するまで、Ciscoイーサネット・スイッチを顧客のネットワークに接続しないでください。これは、発送時にコンポーネントに設定されるデフォルトのアドレスによる重複するIPアドレスの競合を防ぐためです。

構成はネットワーク管理者と一緒に行う必要があります。

  1. 使用可能なRJ45ケーブルを使用して、Ciscoスイッチ・シリアル・コンソールからラップトップまたは類似する装置に接続します。
  2. ログ出力によって、端末セッションがラップトップ上に記録されていることを確認します。
    出力結果を使用して、スイッチが正しく構成されていることを確認できます。デフォルトのシリアル・ポート速度は、9600ボー、8ビット、パリティなし、1ストップ・ビット、ハンドシェイクなしです。
  3. スイッチの電源をオンにします。
  4. adminユーザーとしてログインします。
    User Access Verification
    exadatax7-adm0 login: admin
    Password: ********
    

    ノート:

    adminユーザーのパスワードがない場合は、Oracleサポート・サービスにお問い合せください。
  5. 既存の構成を消去します。
    exadatax7-adm0# write erase
    
    Warning: This command will erase the startup-configuration.
    
    Do you wish to proceed anyway? (y/n)  [n] y
  6. 自動セットアップを実行できるよう、システムを再起動します。
    exadatax7-adm0# reload
    
    This command will reboot the system. (y/n)?  [n] y
    
    2017 Aug 31 01:09:00 exadatax7-adm0 %$ VDC-1 %$ %PLATFORM-2-PFM_SYSTEM_RESET: Manual system restart from Command Line Interface
    
    
    CISCO SWITCH Ver7.59
    Device detected on 0:1:2 after 0 msecs  
    ...
  7. 標準セットアップに切り替え、堅牢なパスワード基準を強制するかどうかを尋ねられた場合はnoと入力してから、adminユーザーの新規パスワードを入力します。
    Running S93thirdparty-script...
    
    Populating conf files for hybrid sysmgr ...
    Starting hybrid sysmgr ...
    inserting /isan/lib/modules/klm_cisco_nb.o ... done
    
    Abort Auto Provisioning and continue with normal setup ? (yes/no) [n]: yes
    
             ---- System Admin Account Setup ----
    
    Do you want to enforce secure password standard (yes/no) [y]: no
    
      Enter the password for "admin": 
      Confirm the password for "admin": 
    
  8. 基本システム構成ダイアログが表示されたら、基本構成ダイアログに入力することを選択します。
            ---- Basic System Configuration Dialog VDC: 1 ----
    
    This setup utility will guide you through the basic configuration of
    the system. Setup configures only enough connectivity for management
    of the system.
    
    Please register Cisco Nexus9000 Family devices promptly with your
    supplier. Failure to register may affect response times for initial
    service calls. Nexus9000 devices must be registered to receive 
    entitled support services.
    
    Press Enter at anytime to skip a dialog. Use ctrl-c at anytime
    to skip the remaining dialogs.
    
    Would you like to enter the basic configuration dialog (yes/no): yes
    
  9. 基本構成では、スイッチ名の入力を求められるまで、デフォルトの入力内容を使用できます。

    この例では、スイッチにはtest123sw-adm0という名前が付けられています。

      Create another login account (yes/no) [n]: 
      Configure read-only SNMP community string (yes/no) [n]: 
      Configure read-write SNMP community string (yes/no) [n]: 
      Enter the switch name : test123sw-adm0
    
    
  10. バンド外管理構成を構成するよう求められたら、noと答えます。
    Continue with Out-of-band (mgmt0) management configuration? (yes/no) [y]: no
  11. 詳細IPオプションを構成するよう求められたら、yesと答えます。
    Configure advanced IP options? (yes/no) [n]: yes
  12. 静的ルート(これは後で構成する)を構成するよう求められたら、noと答えます。
    Configure static route? (yes/no) [n]: no
  13. プロンプトが表示されたら、宛先の接頭辞とマスク、およびその他の値を入力します。
       Destination prefix : 10.100.100.0
    
       Destination prefix mask : 255.255.255.0
    
       Next hop IPv4 address : 10.100.100.1
    
  14. DNS IPv4アドレスの構成はスキップします(これは後で構成する)。
    Configure the DNS IPv4 address? (yes/no) [n]: no
    
  15. デフォルト・ドメイン名の構成はスキップします(これは後で構成する)。
    Configure the default domain name? (yes/no) [n]: no
    
  16. SSHおよびNTPサーバーを構成するよう求められるまで、デフォルトの回答を使用します。
    Enable the telnet service? (yes/no) [n]: no
    Enable the ssh service? (yes/no) [y]: yes
       Type of ssh key you would like to generate (dsa/rsa) [rsa]: rsa
       Number of rsa key bits <1024-2048> [1024]: 1024
     
    Configure the ntp server? (yes/no) [n]: yes
         NTP server IPv4 address : 10.100.100.3
  17. CoPPシステム・プロファイルを指定するよう求められるまで、デフォルトの回答を使用します。lenientと入力します。
     Configure default interface layer (L3/L2) [L2]: 
     Configure default switchport interface state (shut/noshut) [noshut]: 
     Configure CoPP system profile (strict/moderate/lenient/dense) [strict]: lenient
  18. 構成を確認した後、構成を保存します。
    The following configuration will be applied:
       no password strength-check
       switchname test123sw-adm0
      ...
    
    Would you like to edit the configuration? (yes/no) [n]: 
    
    Use this configuration and save it? (yes/no) [y]: yes
    
    [########################################] 100%
    Copy complete.
  19. VLAN 1 IPアドレスを追加します。
    test123sw-adm0(config)# feature interface-vlan
    test123sw-adm0(config)# interface vlan 1
    test123sw-adm0(config-if)# ip address 10.100.100.110/24
    test123sw-adm0(config-if)# no shutdown
    test123sw-adm0(config-if)# exit
  20. ポート1-47のスパニング・ツリー・ポート・タイプを設定します。
    test123sw-adm0(config)# interface E1/1-47
    test123sw-adm0(config-if)# spanning-tree port type edge
    test123sw-adm0(config-if)# exit
  21. 48個すべてのポートでswitchportを設定し、ポート48をネットワーク・ポートに設定します(ホスト・ポートのかわり)。
    test123sw-adm0(config)# interface E1/1-48
    test123sw-adm0(config-if)# switchport
    test123sw-adm0(config-if)# exit
    test123sw-adm0(config)# interface E1/48
    test123sw-adm0(config-if)# spanning-tree port type network
    test123sw-adm0(config-if)# ip route 0.0.0.0/0 10.100.100.1
  22. DNS情報を構成します。
    test123sw-adm0(config)# ip domain-name example.com
    test123sw-adm0(config)# ip name-server 10.100.100.2
    test123sw-adm0(config)# exit
  23. 現在の構成を保存します。
    test123sw-adm0# copy running-config startup-config
    [########################################] 100%
    Copy complete.
    
  24. オプション: 次のトピックで説明するように、クロックを設定します。