索引
リンク速度とオートネゴシエーションステータスを確認します。
インターフェイス
でポート速度を設定する方法PortChannel
でポート速度を設定する方法ポート グループでポート速度を設定する方法(S5248F-ONおよびS5296F-ONに適用可能)
コマンド構文
コマンド |
説明 |
admin@DELLSONiC:~$ sonic-cli |
Dell Managementコマンド ライン インターフェイスの起動 |
DELLSONiC# show interface status |
すべてのインターフェイス ステータスを確認します。 |
DELLSONiC# show interface Eth <slot/port> |
特定のインターフェイスの詳細を確認します。 |
DELLSONiC# show interface PortChannel <number> |
ポートチャネルの確認 |
DELLSONiC# show interface advertise [Ethslot/port] |
アドバタイズされたポート速度と自動ネゴシエーション設定の表示 |
サンプル出力 (簡潔にするためにトリミングされた出力)
DELLSONiC# show interface status
--------------------------------------------------------------------------------------------------------------------------------------
Name Description Oper Reason AutoNeg Speed MTU Alternate Name
--------------------------------------------------------------------------------------------------------------------------------------
Eth1/1 - up oper-up off 25000 9100 Ethernet0
Eth1/2 - up oper-up off 25000 9100 Ethernet1
Eth1/3 - up oper-up off 25000 9100 Ethernet2
Eth1/4 - up oper-up off 25000 9100 |
DELLSONiC# show interface Eth 1/1
Eth1/1 is up, line protocol is up, reason oper-up
Hardware is Eth, address is XX.XX.XX.XX.XX
Mode of IPV4 address assignment: not-set
Mode of IPV6 address assignment: not-set
Interface IPv6 oper status: Disabled
IP MTU 9100 bytes
LineSpeed 25GB, Auto-negotiation off
Link-training: off
Unreliable-LOS: off
FEC: DISABLED
Events:
initialized at 2023-10-14T11:11:47.61798+09:00
admin-up at 2023-10-14T11:12:04.289966+09:00
port-enabled at 2023-10-14T11:12:04.291712+09:00
phy-link-up at 2023-10-14T11:12:31.328101+09:00
|
DELLSONiC# show interface advertise Eth 1/1
Name: Eth1/1
Admin State: UP
Link Status: UP
Auto Negotiation: OFF
Operational Link Training: OFF
Standalone Link Training: OFF
400G 200G 100G 50G 40G 25G 10G 5G 2.5G 1G 100f 100h 10f 10h
---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
Admin Local Advertisement - - - - - - - - - - - - - -
Oper Local Advertisement - - - - - - - - - - - - - -
Oper Remote Advertisement - - - - - - - - - - - - - -
DELLSONiC# |
構成構文
コマンド |
説明 |
admin@DELLSONiC:~$ sonic-cli |
Dell Managementコマンド ライン インターフェイスの起動 |
DELLSONiC# configure terminal |
設定モードに入る |
DELLSONiC(config)# interface Eth slot/port |
インターフェイスの構成 |
DELLSONiC(conf-if-Ethslot/port)# Speed <Speed> |
速度の設定 |
DELLSONiC(conf-if-Ethslot/port)# speed auto <Speed> |
自動ネゴシエーション速度を有効にし、 speed auto と入力します。デバイスの接続でオートネゴシエーションを行う特定の速度をアドバタイズする |
DELLSONiC(conf-if-Ethslot/port)#no speed |
デフォルトのポート速度を復元します。 |
DELLSONiC(conf-if-Ethslot/port)#no speed auto |
オートネゴシエーションを無効にし、デフォルトのポート速度を復元します。 |
DELLSONiC(conf-if-Ethslot/port)#no speed auto <Speed> |
オートネゴシエーションを無効にし、指定したポート速度を設定します。 |
* 可能な速度の組み合わせ 10/100/1000/10000/25000/40000/50000/100000/400000/自動
サンプル構成
速度10000でEth 1/1を設定できます。
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)# interface Eth 1/1
DELLSONiC(conf-if-Eth1/30)# speed 10000 |
速度を確認します:
サンプル出力
DELLSONiC# show interface status
--------------------------------------------------------------------------------------------------------------------------------------
Name Description Oper Reason AutoNeg Speed MTU Alternate Name
--------------------------------------------------------------------------------------------------------------------------------------
Eth1/1 - up oper-up off 10000 9100 Ethernet0
|
メモ: ポート チャネルには、同じ速度のインターフェイスが含まれている必要があります。
速度を PortChannel に変更するには、そのすべてのメンバー インターフェイスの速度を変更します。たとえば、Eh 1/1と1/2がPortChannelインターフェイスの一部であるとします。
サンプル出力
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure
DELLSONiC(config)# interface range Eth 1/1-1/2
DELLSONiC(config)#Speed 25000 |
DELLSONiC# show interface status | grep Po
PortChannel1 - up oper-up - 50000 9100 - |
DELLSONiC# show interface PortChannel 1
PortChannel1 is up, line protocol is up, reason oper-up, mode Static
Hardware is PortChannel, address is 0c:2c:1e:b9:00:0a
Minimum number of links to bring PortChannel up is 1
Mode of IPV4 address assignment: not-set
Mode of IPV6 address assignment: not-set
Graceful shutdown: Disabled
MTU 9100
LineSpeed 50.0GB
Events: |
2つのメンバー ポートEth 1/1と1/2がそれぞれ25 GB(25G + 25G = 50G)であるため、PortChannel 1の速度は
50.0 GB です。
メモ: S5248F-ONおよびS5296F-ONスイッチはポート グループをサポートします。
ポート グループを使用すると、ハードウェアの特性に従ってポートに共通の構成を適用できます。
- 10Gで実行されるポート グループ インターフェイスは、1Gで実行するように個別に構成できます。
- 25Gで実行するようにポート グループが構成されている場合、1Gで実行するようにインターフェイスを構成することはできません。
ポートグループ
の表示次のコマンドを使用します。
show port-group
サンプル出力
DELLSONiC# show port-group
-------------------------------------------------------------------------------------
Port-group Interface range Valid speeds Default Speed Current Speed
-------------------------------------------------------------------------------------
1 Eth1/1 - Eth1/4 10G, 25G 25G 10G
2 Eth1/5 - Eth1/8 10G, 25G 25G 25G
3 Eth1/9 - Eth1/12 10G, 25G 25G 25G
4 Eth1/13 - Eth1/16 10G, 25G 25G 25G
5 Eth1/17 - Eth1/20 10G, 25G 25G 25G
6 Eth1/21 - Eth1/24 10G, 25G 25G 25G
7 Eth1/25 - Eth1/28 10G, 25G 25G 25G
8 Eth1/29 - Eth1/32 10G, 25G 25G 25G
9 Eth1/33 - Eth1/36 10G, 25G 25G 10G
10 Eth1/37 - Eth1/40 10G, 25G 25G 25G
11 Eth1/41 - Eth1/44 10G, 25G 25G 25G
12 Eth1/45 - Eth1/48 10G, 25G 25G 25G |
ポート グループ速度
の設定ポート グループ速度を設定するには、次のコマンドを使用して、ポート グループ内のインターフェイスの速度を変更します。ポート速度はメガビット/秒(Mbps)です。
port-group speed
構成構文
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)# port-group number speed {10000 | 25000} |
メモ: port group speed コマンドはさまざまなポート速度オプションを提供しますが、サポートされているポート グループの速度は10000および25000のみです。サポートされていないポート速度を設定すると、次のエラー メッセージが表示されます。%Error: サポートされていない速度
ポート グループの速度を設定解除し、デフォルトのグループ速度を設定するには、次のコマンドを入力します。
no port-group speed
構成構文
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)#no port-group number speed |
サンプル設定
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure
DELLSONiC(config)# port-group 1 speed 10000
DELLSONiC(config)# end
DELLSONiC# |
確認するには、次のコマンドを使用します。
how port-group
サンプル出力
DELLSONiC# show port-group
-------------------------------------------------------------------------------------
Port-group Interface range Valid speeds Default Speed Current Speed
-------------------------------------------------------------------------------------
1 Eth1/1 - Eth1/4 10G, 25G 25G 10G
2 Eth1/5 - Eth1/8 10G, 25G 25G 25G
3 Eth1/9 - Eth1/12 10G, 25G 25G 25G
4 Eth1/13 - Eth1/16 10G, 25G 25G 25G
5 Eth1/17 - Eth1/20 10G, 25G 25G 25G
6 Eth1/21 - Eth1/24 10G, 25G 25G 25G
7 Eth1/25 - Eth1/28 10G, 25G 25G 25G
8 Eth1/29 - Eth1/32 10G, 25G 25G 25G
9 Eth1/33 - Eth1/36 10G, 25G 25G 10G
10 Eth1/37 - Eth1/40 10G, 25G 25G 25G
11 Eth1/41 - Eth1/44 10G, 25G 25G 25G
12 Eth1/45 - Eth1/48 10G, 25G 25G 25G |