Network Diagram

网络图表
This document uses this network setup:
这个文档使用下面的网络

Switch Configuration

交换机配置
In order to configure the switch, complete these steps.
  1. Per the Network Diagram, choose the ports to be grouped:
        选择下面的端口创建 etherchannel
  • Gi 2/0/23
  • Gi2/0/24
  1. For each of the listed ports, complete these steps:
            对列出的端口做一下操作
  1. 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.
 
             在一步只使用在三层交换机上
Switch#Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#
Switch(config-if)#Switch(config-if)#
  1. Configure the port as an access port and assign the appropriate VLAN.
              将接口加入VLAN
Switch(config-if)#Switch(config-if)#
Switch(config-if)#
  1. Configure the port for spanning tree PortFast.
              配置portfast
Switch(config-if)#%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)#
  1. Configure the port for EtherChannel with appropriate mode.
                     配置这个Etherchannle 模式。
Switch(config-if)#
Creating a port-channel interface Port-channel 1
Switch(config-if)#
  1. Configure the EtherChannel load balancing. This configuration is applicable for all EtherChannels configured on this switch.
            配置这个Etherchannle 负载均衡算法。这个配置被应用到交换机上的所有    etherchannle 。
Switch(config)#  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)#
Switch(config)#

Server Configuration

In order to configure the server, complete these steps:
 
下面一步步完成服务器的配置
  1. 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.
打开这个 网卡实用程序配置软件。
 
note :这个例子中使用的是HP network configuration utility 7。  可以通过点击桌面图标或是开始  -设置 -控制面板 -hp network  打开软件。
  1. Highlight both NICs, and the click Team.
高亮选择两块网卡。选择 team
The NIC team is created.
 
这个NIC 组被创建
  1. Click Properties.
点击属性
  1. 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.3ad
  1. Choose the required method from the Transmit Load Balancing Method drop-down list, and click OK.
在下拉对话框中选择一个负载均衡的算法。选择OK。
  1. 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.
这个对话框显示正在处理中
  1. When you are prompted to reboot the server, click Yes.
      提示你需要重启。选择YES
  1. Once the server is rebooted, open the network configuration utility in order to verify the teaming status.
重启服务器后打开这个 网络配置实用程序 查看这个 HP network team 是否状态正常
  1. Right-click My Network Places. An additional network card, Local Area Connection 3, displays in the window.
             查看网络链接 中的 本地链接3
  1. 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#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#
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#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.
 
目前没有详细的关于这个配置的排错信息。