EtherChannel Between a Cisco Catalyst Switch and Server Configuration Example



Network Diagram
ネットワークグラフ
This document uses this network setup:
このドキュメントは次のネットワークを使用しています.
Switch Configuration
スイッチ構成
In order to configure the switch, complete these steps.

  • Per the Network Diagram, choose the ports to be grouped:

  • 次のポートを選択してetherchannelを作成

  • Gi 2/0/23

  • Gi2/0/24

  • For each of the listed ports, complete these steps:

  • リストされたポートについて操作します.

  • Configure the port as a Layer 2 switchport.

  • レイヤ2ポートに設定
    Note: This step is required only for switches that support both Layer 2 switchports and Layer 3 interfaces.
     
    3階層スイッチでのみ使用
    
    Switch#conf t
    Enter configuration commands, one per line.  End with CNTL/Z.
    Switch(config)#int Gi2/0/23
    
    Switch(config-if)#switchport
    Switch(config-if)#

  • Configure the port as an access port and assign the appropriate VLAN.

  • VLANにインタフェースを追加
    
    Switch(config-if)#switchport mode access
    Switch(config-if)#switchport access vlan 100
    
    Switch(config-if)#

  • Configure the port for spanning tree PortFast.

  • portfastの構成
    
    Switch(config-if)#spanning-tree portfast
    %Warning: portfast should only be enabled on ports connected to a single
     host. Connecting hubs, concentrators, switches, bridges, etc... to this
     interface  when portfast is enabled, can cause temporary bridging loops.
     Use with CAUTION
    %Portfast has been configured on GigabitEthernet2/0/23 but will only
     have effect when the interface is in a non-trunking mode.
    Switch(config-if)#

  • Configure the port for EtherChannel with appropriate mode.

  • このEtherchannleモードを設定します.
    
    Switch(config-if)#channel-group 1 mode active
       LACP     
    
    Creating a port-channel interface Port-channel 1
    Switch(config-if)#

  • Configure the EtherChannel load balancing. This configuration is applicable for all EtherChannels configured on this switch.

  • このEtherchannle負荷等化アルゴリズムを構成します.この構成は、スイッチ上のすべてのetherchannleに適用されます.
    
    Switch(config)#port-channel load-balance ?
      dst-ip       Dst IP Addr
      dst-mac      Dst Mac Addr
      src-dst-ip   Src XOR Dst IP Addr
      src-dst-mac  Src XOR Dst Mac Addr
      src-ip       Src IP Addr
      src-mac      Src Mac Addr
    Switch(config)#port-channel load-balance src-mac
               MAC  
    Switch(config)#

    Server Configuration
    In order to configure the server, complete these steps:
     
    次のステップでサーバの構成を完了します.

  • Start the NIC configuration utility.
    Note: This examples uses the HP Network Configuration Utility 7. In order to use the HP Network Configuration Utility, locate the icon in the Windows 2000 system tray or click
    Start > Settings > Control Panel > HP Network.

  • このNICユーティリティ構成ソフトウェアを開きます.
     
    note:この例ではHP network configuration utility 7を使用しています.デスクトップアイコンをクリックするか、スタート-設定-コントロールパネル-hp networkをクリックしてソフトウェアを開くことができます.

  • Highlight both NICs, and the click
    Team.

  • 2つのNICをハイライトします.チームの選択
    The NIC team is created.
     
    このNICグループが作成されました

  • Click
    Properties.

  • クリックのプロパティ

  • In the Team Properties windows, choose the appropriate Team Type Selection.
    Note: Since this example configured the switch with LACP, choose the option with IEEE 802.3ad.

  • このプロパティダイアログボックスでetherchannelで使用するプロトコルタイプを選択します.
     
    LACP IEEE 802.3 adの選択

  • Choose the required method from the Transmit Load Balancing Method drop-down list, and click
    OK.

  • ドロップダウン・ダイアログ・ボックスで、ロード・バランシングのアルゴリズムを選択します.OKを選択します.

  • In the Team Properties window, click
    OK, and when the confirmation window appears, click
    Yes to continue.

  • このグループのプロパティウィンドウに入り、OKをクリックします.プログラム構成ウィンドウでYESを選択して続行
    A dialog box appears that displays the status of the process.
    このダイアログボックスは処理中です

  • When you are prompted to reboot the server, click
    Yes.

  • 再起動する必要があることを示します.YESを選択

  • Once the server is rebooted, open the network configuration utility in order to verify the teaming status.

  • サーバーを再起動した後、このネットワーク構成ユーティリティを開いて、このHP network teamが正常な状態かどうかを確認します.

  • Right-click
    My Network Places. An additional network card,
    Local Area Connection 3, displays in the window.

  • ネットワークリンクのローカルリンクの表示3

  • Configure the connection with static IP address, default gateway, and DNS/WINS settings or for dynamic configuration.

  • IPアドレス、カスタムゲートウェイ、DNS/WINサーバの構成、または動的取得の選択
    Verify
    検証#ケンショウ#

  • show etherchannel summary—Displays a one-line summary per channel group.

  • このetherchannleの詳細を表示
    
    Switch#show etherchannel 1 summary
    Flags:  D - down        P - in port-channel
            I - stand-alone s - suspended
            H - Hot-standby (LACP only)
            R - Layer3      S - Layer2
            U - in use      f - failed to allocate aggregator
            u - unsuitable for bundling
            w - waiting to be aggregated
            d - default port
    Number of channel-groups in use: 1
    Number of aggregators:           1
    Group  Port-channel  Protocol    Ports
    ------+-------------+-----------+-----------------------------
    1      Po1(SU)         LACP      Gi2/0/23(P) Gi2/0/24(P)
    Switch#

  • show spanningtree interface—Displays spanning tree information for the specified interface.

  • この集約ポートの生成ツリーの詳細を表示します.
    
    Switch#show spanning-tree interface port-channel 1
    
    Vlan             Role Sts Cost      Prio.Nbr Type
    ---------------- ---- --- --------- -------- ---------
    VLAN0100         Desg FWD 3         128.616  P2p
    Switch#

  • show etherchannel load-balance—Displays the load-balance or frame-distribution scheme among ports in the port channel.

  • 現在のetherchannel負荷等化で使用されているアルゴリズムを表示
    
    Switch#show etherchannel load-balance
    EtherChannel Load-Balancing Operational State (src-mac):
    Non-IP: Source MAC address
      IPv4: Source MAC address
      IPv6: Source IP address
    Switch#

    Troubleshoot
    There is currently no specific troubleshooting information available for this configuration.
     
    この構成に関するエラー情報は現在ありません.