您的位置首页百科问答

AIX设置EtherChannel(主备模式)逻辑网卡

AIX设置EtherChannel(主备模式)逻辑网卡

的有关信息介绍如下:

AIX设置EtherChannel(主备模式)逻辑网卡

在大型数据中心建设时,服务器的以太网卡采用EtherChannel来实现在多条链路上均衡分配流量,起到负载分担的作用;当一条或多条链路故障时,只要另外一条链路正常,网络流量将转移到其它的链路上,整个过程在几毫秒内完成,从而起到冗余的作用,增强了网络的稳定性和安全性。本文中详细介绍配置主备模式EtherChannel方法。

1、确认需要做EtherChannel的网卡

(1)网卡的位置信息

lscfg-vp|grepent

注:根据输出,以及网卡在IO抽屉中的物理连线情况,最好规划连续分别在主备交换机上的两块网卡

2、配置EtherChannel

(1)进入etherchannel设置菜单

#smittyetherchannel

AddAnEtherChannel/LinkAggregation

输出

AvailableNetworkInterfaces

MovecursortodesireditemandpressEsc+7.

ONEORMOREitemscanbeselected.

PressEnterAFTERmakingallselections.

>ent0

ent1

F1=HelpF2=RefreshF3=Cancel

Esc+7=SelectEsc+8=ImageEsc+0=Exit

Enter=Do/=Findn=FindNext

在如上画面中选中ent0回车,出现如下画面再回车,完成EtherChannel配置:

AddAnEtherChannel/LinkAggregation

Typeorselectvaluesinentryfields.

PressEnterAFTERmakingalldesiredchanges.

[EntryFields]

EtherChannel/LinkAggregationAdapters ent0 +

EnableAlternateAddressno+

AlternateAddress[]+

EnableGigabitEthernetJumboFramesno+

Modestandard+

HashModedefault+

BackupAdapter ent1 +

AutomaticallyRecovertoMainChannelyes+

PerformLosslessFailoverAfterPingFailureyes+

InternetAddresstoPing[]

NumberofRetries[]+#

RetryTimeout(sec)[]+#

F1=HelpF2=RefreshF3=CancelF4=List

Esc+5=ResetEsc+6=CommandEsc+7=EditEsc+8=Image

Esc+9=ShellEsc+0=ExitEnter=Do

在如上画面中选中ent1和ent0回车,出现如下画面再回车,完成EtherChannel配置:

3、设置IP地址

运行#smittymktcpip命令,选出通过EtherChannel配置生成的网卡en2:

4、确认生成的逻辑网卡

#netstat -v en2

会看到详细的信息

本步骤在HMC的控台台操作,否则会有网络中断现象