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

2025-10-05 01:44:09

1、1、确认需要做EtherChannel的网卡

(1)网卡的位置信息

lscfg -vp|grep ent

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

2、2、配置EtherChannel 

(1)进入etherchannel设置菜单

#smitty etherchannel

   Add An EtherChannel / Link Aggregation

输出

Available Network Interfaces                                        

Move cursor to desired item and press Esc+7.                            

    ONE OR MORE items can be selected.                                  

Press Enter AFTER making all selections.                              

> ent0                                                                 

 ent1                                                                 

F1=Help                 F2=Refresh              F3=Cancel               

Esc+7=Select            Esc+8=Image             Esc+0=Exit              

Enter=Do                /=Find                  n=Find Next

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

             Add An EtherChannel / Link Aggregation

Type or select values in entry fields.

Press Enter AFTER making all desired changes.

                                                        [Entry Fields]

  EtherChannel / Link Aggregation Adapters       ent0              +

  Enable Alternate Address                            no                     +

  Alternate Address                                  []                      +

  Enable Gigabit Ethernet Jumbo Frames                no                     +

  Mode                                                standard               +

  Hash Mode                                           default                +

  Backup Adapter                          ent1                      +

       Automatically Recover to Main Channel          yes                    +

       Perform Lossless Failover After Ping Failure   yes                    +

  Internet Address to Ping                           []

  Number of Retries                                  []                      +#

  Retry Timeout (sec)                                []                      +#

F1=Help             F2=Refresh          F3=Cancel           F4=List

Esc+5=Reset         Esc+6=Command       Esc+7=Edit          Esc+8=Image

Esc+9=Shell         Esc+0=Exit          Enter=Do

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

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

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

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

3、3、设置IP地址

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

4、4、确认生成的逻辑网卡

#netstat -v en2

会看到详细的信息

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢