メインコンテンツへスキップ

CiscoスイッチとNVIDIAスイッチ間のコマンドマッピング

Views:
70
Visibility:
Public
Votes:
0
Category:
fabric-interconnect-and-management-switches
Specialty:
metrocluster
Last Updated:

 

環境

  • MetroClusterスイッチ
  • クラスタネットワークスイッチ
  • NX-OS を搭載した Cisco Nexus スイッチ
  • Cumulus Linux(CL)を実行する NVIDIA スイッチ

回答

基本的なスイッチコマンド
アクション Cisco Nexus NVIDIA SN2100 -- CL 5.x 以降
特権 EXEC モードに切り替えます enable sudo (必要に応じてコマンドごとに使用)
グローバル設定モードに切り替えます configure -
ページ区切りを有効/無効にする terminal length 0

nv show --paginate on|off

e.g. nv show --paginate on system

ファームウェアバージョンの表示 show version nv show system
 
スイッチのハードウェア情報を表示する show hardware

nv show platform

nv show platform environment

nv show platform hardware

nv show platform inventory (CL 5.11+)

sudo decode-syseeprom

nv show interface --view=pluggables

スイッチに保存されているRCFファイルを表示します dir bootflash: ls /tmp (if RCF has not been applied yet; will not be visible otherwise)
スイッチをリブートします reload

sudo reboot

現在の設定を保存 copy running-config startup-config

nv config save

nv config apply (with auto-save option enabled, which is default)

スイッチバナーを表示する show banner motd cat /etc/motd
管理インターフェイスを表示 show ip interface mgmt 0

nv show interface mgmt

ip route show vrf mgmt

スタートアップ設定の削除 write erase Install Cumulus Linux in Cumulus Mode

Cumulus Linuxがインストールされるたびに、ファイルシステム構造全体が消去され、再構築されます。

 

トラブルシューティング
アクション Cisco Nexus NVIDIA SN2100 -- CL 5.X 以降
すべてのインターフェイスを表示する show interface brief nv show interface
VLANの概要を表示する show vlan brief nv show interface
VLANポートの概要の表示 show vlan all-ports nv show interface
特定のポートの設定を表示する(ポート9の例) show running-config interface ethernet 1/9

nv show interface <if_name>

nv show interface swp3

ポートの無効化 / 有効化(shutdown または no shutdown) KBに移動

nv set interface <if_name> link state down|up

nv config apply
スイッチログの表示(インメモリ) show logging log

cd /var/log

ls -l

cat or vi

スイッチログの表示(永続的) -

cd /var/log

ls -l

cat or vi

ポート統計情報の表示 show interface ethernet 1/9

nv show interface <if_name>

nv show interface swp3

すべてのポート統計をクリア clear counters -
近隣デバイスの表示 show cdp neighbors nv show interface neighbor
実行コンフィギュレーションとスタートアップコンフィギュレーションの違いを表示する show running-config diff nv config diff
トランシーバの電力の表示 show interface transceiver details nv show interface --view=pluggables
ポート チャネルの表示 show port-channel summary nv show interface
SFP情報の表示  show interface transceiver nv show interface --view=pluggables

 

データ収集
アクション Cisco Nexus NVIDIA SN2100 - CL 5.X以上
現在の設定を表示 show running-config

nv config show

nv config show -o commands

スタートアップ設定の表示 show startup-config

nv config show --startup -o commands

nv config show --rev=startup

サポートバンドルの収集 show tech-support

sudo cl-support

cd /var/log

ls -l

Gather log files from here

詳細なサポート バンドルの収集 show tech-support details

sudo cl-support

cd /var/log

ls -l

Gather log files from here

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.