当前位置:文档之家› EtherChannel 在AIX 5L上的配置方法

EtherChannel 在AIX 5L上的配置方法

EtherChannel 在AIX 5L上的配置方法

(v 20100429)

版本说明

目录

版本说明 (2)

1 Etherchannel简介 (4)

2.配置Etherchannel所需条件……………………………………………………………………………………………………………………………….4.

3. Etherchannel的配置方法 (4)

3.1 Etherchannel配置步骤 (4)

3.2显示Etherchannel设备 (6)

3.3更改alternate地址 (6)

3.4删除Etherchannel设备………………………………………………………………………………………………………………………….……………………7..

4.工作模式及限制 (7)

1.概述

Etherchannel是将多块以太网卡的带宽组合起来形成一个更大的带宽通道的一种聚合技术。对于TCP/IP的较高层协议来讲,这个聚合起来的设备看起来是一个单独的以太网接口设备。其中的每块以太网卡共享一个硬件地址(MAC Address)。该聚合通道设备对应一个以太网接口和一个IP地址。

2. 配置Etherchannel所需条件

Etherchannel中包含的以太网卡可以是任何支持的以太网卡。这些以太网卡必须连到一台支持Etherchannel 的网络交换机。

3. Etherchannel的配置方法

AIX 可以将2块或4块以太网卡绑定成一个以太网通道(channel)。在一个系统中可以配置多个通道设备。通道中包含的网卡需要配置成相同的速率(10 或100Mbps)和模式(半双工或全双工)。

Etherchannel 可以通过smit进行配置。下面举例说明。该例中的Etherchannel包含:

- 2 块以太网卡ent0和ent1。

- 未配备Etherchannel alternate address。

- 系统共有5块以太网卡可选择。

3.1Etherchannel配置步骤:

1. 运行命令:

#smitty etherchannel

系统显示如下:

Etherchannel

Move cursor to desired item and press Enter.

List All Etherchannels

Add An Etherchannel

Change / Show Characteristics of an Etherchannel

Remove An Etherchannel

2. 选择“Add An Etherchannel”后,显示以下菜单:

Available Network Adapters

Move cursor to desired item and press F7.

ONE OR MORE items can be selected.

Press Enter AFTER making all selections.

ent0

ent1

ent2

ent3

ent4

F1=Help ---F2=Refresh --F3=Cancel

F7=Select -F8=Image ----F10=Exit

Enter=Do --/=Find ------n=Find Next

注:“Available Network Adapters”显示出系统所有的以太网卡。但选择一个已被使用的网卡后,系统将报错:Method error (/usr/lib/methods/cfgech):

0514-001 System error: Method error (/usr/lib/methods/chgent):

0514-062 Cannot perform the requested function because the specified

device is busy.

3. 选择好所用的一块或多块网卡后系统显示下列菜单:

Add an Etherchannel

Type or select values in entry fields.

Press Enter AFTER making all desired changes.

[Entry Fields]

Etherchannel Adapters ------------------ent0 ent1 --+

Enable ALTERNATE ETHERCHANNEL address --no ---------+

ALTERNATE ETHERCHANNEL address ---------[]--------- +

Mode standard +

Enable GIGABIT ETHERNET JUMBO frames ---no ---------+

Internet Address to Ping ---------------[]

Number of Retries ----------------------[] ---------#

Retry Timeout (sec) --------------------[] ---------#

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

F5=Reset --F6=Command-- F10=Edit ---F8=Image

F9=Shell --F10=Exit ----Enter=Do

4. 输入回车键。命令执行完成后显示如下:

COMMAND STATUS

Command: OK stdout: yes stderr: no

命令完成之前还会显示下列信息:

ent5 Available

注:由于未指定alternate address,系统将ent1 的alternate address 改为ent0的硬件地址。如果指定了alternate address,ent0和ent1均会使用该alternate address。

5. 最后,增加一个接口设备en5(标准以太网)或et5(IEEE 802.3)。最简单的方法是使用菜单:smitty tcpip

3.2显示Etherchannel设备

1. 运行命令:

# smitty etherchannel

该命令输出如下:

Etherchannel

Move cursor to desired item and press Enter.

List All Etherchannels

Add An Etherchannel

Change / Show Characteristics of an Etherchannel

Remove An Etherchannel

2. 选择“List All Etherchannels”后显示如下:

COMMAND STATUS

Command: OK stdout: yes stderr: no

3.3更改alternate地址

1. 运行命令:

# smitty etherchannel

该命令输出如下:

Etherchannel

Move cursor to desired item and press Enter.

List All Etherchannels

Add An Etherchannel

Change / Show Characteristics of an Etherchannel

Remove An Etherchannel

2. 选择“Change / Characteristics of an Etherchannel”后显示:els panel on the screen: Available Etherchannels Move cursor to desired item and Enter.

ent5

F1=Help ----F2=Refresh --F3=Cancel

F7=Select --F8=Image ----F10=Exit

Enter=Do ---/=Find ------n=Find Next

3. 选择相应的etherchannel设备(例中为ent5), 按下回车键。

4. 将etherchannel alternate address改为1234deadbeef (假设):

Change / Show the Characteristics of an Etherchannel

Type or select values in entry fields.

Press Enter AFTER making all desired changes.

---------------------------------------[Entry Fields]

Etherchannel ---------------------------ent5 ------------+

Enable ALTERNATE ETHERCHANNEL address --yes -------------+

ALTERNATE ETHERCHANNEL address --------[0x1234deadbeef] -+

5. 按下回车键后显示:

COMMAND STATUS

Command: OK stdout: yes stderr: no

此命令结束前显示:

ent5 changed

注:增加或减少etherchannel中包含的以太网卡设备时,需要先将此Etherchannel设备从系统中删除。然后再选择相应的以太网卡增加Etherchannel 设备。

3.4删除Etherchannel设备

1. 运行命令:

# smitty etherchannel

2. 选择“Remove an Etherchannel”后按下回车键。

3. 在弹出的菜单中选择相应的设备(如ent5)后按下回车键,显示如下:

COMMAND STATUS

Command: OK stdout: yes stderr: no

Before command completion, additional instructions may appear below.

ent5 deleted

ent0 changed

ent1 changed

4.工作模式及限制

Etherchannel有三种工作模式:

Standard

在这种模式中,将目的IP地址通过hash算法来决定通过哪块网卡将数据送出。该模式保证所有数据依原有顺序传送,但可能利用不到全部带宽。

Round Robin

在这种模式中,通道包含的所有网卡被轮询,每次重复之前向每块网卡发送一个数据包。此模式中数据发送的顺序可能与原来不同,但可以最大限度地利用通道的带宽。

Network Interface Backup

在这种模式中,通道一次只激活一块网卡。通过以一定时间间隔轮旬网卡的连接状态,当工作网卡出现问题后,将用另一块网卡顶替。Etherchannel

配置菜单中的字段“Internet Address to Ping”,“Number of Retries”和“Retry Tiemout”既做此用途。

在AIX 4.3.3中引入EtherChannel的功能时,只能支持以太网和快速以太网,在AIX 5.1 中,增加了对千兆EtherChannel 的支持,允许对多达4个千兆以太网端口进行聚合,从而大大增加了带宽的吞吐量。

限制信息

Etherchannel不支持远程dump的功能。

相关主题
文本预览
相关文档 最新文档