H3C交换机_典型配置举例-6W100-以太网链路聚合典型配置举例
合集下载
相关主题
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
i
1 链路聚合典型配置举例
1.1 简介
本章介绍链路聚合实现两设备间流量在聚合组中各个选中端口之间分担,以增加带宽的方法。
1ຫໍສະໝຸດ Baidu2 二层链路聚合配置举例
1.2.1 适用产品和版本
表1 配置适用的产品与软件版本关系
产品 S10500系列以太网交换机 S5800&S5820X系列以太网交换机 S5830系列以太网交换机 S5500-EI&S5500-SI系列以太网交换机
• 只有工作在二层模式下的端口才能加入二层链路聚合组。
1.2.5 配置步骤
1. Switch A的配置 # 进入系统视图,并配置全局按照报文的源 MAC 地址和目的 MAC 地址进行聚合负载分担。
<SwitchA> system-view [SwitchA] link-aggregation load-sharing mode source-mac destination-mac
• 由于静态聚合组中端口选中状态不受对端端口是否在聚合组中及是否处于选中状态的影响。这 样有可能导致两端设备所确定的 Selected 状态端口不一致,当两端都支持配置静态和动态聚 合组的情况下,建议用户优选动态聚合组。
• 配置或使能了下列功能的端口将不能加入二层聚合组:RRPP、MAC 地址认证、端口安全模 式、IP Source Guard 功能、802.1X 功能以及 Portal 免认证规则源接口。
• 配置聚合组的成员端口过程中,建议配置顺序:在端口视图下使用 display this 命令查看端口 上是否存在第二类配置(包括端口隔离配置、QinQ 配置、VLAN 配置、MAC 地址学习配置), 如果有这类配置,请使用对应的 undo 命令删除这些配置,使端口保持在缺省第二类配置状态, 然后再把端口加入到新创建的聚合组内。
软件版本 Release 1120系列,Release 1130系列,Release 1200系列 Release 1808 Release 1115,Release 1118 Release 2220
1.2.2 组网需求
如图 1所示,网络中的两台设备均参与两个VLAN的数据流量转发。现要求使用链路聚合特性实现以 下需求: • 两设备上相同 VLAN 可以互通。 • 两设备间的数据流量按照报文的源 MAC 地址和目的 MAC 地址进行负载分担。 图1 二层链路聚合配置示例图
# 创建 VLAN 10,并将端口 GigabitEthernet1/0/4 加入到该 VLAN 10 中。
[SwitchA] vlan 10 [SwitchA-vlan10] port gigabitethernet 1/0/4 [SwitchA-vlan10] quit
# 创建 VLAN 20,并将端口 GigabitEthernet1/0/5 加入到该 VLAN 20 中。
1.2.3 配置思路
• 要使 VLAN 10 与 VLAN 20 的数据流量均能通过二层聚合接口 1,须配置二层聚合接口的链路 类型为 Trunk 端口,并允许 VLAN 10 和 VLAN 20 的报文通过。
1-1
• 全局和二层聚合接口下均可以配置聚合组的负载分担类型,此例采用在全局下配置。
1.2.4 配置注意事项
目录
1 链路聚合典型配置举例······················································································································· 1-1 1.1 简介 ···················································································································································1-1 1.2 二层链路聚合配置举例 ······················································································································1-1 1.2.1 适用产品和版本 ······················································································································1-1 1.2.2 组网需求 ·································································································································1-1 1.2.3 配置思路 ·································································································································1-1 1.2.4 配置注意事项 ··························································································································1-2 1.2.5 配置步骤 ·································································································································1-2 1.2.6 验证配置 ·································································································································1-3 1.2.7 配置文件 ·································································································································1-4 1.3 二层聚合负载分担配置举例···············································································································1-5 1.3.1 适用产品和版本 ······················································································································1-5 1.3.2 组网需求 ·································································································································1-5 1.3.3 配置思路 ·································································································································1-6 1.3.4 配置注意事项 ··························································································································1-6 1.3.5 配置步骤 ·································································································································1-6 1.3.6 验证配置 ·································································································································1-7 1.3.7 配置文件 ·································································································································1-8 1.4 三层链路聚合配置举例 ······················································································································1-9 1.4.1 适用产品和版本 ······················································································································1-9 1.4.2 组网需求 ·······························································································································1-10 1.4.3 配置思路 ·······························································································································1-10 1.4.4 配置注意事项 ························································································································1-10 1.4.5 配置步骤 ·······························································································································1-10 1.4.6 验证配置 ·······························································································································1-11 1.4.7 配置文件 ·······························································································································1-12
1 链路聚合典型配置举例
1.1 简介
本章介绍链路聚合实现两设备间流量在聚合组中各个选中端口之间分担,以增加带宽的方法。
1ຫໍສະໝຸດ Baidu2 二层链路聚合配置举例
1.2.1 适用产品和版本
表1 配置适用的产品与软件版本关系
产品 S10500系列以太网交换机 S5800&S5820X系列以太网交换机 S5830系列以太网交换机 S5500-EI&S5500-SI系列以太网交换机
• 只有工作在二层模式下的端口才能加入二层链路聚合组。
1.2.5 配置步骤
1. Switch A的配置 # 进入系统视图,并配置全局按照报文的源 MAC 地址和目的 MAC 地址进行聚合负载分担。
<SwitchA> system-view [SwitchA] link-aggregation load-sharing mode source-mac destination-mac
• 由于静态聚合组中端口选中状态不受对端端口是否在聚合组中及是否处于选中状态的影响。这 样有可能导致两端设备所确定的 Selected 状态端口不一致,当两端都支持配置静态和动态聚 合组的情况下,建议用户优选动态聚合组。
• 配置或使能了下列功能的端口将不能加入二层聚合组:RRPP、MAC 地址认证、端口安全模 式、IP Source Guard 功能、802.1X 功能以及 Portal 免认证规则源接口。
• 配置聚合组的成员端口过程中,建议配置顺序:在端口视图下使用 display this 命令查看端口 上是否存在第二类配置(包括端口隔离配置、QinQ 配置、VLAN 配置、MAC 地址学习配置), 如果有这类配置,请使用对应的 undo 命令删除这些配置,使端口保持在缺省第二类配置状态, 然后再把端口加入到新创建的聚合组内。
软件版本 Release 1120系列,Release 1130系列,Release 1200系列 Release 1808 Release 1115,Release 1118 Release 2220
1.2.2 组网需求
如图 1所示,网络中的两台设备均参与两个VLAN的数据流量转发。现要求使用链路聚合特性实现以 下需求: • 两设备上相同 VLAN 可以互通。 • 两设备间的数据流量按照报文的源 MAC 地址和目的 MAC 地址进行负载分担。 图1 二层链路聚合配置示例图
# 创建 VLAN 10,并将端口 GigabitEthernet1/0/4 加入到该 VLAN 10 中。
[SwitchA] vlan 10 [SwitchA-vlan10] port gigabitethernet 1/0/4 [SwitchA-vlan10] quit
# 创建 VLAN 20,并将端口 GigabitEthernet1/0/5 加入到该 VLAN 20 中。
1.2.3 配置思路
• 要使 VLAN 10 与 VLAN 20 的数据流量均能通过二层聚合接口 1,须配置二层聚合接口的链路 类型为 Trunk 端口,并允许 VLAN 10 和 VLAN 20 的报文通过。
1-1
• 全局和二层聚合接口下均可以配置聚合组的负载分担类型,此例采用在全局下配置。
1.2.4 配置注意事项
目录
1 链路聚合典型配置举例······················································································································· 1-1 1.1 简介 ···················································································································································1-1 1.2 二层链路聚合配置举例 ······················································································································1-1 1.2.1 适用产品和版本 ······················································································································1-1 1.2.2 组网需求 ·································································································································1-1 1.2.3 配置思路 ·································································································································1-1 1.2.4 配置注意事项 ··························································································································1-2 1.2.5 配置步骤 ·································································································································1-2 1.2.6 验证配置 ·································································································································1-3 1.2.7 配置文件 ·································································································································1-4 1.3 二层聚合负载分担配置举例···············································································································1-5 1.3.1 适用产品和版本 ······················································································································1-5 1.3.2 组网需求 ·································································································································1-5 1.3.3 配置思路 ·································································································································1-6 1.3.4 配置注意事项 ··························································································································1-6 1.3.5 配置步骤 ·································································································································1-6 1.3.6 验证配置 ·································································································································1-7 1.3.7 配置文件 ·································································································································1-8 1.4 三层链路聚合配置举例 ······················································································································1-9 1.4.1 适用产品和版本 ······················································································································1-9 1.4.2 组网需求 ·······························································································································1-10 1.4.3 配置思路 ·······························································································································1-10 1.4.4 配置注意事项 ························································································································1-10 1.4.5 配置步骤 ·······························································································································1-10 1.4.6 验证配置 ·······························································································································1-11 1.4.7 配置文件 ·······························································································································1-12