Dell EMC Networking Nシリーズ スイッチにおけるリンク依存関係のセットアップ方法

Summary: Dell EMC Networking Nシリーズ スイッチにおけるリンク依存関係のセットアップ方法

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions


この文書では、Dell EMC Networking Nシリーズ スイッチにおけるアクション(アップ/ダウン)のリンク依存関係への影響について説明します。

リンク依存関係を設定することにより、別のインターフェイス グループのリンク ステータスに基づいて、インターフェイス グループのリンク ステータスに影響を与えることができます。グループには、ポート チャネルと個々のポートを含めることができます。  この機能は、ループを避けるため、冗長リンクを回避するために使用できます。


概要

1.  アクション
2.  アクションに基づくリンク依存関係グループの動作
3.  設定前に注意すべきポイント
4.  コマンド構文
5.  サンプル設定
5.  アクションがアップのときにリンク依存関係のステータスを検証する方法の例
6.  アクションがダウンのときにリンク依存関係のステータスを検証する方法の例

 



アクション

依存インターフェイスのリンク ステータスの変更に応じて、2つのアクションが考えられます。

アップ:メンバー ポートは、依存するインターフェイスのリンク ステータスを反転します。
例:ポートGi1/0/2がGi1/0/1にリンク依存していて、アクションがアップに設定されているとします。
ポートGi1/0/1がダウンすると、Gi1/0/2がアップします。
ポートGi1/0/1がアップすると、Gi1/0/2がダウンします。 

ダウン:メンバー ポートは、依存するインターフェイスのリンク ステータスをミラーリングします。
:ポートGi1/0/2がGi1/0/1にリンク依存していて、アクションがダウンに設定されているとします。
ポートGi1/0/1がアップすると、Gi1/0/2がアップします。
ポートGi1/0/1がダウンすると、Gi1/0/2がダウンします。 

 



アクションに基づくリンク依存関係グループの動作

インターフェイス/ポート チャネルのグループをメンバー ポートおよび依存インターフェイスとして設定できます。

アクション:アップ
依存するすべてのインターフェイスがダウンしている場合にのみ、グループのメンバー ポートがアップになります。

アクション:ダウン

依存インターフェイスの少なくとも1つがアップしている場合、グループのメンバー ポートはアップ状態を維持します。
 



設定前に注意すべきポイント

 

 

HOW12937_ja__1icon インターフェイスは、単一の依存グループのメンバーにのみなることができます。

 

 

HOW12937_ja__1icon 依存関係リストにインターフェイスを追加すると、depends-onコマンドが入力されるまでインターフェイスがダウンします。リンクのステータスは、depends-onコマンドで指定されたインターフェイスに従います。インターフェイスがダウンしないようにするには、addコマンドを入力する前に、depends-onコマンドとactionコマンドを入力します。

 

 


 

コマンド構文

コマンド パラメータ
console#configure 設定モードに切り替えます
console(config)#link-dependency group リンク依存関係グループおよびIDを設定します
console(config-linkDep-group-1)#action up/down アクション(アップ/ダウン)を設定します
console(config-linkDep-group-1)#depends-on 依存インターフェイスを設定します
console(config-linkDep-group-1)#add リンク ステータスを変更するインターフェイスを設定します

 



 

サンプル設定

アクション:アップ
console#configure
console(config)#link-dependency group 1
console(config-linkDep-group-1)#action up
console(config-linkDep-group-1)#depends-on gigabitethernet 1/0/1
console(config-linkDep-group-1)#add gigabitethernet 1/0/2

アクション:ダウン
console#configure
console(config)#link-dependency group 1
console(config-linkDep-group-1)#action down
console(config-linkDep-group-1)#depends-on gigabitethernet 1/0/1
console(config-linkDep-group-1)#add gigabitethernet 1/0/2

 



アクションがアップのときにリンク依存関係のステータスを検証する方法の例
 

a. ポートGi1/0/2がGi1/0/1にリンク依存していて、Gi1/0/1がアップの場合

console#show interfaces status
Port      Description     Duplex Speed   Neg  Link   Flow  M  VLAN
                                              State  Ctrl
--------- --------------- ------ ------- ---- ------ ----- -- -------------------
Gi1/0/1                   Full   1000    Auto Up     On    A  1
Gi1/0/2                   N/A    Unknown Auto Down   Off   A  1

console#show link-dependency
GroupId  Member Ports                        Ports Depended On       Link Action  Group State
-------  ----------------------------------  --------------------    -----------  -----------
  1      Gi1/0/2                             Gi1/0/1                 Link Up      Down


b. ポートGi1/0/2がGi1/0/1にリンク依存していて、Gi1/0/1がダウンの場合

console#show interfaces status

Port      Description     Duplex Speed   Neg  Link   Flow  M  VLAN
                                              State  Ctrl
--------- --------------- ------ ------- ---- ------ ----- -- -------------------
Gi1/0/1                   N/A    Unknown Auto Down   Off   A  1
Gi1/0/2                   Full   1000        Auto   Up     On    A  1


console#show link-dependency
GroupId  Member Ports    Ports Depended On   Link Action  Group State
-------  -------------------------  --------------------           -----------     -----------
  1      Gi1/0/2                             Gi1/0/1                 Link Up     Up


 




アクションがダウンのときにリンク依存関係のステータスを検証する方法の例


a. ポートGi1/0/2がGi1/0/1にリンク依存していて、Gi1/0/1がアップの場合

console#show interfaces status
Port      Description     Duplex Speed   Neg  Link   Flow  M  VLAN
                                              State  Ctrl
--------- --------------- ------ ------- ---- ------ ----- -- -------------------
Gi1/0/1                   Full   1000    Auto Up     On    A  1
Gi1/0/2                   Full   1000    Auto Up     On    A  1

console#show link-dependency
GroupId  Member Ports    Ports Depended On  Link Action  Group State
-------  ------------------------  --------------------          -----------        -----------
  1      Gi1/0/2                             Gi1/0/1             Link Down     Up


b. ポートGi1/0/2がGi1/0/1にリンク依存していて、Gi1/0/1がダウンの場合

console#show interfaces status
Port      Description     Duplex Speed   Neg  Link   Flow  M  VLAN
                                              State  Ctrl
--------- --------------- ------ ------- ---- ------ ----- -- -------------------
Gi1/0/1                   N/A    Unknown Auto Down   Off   A  1
Gi1/0/2                   N/A    Unknown Auto Down   Off   A  1



console#show link-dependency
GroupId  Member Ports           Ports Depended On   Link Action  Group State
-------  ----------------------------------  --------------------         -----------  -----------
  1      Gi1/0/2                             Gi1/0/1                       Link Down   Down


Affected Products

PowerSwitch N1100-ON Series, PowerSwitch N1500 Series, PowerSwitch N2000 Series, PowerSwitch N2100 Series, PowerSwitch N3000 Series, Dell EMC PowerSwitch N3100 Series, PowerSwitch N4000 Series
Article Properties
Article Number: 000120231
Article Type: How To
Last Modified: 05 Jun 2025
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.