キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 
cancel
2410
閲覧回数
0
いいね!
0
コメント
lingljia
Cisco Employee
Cisco Employee

 

はじめに

本ドキュメントは Catalyst3850/Catalyst3650 においてイーサチャネルのメンバーポートの内、実際にどの物理ポートが通信に使用されているかを確認する方法を記載します。

** 各ソフトウェアイメージにてサポートできるコマンドのオプションに差異がある可能性はございますのでご了承ください。**

 

 

イーサチャネルのロードバランス方式の確認

Catalyst3850/Catalyst3650 において下記のようなイーサチャネルのロードバランス方式をサポートします。

 

Switch(config)#port-channel load-balance ?

  dst-ip                 Dst IP Addr

  dst-mac                Dst Mac Addr

  dst-mixed-ip-port      Dst IP Addr and TCP/UDP Port

  dst-port               Dst TCP/UDP Port

  extended               Extended Load Balance Methods

  src-dst-ip             Src XOR Dst IP Addr

  src-dst-mac            Src XOR Dst Mac Addr

  src-dst-mixed-ip-port  Src XOR Dst IP Addr and TCP/UDP Port

  src-dst-port           Src XOR Dst TCP/UDP Port

  src-ip                 Src IP Addr

  src-mac                Src Mac Addr

  src-mixed-ip-port      Src IP Addr and TCP/UDP Port

  src-port               Src TCP/UDP Port

 show etherchannel load-balance コマンドでご利用のスイッチにて利用されているイーサチャネルのロードバランス方式が確認できます。

 

 

イーサチャネルにおいてパケット転送の経路選択

上記の出力結果に基づき下記のようなコマンドで実際にどの物理ポートが通信に使用されているかを確認できます。

 

  • 3.xE を利用している Catalyst3850/Catalyst3650 において
show platform etherchannel {port-channel number} load-balance mac {src-mac dst-mac} [ip <src-ip dst-ip>] [port <src-port dst-port>] [switch switch-number]

 

  • 16.3.x を利用している Catalyst3850/Catalyst3650 において
show platform software fed switch {switch-number} etherchannel {port-channel number} load-balance [mac <src-mac dst-mac>] [ip <src-ip dst-ip>] [port <src-port dst-port>]

 

  • 16.6.x を利用している Catalyst3850/Catalyst3650 において
show platform software fed switch {switch-number} etherchannel {port-channel number} load-balance [mac <src-mac dst-mac>] [ip <src-ip dst-ip>] [port <src-port dst-port>] [extended all/ip-port-mixed/ipv6-label/l3-proto/mac-ip-mixed/mac-port-mixed]

 

  • 16.9.x を利用している Catalyst3850/Catalyst3650 において
show platform software fed switch {switch-number} etherchannel {port-channel number} load-balance [mac <src-mac dst-mac>] [ipv4 <src-ip dst-ip>] [ipv6 <src-ipv6 dst-ipv6>] [port <src-port dst-port>] [extended all/ip-port-mixed/ipv6-label/l3-proto/mac-ip-mixed/mac-port-mixed]

 

  • 16.12.x を利用している Catalyst3850/Catalyst3650 において
show platform software fed switch {switch-number} etherchannel {port-channel number} load-balance [mac <src-mac dst-mac>] [ipv4 <src-ip dst-ip>] [ipv6 <src-ipv6 dst-ipv6>] [port <src-port dst-port>] [extended all/ip-port-mixed/ipv6-label/l3-proto/mac-ip-mixed/mac-port-mixed] [vlan vlan-dst-ip/vlan-dst-mixed-ip-port/vlan-src-dst-ip/vlan-src-dst-mixed-ip-port/vlan-src-ip/vlan-src-mixed-ip-port]

 

 

例示

  • 1

デフォルトでは下記のように src-mac に基づきイーサチャネルロードバランスします。

 

Switch#show etherchannel load-balance

EtherChannel Load-Balancing Configuration:

        src-mac


EtherChannel Load-Balancing Addresses Used Per-Protocol:

Non-IP: Source MAC address

  IPv4: Source MAC address

  IPv6: Source MAC address

 

この場合、下記のコマンドで通信に使用されている物理ポート番号を確認できます。

  • 3.xE を利用している Catalyst3850/Catalyst3650 において
show platform etherchannel {port-channel number} load-balance mac {src-mac dst-mac} [switch switch-number]

 

  • 16.x を利用している Catalyst3850/Catalyst3650 において
show platform software fed switch {switch-number} etherchannel {port-channel number} load-balance mac {src-mac dst-mac}

 

  • 2

イーサチャネルロードバランスを src-ip に変更した場合、下記の出力となります。

 

Switch#show etherchannel load-balance

EtherChannel Load-Balancing Configuration:

        src-ip


EtherChannel Load-Balancing Addresses Used Per-Protocol:

Non-IP: Source MAC address

  IPv4: Source IP address

  IPv6: Source IP address

 

下記のコマンドで通信に使用されている物理ポート番号を確認できます。

  • 3.xE を利用している Catalyst3850/Catalyst3650 において
show platform etherchannel {port-channel number} load-balance mac {src-mac dst-mac} ip {src-ip dst-ip} [switch switch-number]

 

  • 16.3.x と 16.6.x を利用している Catalyst3850/Catalyst3650 において
show platform software fed switch {switch-number} etherchannel {port-channel number} load-balance ip {src-ip dst-ip}

 

  • 16.9.x と 16.12.x を利用している Catalyst3850/Catalyst3650 において
show platform software fed switch {switch-number} etherchannel {port-channel number} load-balance ipv4 {src-ip dst-ip}
Getting Started

検索バーにキーワード、フレーズ、または質問を入力し、お探しのものを見つけましょう

シスコ コミュニティをいち早く使いこなしていただけるよう役立つリンクをまとめました。みなさんのジャーニーがより良いものとなるようお手伝いします