AIXEtherchannel配置

合集下载

使用EtherChannel实现网卡冗余

使用EtherChannel实现网卡冗余

AIX集成了EtherChannel(借用Cisco概念)功能,通俗来说就是可以实现2块网卡以上的负载均衡和/或冗余,不需要花钱的功能还是很不错。

有了etherChannel,HACMP配置网络冗余就可以省一个网段的IP地址需求了。

以下内容摘自IBM官方文档Document #: 2811014H30001配置前要考虑的事项1. 对于每个以太通道您可以配置多达八个主以太网适配器,每个以太通道仅具有一个备份以太网适配器。

2. 您可以在一个系统上配置多个“以太通道”,但是每个“以太通道”会组建一个附加的以太网接口。

no命令选项,ifsize,可能需要增加到不仅包含用于每个适配器的以太网接口,而且包含任何配置的EtherChannel。

在AIX 5.2 及先前版本中,缺省ifsize为8。

在AIX 5.2 及后续版本中,缺省大小为256。

3. 在以太通道中可以使用任何受支持的以太网适配器。

然而,以太网适配器必须连接到一个支持“以太通道”的交换机。

请参阅随交换机一起提供的文档以确定它是否支持“以太通道”(交换机文档可能也将该能力称作“链路聚集”或“中继”)。

4. 在“以太通道”中的所有适配器都应该配置为相同的速度(例如,100 Mbps),而且应该是全双工的。

5. 配置完“以太通道”后,系统不能访问“以太通道”中使用的适配器。

要修改它们的任何属性,如介质速度,传送或接收排队大小等等,则在将它们包含在“以太通道”之前必须进行这些操作。

6. 计划用于“以太通道”的适配器不应该给它们配置IP 地址。

当使用拥有IP 地址的适配器配置以太通道时,请确保它们的接口处于拆离(detach)状态。

要添加到“以太通道”的适配器不能具有up状态的接口(如果它们的IP 地址是使用SMIT 配置的就会发生这种情况)。

这会导致机器在重新引导时提示“以太通道”产生问题,因为在DOM 中底层接口在“以太通道”启用之前就使用了。

因此,配置“以太通道”时,它会发现它的其中一个适配器已经在使用。

教你配置EtherChannel

教你配置EtherChannel

配置EtherChannelCatalyst 2950 SwitchCat2950#Cat2950#conf tEnter configuration commands, one per line. End with CNTL/Z.!-- The VLAN Trunk Protocol (VTP) mode is set to server,!-- and the VTP domain name to is set to cisco.Cat2950(config)#vtp mode serverSetting device to VTP SERVER modeCat2950(config)#vtp domain ciscoChanging VTP domain name from VitalCom to cisco!-- Created two VLANs: VLAN10 and VLAN20.Cat2950(config)#vlan 10Cat2950(config-vlan)#exitCat2950(config)#vlan 20Cat2950(config-vlan)#exit!-- Configured ports Fa0/5 through Fa0/14 in VLAN10,!-- and ports fa0/15 through Fa0/26 in VLAN20.Cat2950(config)#int range fa0/5 - 14Cat2950(config-if-range)#switchport access vlan 10Cat2950(config-if-range)#exitCat2950(config)#int range fa0/15 - 26Cat2950(config-if-range)#switchport access vlan 20Cat2950(config-if-range)#^ZCat2950#00:32:39: %SYS-5-CONFIG_I: Configured from console by console!-- Configured the management interface so that the switch!-- can be accessed remotely by using Telnet.Cat2950#conf tCat2950(config)#int vlan 10Cat2950(config-if)#ip address 10.10.10.10 255.255.255.0Cat2950(config-if)#no shutdown00:24:07: %LINK-3-UPDOWN: Interface Vlan10, changed state to upCat2950(config-if)#^Z00:24:12: %SYS-5-CONFIG_I: Configured from console by consoleCat2950#conf tEnter configuration commands, one per line. End with CNTL/Z.!-- Configured the default-gateway, which is the IP address of the sub-interface!-- on the router for VLAN 10, so that the switch can be accessed from any VLAN.Cat2950(config)#ip default-gateway 10.10.10.1!-- Configured a logical channel interface.Cat2950(config)#int port-channel 1Cat2950(config-if)#exit!-- Ports are assigned to the logical channel interface to form an EtherChannel.!-- Note: The channel mode on the switch is set to on because the Cisco 7200!-- router on the other end does not support Port Aggregation Protocol(PAgP).Cat2950(config)#int fa0/2Cat2950(config-if)#channel-group 1 mode onCat2950(config-if)#exitCat2950(config)#00:25:38: %LINK-3-UPDOWN: Interface Port-channel1, changed state to up00:25:39: %LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel1, changed state to upCat2950(config)#int fa0/3Cat2950(config-if)#channel-group 1 mode onCat2950(config-if)#exit!-- To configure trunking over EtherChannel, trunking!-- is enabled over the logical channel interface.Cat2950(config)#int port-channel 1Cat2950(config-if)#switchport mode trunkCat2950(config-if)#!-- Configured VLAN10 as the Native VLAN for untagged traffic.Cat2950(config-if)#switchport trunk native vlan 10Cat2950(config-if)#^Z00:24:12: %SYS-5-CONFIG_I: Configured from console by consoleCat2950#Cisco 7200 RouterCisco7200#Cisco7200#conf tEnter configuration commands, one per line. End with CNTL/Z.!-- Created a logical channel interface to form an EtherChannel.Cisco7200(config)#int port-channel 1Cisco7200(config-if)#exit!-- The ports fa3/0 and fa4/0 are configured as members of the!-- logical channel to form an EtherChannel group.Cisco7200(config)#int fa3/0Cisco7200(config-if)#channel-group 1FastEthernet3/0 added as member-1 to port-channel1Cisco7200(config-if)#exitCisco7200(config)#Cisco7200(config)#int fa4/0Cisco7200(config-if)#channel-group 1FastEthernet4/0 added as member-2 to port-channel1Cisco7200(config-if)#exit!-- Configured sub-interfaces over port-channel for VLAN10 and VLAN20 to configure !-- trunking over EtherChannel. The IP address is assigned to InterVLAN routing.!-- Configured VLAN10 as the Native VLAN for untagged traffic.Cisco7200(config)#int port-channel 1.10Cisco7200(config-subif)#encapsulation dot1Q 10 nativeCisco7200(config-subif)#ip address 10.10.10.1 255.255.255.0Cisco7200(config-subif)#exitCisco7200(config)#int port-channel 1.20Cisco7200(config-subif)#encapsulation dot1Q 20Cisco7200(config-subif)#ip address 10.10.11.1 255.255.255.0Cisco7200(config-subif)#exitCisco7200(config)#exitCisco7200#EtherChanneletherchannel特性在switch到switch、switch到router之间提供冗余的、高速的连接方式,简单说就是将两个设备间多条FE或GE物理链路捆在一起组成一条设备间逻辑链路,从而达到增加带宽,提供冗余的目的。

AIX 5L中的以太网卡备份

AIX 5L中的以太网卡备份

AIX 5L中的以太网卡备份AIX 5L支持以太网卡备份(Network Interface Backup)的功能,可以在操作系统的层面上消除以太网连接的单一故障点,在AIX 5L之前,用户只能通过HACMP软件才能实现这一功能。

以太网卡备份可以通过检测网卡的连接状态,发现网卡的本地连接失效,通过ping固定地址,发现网络路径失效。

AIX 5L中的以太网卡备份通过Etherchannel的界面来实现的。

通过smitty etherchannel或通过菜单(Devices -> Communication -> EtherChannel)可进入如下图所示的界面,来配置以太网卡备份。

选择Add An Etherchannel来定义新的Etherchannel你需要选择希望加入此EtherChannel 的网卡,如果你选择的网卡已经被使用或属于另一个EtherChannel,你会得到以下报错:Method error (/usr/lib/methods/cfgech):0514-001System error:Method error (/usr/lib/methods/chgent):0514-062cannot perform the requested function because thespecified device is busy.如果你所用的网卡不是千兆的以太网卡(如FC 2968 或4962,驱动23100020 或1410FF0),你需要打开pollink功能,这样网卡才能够检查连接的状态,从而通知Etherchannel。

你可以通过以下命令实现:#chdev -l entx -a poll_link=yes否则EtherChannel可能无法正常工作。

在上图中选择EtherChannel mode为netif_backup来实现以太网卡备份的功能,在这种模式下EtherChannel 可以得到每块网卡的连接状态,如果一块网卡的连接状态不是连通的状态(可能是由于没有插网线,网络交换机故障或网卡驱动程序问题)EtherChannel会切换到另一块网卡。

Etherchannel环境下更换网卡

Etherchannel环境下更换网卡

Etherchannel环境下更换网卡环境:AIX OSLevel:5304CSPEtherchannel配置模式:标准,backup模式。

此处Etherchanel的虚拟网卡为ent4,物理主网卡为ent2,物理备网卡为ent3 步骤:1. 使用命令entstat -d ent4查看当前Etherchannel状态查看当前Etherchannel网卡的状态,例如:# entstat -d ent4 | egrep -e "ETHERNET|Link Status|Active channel|Media Speed" ETHERNET STATISTICS (ent4) :Active channel: primary channelETHERNET STATISTICS (ent2) :Link Status : UpMedia Speed Selected: 100 Mbps Full DuplexMedia Speed Running: 100 Mbps Full DuplexETHERNET STATISTICS (ent3) :Link Status : DownMedia Speed Selected: 100 Mbps Full DuplexMedia Speed Running: Unknown注意当前“Active channel”是Primary Channel还是Secondary Channel查看ent2和ent3的link status是Up还是Down2. 如果需要更换的是主网卡ent2,而当前“Active Channel”仍是Primary Channel,则当前ent2上还有网络流量,需要首先进行链路的主备网卡切换,确保需要更换的主网卡ent2上没有网络流量# /usr/lib/methods/ethchan_config -f ent4更换主网卡ent2:1.从etherchannel删除主网卡/usr/lib/methods/ethchan_config -d ent4 ent22.删除并热插拔主网卡3.添加主网卡到etherchannel/usr/lib/methods/ethchan_config -a ent4 ent23. 如果需要更换的是备网卡ent3,而当前“Active Channel”是Secondary Channel,则当前ent3上还有网络流量,需要首先进行链路的主备网卡切换,确保需要更换的备网卡ent3上没有网络流量# /usr/lib/methods/ethchan_config -f ent4更换备网卡ent3:1.从etherchannel删除备网卡/usr/lib/methods/ethchan_config -d ent4 ent32.删除并热插拔备网卡3.添加备网卡到etherchannel/usr/lib/methods/ethchan_config -a -b ent4 ent3完!附录ethchan_config命令说明man ethchan_configCommands Reference, Volume 2, d - h ethchan_config CommandPurposeAdds adapters to an EtherChannel or removes adapters from an EtherChannel.Syntaxethchan_config { -a [ -b ] | -d } EtherChannel Adapterethchan_config -c EtherChannel Attribute NewV alueethchan_config -f EtherChannelDescriptionThis command adds adapters to an EtherChannel or removes adapters from an EtherChannel. This command can also be used tomodify EtherChannel attributes. These additions, deletions or modifications can take place even if the EtherChannel'sinterface is currently configured; that is, it is not necessary to detach the EtherChannel's interface to add or removeadapters or modify most EtherChannel attributes.Flags-aAdds the specified Adapter to the specified EtherChannel. If the adapter must be added as a backup adapter, the -bflag must be specified.-bSpecifies that the Adapter is being added as a backup adapter. This flag is only valid when used with the -a flag.-cChanges the specified Attribute of the specified EtherChannel attribute to the specified NewValue.-dDeletes the specified Adapter from the specified EtherChannel. The -b flag should not be used with the -d flag.-fForces a failover of the specified EtherChannel. Note that the failover will only actually occur if the adapter in theidle channel is up: if the adapter in the idle channel is down, the EtherChannel will keep operating on the active oneand no failover will take place.ParametersAdapterSpecifies the adapter to add or delete.AttributeSpecifies an attribute of the specified EtherChannel.EtherChannelSpecifies the EtherChannel.NewValueSpecifies the new value for the specified attribute of the specified EtherChannel.Exit StatusThe command completed successfully.>0An error occurred.Examples1 To add the adapter ent0 as the backup adapter in the EtherChannel called ent7, type:/usr/lib/methods/ethchan_config -a -b ent7 ent02 To change the address to ping attribute of an EtherChannel called ent7 to type:/usr/lib/methods/ethchan_config -c ent7 netaddr 3 To force a failover of an EtherChannel called ent7 from the currently active channel to the idle channel, type:/usr/lib/methods/ethchan_config -f ent7RestrictionsThe use of the use_jumbo_frame attribute cannot be modified by this command. Attempting to do so will print out an errormessage.Location/usr/lib/methodsAIX33:/>。

实验:EtherChannel配置

实验:EtherChannel配置

实验:EtherChannel配置1.实验目的通过本实验,读者可以掌握如下技能:①EtherChannel的工作原理;②EtherChannel的配置。

2.实验拓扑实验拓扑图如图13-5所示。

图13-5 实验4拓扑图3.实验步骤构成EnterChannel的端口必须具有相同的特性,如双工模式、速度和Trunking 的状态等。

配置EtherChannel有手支配置和自动配置(PAGP或者LAGP)两种方法,自动配置就是让EtherChannel协商协议自动协商EtherChannel的建立。

(1)手动配置EtherChannelS1(config)#interface port-channel 1//以上是创建以太通道,要指定一个唯一的通道组号,组号的范围是1~6的正整数。

要取消EtherChannel时用”no interface port-channel 1”命令S1(config)#interface f0/13S1(config-if)#channel-group 1 mode onS1(config)#interface f0/14S1(config-if)#channel-group 1 mode on//以上将物理接口指定到已创建的通道中S1(config)#int port-channel 1S1(config-if)#switchport mode trunkS1(config-if)#speed 100S1(config-if)#duplex full//以上配置通道中的物理接口的速率及双工等属性S2(config)#interface port-channel 1S2(config)#interface f0/13S2(config-if)#channel-group 1 mode onS2(config)#interface f0/14S2(config-if)#channel-group 1 mode onS2(config)#int port-channel 1S2(config-if)#switchport mode trunkS2(config-if)#speed 100S2(config-if)#duplex fullS1(config)#port-channel load-balance dst-macS2(config)#port-channel load-balance dst-mac//以上是配置EtherChannel的负载平衡方式,命令格式为”port-channel load-balancemethod”,负载平衡的方式有:dst-ip、dst-mac、src-dst-ip、src-dst-mac等(2)查看EtherChannel信息S1#show etherchannel summaryFlags; D - down P - in port-channelI - stand-alone s - suspendedH - Hot-standby (LACP only)R - Layer3 S - Layer2U - in use f - failed to allocate aggregatoru - unsuitable for bundlingw – waiting to be aggregatedd - default portNumber of channel-groups in use; 1Number of aggregators; 1Group Port-channel Protocol Ports------+-------------+-----------+-----------------------------------------------1 Po1(SU) - Fa0/13(Pd) Fa0/14(P)//可以看到EtherChannel已经形成,”SU”表示EtherChannel正常,如果显示为”SD”,表示把EthernetChannel接口关掉重新开启。

AIX Etherchannel配置

AIX Etherchannel配置

Etherchannel介绍在AIX操作系统中,用户可以配置多个EtherChannel(网卡绑定)。

在AIX 5.2之前,我们要么只能选择active/active EtherChannel模式,要么,只能选择active/standby EtherChannel模式的绑定网卡。

所以,AIX 5.2中引入了新的网卡后备模式,用户可以为整个EtherChannel指定一块备份网卡,当整个EtherChannel失效时,这块网卡会自动顶替EtherChannel的功能。

这与AIX 5.2之前的EtherChannel网卡备份模式有很大区别,因此,在5.2以后可以出现更为复杂的复合网卡绑定模式。

一个EtherChannel中可以有2到8块网卡,一个AIX操作系统中可以配置多个EtherChannel。

但要记住每个EtherChannel都是一个新的以太网接口,用户也许需要通过no命令调整ifsize参数的值来保证以太网卡和EtherChannel的总数不超过ifsize,ifsize的默认值是8。

您可以使用任何AIX系统支持的网卡来组建EtherChannel。

但EtherChannel 的同一个通道成员网卡必须连接到支持EtherChannel的交换机上,备用通道可以接入到另外一个交换机,用于主通道的失败接管。

EtherChannel的所有成员网卡都应该设置成同样的速度和工作模式,如1000兆全双工。

要用作EtherChannel成员的网卡不能配置IP地址,如果已经配置了,必须要在开始配置EtherChannel前删除这些配置。

在Aix5.2以后,我们看看三种典型的配置方式1、双通道或者多通道的共同active模式,这个模式下,所有的网卡都处于active状态,也就是每个网卡都处于工作状态,他们共有一个IP地址与MAC地址,但是,所有网卡的目标必须在同一个交换机上,并且交换机的对应端口也要绑定。

这样做最大的好处就是,当其中一个网卡失效,或者一根网线失效的时候,不影响整个网络的工作,只有当所有的网卡通道失效的时候,网络才失效。

【实训4.2】配置Etherchannel

【实训4.2】配置Etherchannel

【实训4.2】配置Etherchannel一、实训目的了解EtherChannel 的工作原理,掌握二层EtherChannel 的基本配置。

二、实训逻辑图SW1F0/23F0/24图4.2-1 STP 实训逻辑图三、实训内容及步骤1.二层以太通道EtherChannel 的手工绑定:按逻辑图4.2-1连接两台交换机,将连接端口F0/23、F0/24绑定成以太通道组,两台交换机都做以下同样的配置。

SW1: SW1(config)#interface port-channel 1 //创建以太通道,通道组号的范围是1~6的正整数SW1(config-if)#int range f0/23 – 24SW1(config-if)#switchport mode trunkSW1(config-if)#channel-group 1 mode onSW2:SW2(config)#interface port-channel 1 //创建以太通道,与相连的SW1要一致 SW2(config-if)#int range f0/23 – 24SW2(config-if)#switchport mode trunkSW2(config-if)#channel-group 1 mode on2.查看EtherChannel 信息 Sw1#show etherchannel summary……Number of channel-groups in use: 1/Number of aggregators: 1Group Port-channel Protocol Ports------+-------------+-----------+----------------------------------------------1 Po1(SU) PAgP Fa0/23(P) Fa0/24(P)//编号为1的通道组已经形成,“SU”表示正常。

etherchannel配置

etherchannel配置

简介:IBMp系列的AIX操作系统管理员可能因为各种原因对应用HACMP和EtherChannel的组合感兴趣,如一些软件可用性方案“反对”HACMP额外的备卡,通过使用EtherChannel, HACMP 的设置可以“遮掩”备卡,从而给这些用户一个他们熟悉的外部表现。

此外,一些用户可能喜欢EtherChannel带宽聚集,负载平衡以及高可用性,等等。

在给出的实例测试中,我们使用AIX5.2中的EtherChannel 功能实现一个“单一网卡”的IPAT。

EtherChannel 负责提供独立于HACMP之外的本地网卡交换。

HACMP是完全独立的,根本不知道EtherChannel的存在。

在HACMP中一般不只使用一个网卡,但是EtherChannel使这种情况可以接受,因为在一个EtherChannel 的伪设备中实际上有很多个物理网卡的存在。

因此,可以忽略集群(Cluster)同步时没有足够的网卡的警告信息。

本测试在不使用交换机的情况下实现EtherChannel,用“交叉网线”直接连接两个系统。

尽管PCI的热插拔以及硬件地址接管没有包括在HACMP的支持声明中,从我们的测试结果看来,PCI的热插拔在2004年5月软件升级中新加入的DAM (Adapter Membership)特点的支持下也能工作。

这意味着在SMIT中可以从一个运行的EtherChannel中移走网卡。

用户可以利用热插拔的特点更换网卡。

AIX EtherChannel 概述EtherChannel(EC)是一种端口聚合方法,多到八个以太网卡可以被定义作一个EtherChannel 通道,对于远端的系统而言,只能看到一个IP地址和MAC地址,但是得到了八倍的网络带宽。

数据流将按照标准的方法分布到各个网卡,如果某一个网卡不能够正常工作,数据将会被自动地发送到其它可用的网卡上,而不会中断连接,当主EC上只有一个连接活动的时候,一个“失效”测试将触发一个对可选备份网卡的快速检测。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

Etherchannel介绍
在AIX操作系统中,用户可以配置多个EtherChannel(网卡绑定)。

在AIX 5.2之前,我们要么只能选择active/active EtherChannel模式,要么,只能选择active/standby EtherChannel模式的绑定网卡。

所以,AIX 5.2中引入了新的网卡后备模式,用户可以为整个EtherChannel指定一块备份网卡,当整个EtherChannel失效时,这块网卡会自动顶替EtherChannel的功能。

这与AIX 5.2之前的EtherChannel网卡备份模式有很大区别,因此,在5.2以后可以出现更为复杂的复合网卡绑定模式。

一个EtherChannel中可以有2到8块网卡,一个AIX操作系统中可以配置多个EtherChannel。

但要记住每个EtherChannel都是一个新的以太网接口,用户也许需要通过no命令调整ifsize参数的值来保证以太网卡和EtherChannel的总数不超过ifsize,ifsize的默认值是8。

您可以使用任何AIX系统支持的网卡来组建EtherChannel。

但EtherChannel 的同一个通道成员网卡必须连接到支持EtherChannel的交换机上,备用通道可以接入到另外一个交换机,用于主通道的失败接管。

EtherChannel的所有成员网卡都应该设置成同样的速度和工作模式,如1000兆全双工。

要用作EtherChannel成员的网卡不能配置IP地址,如果已经配置了,必须要在开始配置EtherChannel前删除这些配置。

在Aix5.2以后,我们看看三种典型的配置方式
1、双通道或者多通道的共同active模式,这个模式下,所有的网卡都处于active状态,也就是每个网卡都处于工作状态,他们共有一个IP地址与MAC地址,但是,所有网卡的目标必须在同一个交换机上,并且交换机的对应端口也要绑定。

这样做最大的好处就是,当其中一个网卡失效,或者一根网线失效的时候,不影响整个网络的工作,只有当所有的网卡通道失效的时候,网络才失效。

而且,多个网卡的同时工作,可以增加网络带宽,不过,要注意,默认的分配方式是根据目标机器的Ip来分配使用哪个网卡,如果目标机器只有一台,不适合使用默认设置。

这种模式下,最大的问题就是所有的网卡目标必须在同一个交换机上,并且绑定在一起,不能防止目标交换机故障。

2、active/standby模式,这样的模式下,一个网卡接到主交换机,一个网卡接到备用交换机,当active通道失效的时候,自动切换到standby通道,当主通道恢复正常的时候,再自动切换到主通道(这里是否切换回去,是可以配置的)。

这种方式最大的好处就是可以防止交换机的故障。

3、复合式配置,在这种配置中,结合以上2种方式的优点。

如一个3块网卡的环境中,我们可以把其中2片网卡配置成双active模式,以增加网络带宽以及网络的可靠性,另外一块网卡作为后备模式,接在另外一个交换机上,当前面2个网卡都失效,或者前面2个网卡接的交换机失效的时候,切换到后备网卡上。

如图:
以下介绍两块物理网卡,做主备模式的配置过程:
网卡配置清除
需要聚合的网卡,必须是没有配置的,以及一定要处于detach状态,因此,在聚合前需要将网卡配置清除
#chdev -l en0 -a netaddr=” -a netmask=”
#chdev -l en1 -a netaddr=” -a netmask=”
#chdev -l en0 -a state=’detach’
#chdev -l en1 -a state=’detach’
创建Etherchannel
#smit etherchannel
---Add An EtherChannel / Link Aggregation
---ent0
---Press Enter
添加备份Etherchannel
#smit etherchannel
---Change / Show Characteristics of an EtherChannel / Link Aggregation
---ent2 //ent2为刚建立的Etherchannel的虚拟网卡
---在Add Backup Adapter 中按F4选择备份网卡ent1
---Press Enter
主要菜单选项介绍
EtherChannel Adapters: 看到在上一步中所选择的网卡。

Enable Alternate EtherChannel Address: 可选项。

将此项目设置为YES可以让用户指定EtherChannel所使用的MAC地址。

如果这项的值是NO,EtherChannel将使用第一块网卡的MAC地址。

Automatically Recover to Main Channel:当主channel正常后,自动回切到主channel。

Alternate EtherChannel Address: 如果设置了Enable Alternate EtherChannel Address为YES,在这里要输入希望使用的EtherChannel MAC地址。

该地址必须是以0x开头的12位十六进制数。

Enable Gigabit Ethernet Jumbo Frames: 可选项。

使用这个功能要求交换机支持Jumbo Frames。

使用这个选项的EtherChannel不支持802.3接口。

Mode: 您可以选择以下模式: Standard、Round Robin、8023ad
Standard: 将会按照Hash Mode里所设置的规则,用Etherchannel协议进行包发送。

Round Robin: 在这种模式下各个成员网卡被轮流使用,每轮每个网卡发送一个数据包。

8023ad:按照IEEE的802.3ad的LACP协议进行包发送。

Hash Mode:包含4种模式default、src_port、dst_port、src_dst_port
Default:EtherChannel使用目标主机的IP地址来决定用哪一块网卡来发送数据。

EtherChannel用目标IP的末字节除以成员网卡的个数的余数(模)来决定由哪一块网卡发送数据。

比如目标IP是10.10.10.1, EtherChannel中有两块成员网卡, (1 % 2) = 1, 所以第二块网卡被用来发送数据(网卡编号从0开始)。

网卡编号按照它们在smit界面中列出的顺序排列。

对于非IP流量(如ARP), 目标MAC地址的末字节被用来进行计算。

src_port、dst_port、src_dst_port算法同样,只是取值不同,分别是原端口、目标端口、原_目标端口。

Network Interface Backup: 这种模式是用于AIX 5.1和AIX 4.3.3的网卡后备模式。

在这种模式下,EtherChannel在任何时刻都只将一块网卡用于负担网络流量。

主要用于网卡连接到不同的交换机上,并且通过任何的交换机都可以到达同样的网络的情况下。

当检测到某个网卡-交换机连接出现问题时(通过网线检测或选择ping某个IP地址, EtherChannel将停止当前的成员网卡并启动下一个成员网卡。

只有这种模式会用到Internet Address to Ping, Number of Retries和Retry Timeout选项。

Backup Adapter: 可选项。

用于AIX 5.2的EtherChannel后备模式。

指定您想要用来后备整个EtherChannel的网卡。

Internet Address to Ping: 仅用于网卡后备模式。

EtherChannel会ping您在这里指定的IP地址。

如果回应超时达到指定的数目,EtherChannel会切换网卡。

Number of Retries: 允许的回应超时的次数,默认是3。

Retry Timeout: 回应超时的时限。

默认是1秒。

相关文档
最新文档