JavaScript is required to for searching.
ナビゲーションリンクをスキップ
印刷ビューの終了
Oracle® ZFS Storage Appliance 管理ガイド
Oracle Technology Network
ライブラリ
PDF
印刷ビュー
フィードバック
search filter icon
search icon

Document Information

このドキュメントの使用法

 1 Oracle ZFS Storage Appliance の概要

 2 ステータス

 3 初期構成

 4 ネットワーク構成

「ネットワーク構成」ページ

デバイス

データリンク

ネットワークインタフェース

ネットワーク IP マルチパス (IPMP)

ネットワークのパフォーマンスと可用性

ネットワークルーティングの構成

ネットワークルーティングのエントリ

ネットワークルーティングのプロパティー

BUI を使用したネットワーク構成

「ネットワーク構成」ページ

ネットワークアドレス

「ネットワークルーティング」ページ

CLI を使用したネットワーク構成

BUI を使用したネットワーク構成タスク

シングルポートインタフェースの作成

インタフェースの変更

シングルポートインタフェースの作成、ドラッグ & ドロップ

LACP 集合リンクインタフェースの作成

プローブベースのリンク状態障害検出を使用した IPMP グループの作成

リンク状態のみの障害検出を使用した IPMP グループの作成

LACP アグリゲーションの拡張

IPMP グループの拡張

InfiniBand パーティションのデータリンクとインタフェースの作成

クラスタ化されたコントローラでの VLAN ID なしの VNIC の作成

クラスタ化されたコントローラでの同じ VLAN ID の VNIC の作成

静的ルートの追加

静的ルートの削除

CLI を使用したネットワーク構成タスク

静的ルートの追加

静的ルートの削除

マルチホーミングプロパティーの「厳しい」への変更

 5 ストレージ構成

 6 Storage Area Network の構成

 7 ユーザー構成

 8 ZFSSA の設定

 9 警告の構成

 10 クラスタ構成

 11 ZFSSA サービス

 12 シェア、プロジェクト、およびスキーマ

 13 レプリケーション

 14 シャドウ移行

 15 CLI のスクリプト化

 16 保守のワークフロー

 17 統合

索引

CLI を使用したネットワーク構成

ネットワーク構成は、configuration net の下にあります。これには、devicesdatalinksinterfaces、および routing のためのサブコマンドがあります。各サブコマンドでは、show コマンドを使用して現在の構成を表示できます。

caji:> configuration net
caji:configuration net> devices show
Devices:

DEVICE      UP     SPEED         MAC                                            
igb0        true   1000 Mbit/s   0:14:4f:9a:b9:0                               
igb1        true   1000 Mbit/s   0:14:4f:9a:b9:1                               
igb2        true   1000 Mbit/s   0:14:4f:9a:b8:fe                              
igb3        true   1000 Mbit/s   0:14:4f:9a:b8:ff                              

caji:configuration net> datalinks show
Datalinks:

   DATALINK CLASS          LINKS       LABEL
       igb0 device         igb0        datalink1

caji:configuration net> interfaces show
Interfaces:

  INTERFACE STATE  CLASS LINKS       ADDRS                  LABEL
       igb0 up     ip    igb0        192.168.2.80/22        caji
 
caji:configuration net> routing show
Properties:
                  multihoming = loose
 
Routes:
 
ROUTE      DESTINATION                      GATEWAY         INTERFACE TYPE
route-000  0.0.0.0/0                        192.168.1.1     igb0      dhcp
route-001  192.168.0.0/22                   192.168.2.142   igb0      system

データリンク、インタフェース、およびルートの作成や構成のための関連コマンドを表示するには、各セクションで help を入力します。このコンテキストで有効なサブコマンドは次のとおりです。

  help [topic]         => Get context-sensitive help. If [topic] is specified,
                          it must be one of "builtins", "commands","general",
                          "help", "script" or "properties".

  show                 => Show information pertinent to the current context

  commit               => Commit current state, including any changes

  abort                => Abort creation of "vnic"

  done                 => Finish operating on "vnic"

  get [prop]           => Get value for property [prop]. ("help properties"
                          for valid properties.) If [prop] is not specified,
                          returns values for all properties.

  set [prop]           => Set property [prop] to [value]. ("help properties"
                          for valid properties.) For properties taking list
                          values, [value] should be a comma-separated list of
                          values. 

  available            => Get values that can be assigned to the links
                          parameter when creating a network component.  

ネットワークコンポーネントの作成時に links パラメータに割り当てできる値を表示するには、available コマンドを使用します。次の例は、CLI コマンド available の出力を示しています。

caji:configuration net datalinks> device
caji:configuration net datalinks device (uncommitted)> available
igb7,igb6

caji:configuration net datalinks> vnic
caji:configuration net datalinks vnic (uncommitted)> available
igb5,igb4,aggr2,aggr1

caji:configuration net datalinks> vlan
caji:configuration net datalinks vlan (uncommitted)> available
igb5,igb4,aggr2,aggr1

caji:configuration net datalinks> aggregation
caji:configuration net datalinks aggregation (uncommitted)> available
igb7,igb6

caji:configuration net interfaces> ip
caji:configuration net interfaces ip (uncommitted)> available
aggr2,aggr1

caji:configuration net interfaces> ipmp
caji:configuration net interfaces ipmp (uncommitted)> available
vnic4,vnic3,igb5,igb4 

次の例は、device コマンドを使用したデータリンクの作成と、ip コマンドを使用したインタフェースの作成を示しています。

caji:configuration net> datalinks 
caji:configuration net datalinks> device
caji:configuration net datalinks device (uncommitted)> set links=igb1
                          links = igb1 (uncommitted)
caji:configuration net datalinks device (uncommitted)> set label=datalink2
                          label = datalink2 (uncommitted)
caji:configuration net datalinks device (uncommitted)> set mtu=9000
                          mtu = 9000 (uncommitted)
caji:configuration net datalinks device (uncommitted)> commit
caji:configuration net datalinks> show
Datalinks:

   DATALINK CLASS          LINKS       LABEL
       igb0 device         igb0        datalink1
       igb1 device         igb1        datalink2

caji:configuration net datalinks> cd ..
caji:configuration net> interfaces
caji:configuration net interfaces> ip
caji:configuration net interfaces ip (uncommitted)> set label="caji2"
                         label = caji2 (uncommitted)
caji:configuration net interfaces ip (uncommitted)> set links=igb1 
                         links = igb1 (uncommitted)
caji:configuration net interfaces ip (uncommitted)> set v4addrs=10.0.1.1/8
                       v4addrs = 10.0.1.1/8 (uncommitted)
caji:configuration net interfaces ip (uncommitted)> commit
caji:configuration net interfaces> show
Interfaces:

  INTERFACE STATE  CLASS LINKS       ADDRS                  LABEL
       igb0 up     ip    igb0        192.168.2.80/22        caji
       igb1 up     ip    igb1        10.0.1.1/8             caji2

次の例は、新しい igb1 IP インタフェースを介した 10.0.1.2 経由のデフォルトルートの作成を示しています。

caji:configuration net routing> create
caji:configuration net route (uncommitted)> set family=IPv4
                   family = IPv4 (uncommitted)
caji:configuration net route (uncommitted)> set destination=0.0.0.0
                   destination = 0.0.0.0 (uncommitted)
caji:configuration net route (uncommitted)> set mask=0
                   mask = 0 (uncommitted)
caji:configuration net route (uncommitted)> set interface=igb1
                   interface = igb1 (uncommitted)
caji:configuration net route (uncommitted)> set gateway=10.0.1.2
                   gateway = 10.0.1.2 (uncommitted)
caji:configuration net route (uncommitted)> commit