ALL交换机聚合

Posted 网络抓虫

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ALL交换机聚合相关的知识,希望对你有一定的参考价值。

H3C

. 二 层静态聚合配置组网图

ALL交换机聚合_mac地址


配置步骤

(1) 配置Device A

# 创建VLAN 10,并将端口GigabitEthernet1/0/4加入到该VLAN中。

<DeviceA> system-view

[DeviceA] vlan 10

[DeviceA-vlan10] port gigabitethernet 1/0/4

[DeviceA-vlan10] quit

# 创建VLAN 20,并将端口GigabitEthernet1/0/5加入到该VLAN中。

[DeviceA] vlan 20

[DeviceA-vlan20] port gigabitethernet 1/0/5

[DeviceA-vlan20] quit

# 创建二层聚合接口1

[DeviceA] interface bridge-aggregation 1

[DeviceA-Bridge-Aggregation1] quit

# 分别将端口GigabitEthernet1/0/1GigabitEthernet1/0/3加入到聚合组1中。

[DeviceA] interface gigabitethernet 1/0/1

[DeviceA-GigabitEthernet1/0/1] port link-aggregation group 1

[DeviceA-GigabitEthernet1/0/1] quit

[DeviceA] interface gigabitethernet 1/0/2

[DeviceA-GigabitEthernet1/0/2] port link-aggregation group 1

[DeviceA-GigabitEthernet1/0/2] quit

[DeviceA] interface gigabitethernet 1/0/3

[DeviceA-GigabitEthernet1/0/3] port link-aggregation group 1

[DeviceA-GigabitEthernet1/0/3] quit

# 配置二层聚合接口1Trunk端口,并允许VLAN 1020的报文通过。

[DeviceA] interface bridge-aggregation 1

[DeviceA-Bridge-Aggregation1] port link-type trunk

[DeviceA-Bridge-Aggregation1] port trunk permit vlan 10 20

[DeviceA-Bridge-Aggregation1] quit

(2) 配置Device B

Device B的配置与Device A相似,配置过程略。

4. 验证配置

# 查看Device A上所有聚合组的详细信息。

[DeviceA] display link-aggregation verbose

Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing

Port Status: S -- Selected, U -- Unselected, I -- Individual

Port: A -- Auto port, M -- Management port, R -- Reference port

Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation,

D -- Synchronization, E -- Collecting, F -- Distributing,

G -- Defaulted, H -- Expired


Aggregate Interface: Bridge-Aggregation1

Aggregation Mode: Static

Loadsharing Type: Shar

Management VLANs: None

Port Status Priority Oper-Key

GE1/0/1(R) S 32768 1

GE1/0/2 S 32768 1

GE1/0/3 S 32768 1

以上信息表明,聚合组1为负载分担类型的二层静态聚合组,包含有三个选中端口。

. 二层动态聚合配置组网图

ALL交换机聚合_优先级_02


配置步骤

配置Device A

# 创建VLAN 10,并将端口GigabitEthernet1/0/4加入到该VLAN中。

<DeviceA> system-view

[DeviceA] vlan 10

[DeviceA-vlan10] port gigabitethernet 1/0/4

[DeviceA-vlan10] quit

# 创建VLAN 20,并将端口GigabitEthernet1/0/5加入到该VLAN中。

[DeviceA] vlan 20

[DeviceA-vlan20] port gigabitethernet 1/0/5

[DeviceA-vlan20] quit

# 创建二层聚合接口1,并配置该接口为动态聚合模式。

[DeviceA] interface bridge-aggregation 1

[DeviceA-Bridge-Aggregation1] link-aggregation mode dynamic

[DeviceA-Bridge-Aggregation1] quit

# 分别将端口GigabitEthernet1/0/1GigabitEthernet1/0/3加入到聚合组1中。

[DeviceA] interface gigabitethernet 1/0/1

[DeviceA-GigabitEthernet1/0/1] port link-aggregation group 1

[DeviceA-GigabitEthernet1/0/1] quit

[DeviceA] interface gigabitethernet 1/0/2

[DeviceA-GigabitEthernet1/0/2] port link-aggregation group 1

[DeviceA-GigabitEthernet1/0/2] quit

[DeviceA] interface gigabitethernet 1/0/3

[DeviceA-GigabitEthernet1/0/3] port link-aggregation group 1

[DeviceA-GigabitEthernet1/0/3] quit

# 配置二层聚合接口1Trunk端口,并允许VLAN 1020的报文通过。

[DeviceA] interface bridge-aggregation 1

[DeviceA-Bridge-Aggregation1] port link-type trunk

[DeviceA-Bridge-Aggregation1] port trunk permit vlan 10 20

[DeviceA-Bridge-Aggregation1] quit

配置Device B

Device B的配置与Device A相似,配置过程略。

4. 验证配置

# 查看Device A上所有聚合组的详细信息。

[DeviceA] display link-aggregation verbose



1.配置口优先级。

link-aggregation port-priority priority

缺省情况下,端口优先级为32768


2.全局配置LACP的系统优先级。

lacp system-priority priority

缺省情况下,LACP的系统优先级为32768

配置步骤

(1) 进入系统视图。

system-view

(2) 配置全局的LACP的系统MAC地址。

lacp system-mac mac-address

缺省情况下,LACP的系统MAC地址为设备的桥MAC地址。

(3) 配置全局的LACP的系统优先级。

lacp system-priority priority

缺省情况下,LACP的系统优先级为32768

(4) 进入聚合接口视图。

进入二层聚合接口视图。

interface bridge-aggregation interface-number

进入三层聚合接口视图。

interface route-aggregation interface-number

(5) 配置聚合接口的LACP的系统MAC地址。

port lacp system-mac mac-address

缺省情况下,LACP的系统MAC地址为设备的桥MAC地址。

(6) 配置聚合接口的LACP的系统优先级。

port lacp system-priority priority

缺省情况下,LACP的系统优先级为32768






以上是关于ALL交换机聚合的主要内容,如果未能解决你的问题,请参考以下文章

如何在华为交换机上实现链路聚合

H3C和CISCO交换机做聚合配置实例教学

谁能说下h3c交换机链路聚合配置

通讯聚合类Chrome 扩展:All-in-One Messenger,把主流聊天服务聚合在一个应用窗口内

通讯聚合类Chrome 扩展:All-in-One Messenger,把主流聊天服务聚合在一个应用窗口内

思科链路聚合技术