---
title: 交换机配置bond
description: "在所有节点上配置、使能bond提升网络带宽，本章节以ceph1节点为例进行配置说明。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengsdss/ecosystemEnable/Ceph/kunpengcephobject_DG_Ubuntu_04_0038.html
sourcePath: /source/zh/kunpengsdss/ecosystemEnable/Ceph/kunpengcephobject_DG_Ubuntu_04_0038.html
indexId: f1dfc1a19f1aa15f80beff120aa8cd728a0c5757352a7d9acad9b3f7a7df8e2f84
---
# 交换机配置bond

在所有节点上配置、使能bond提升网络带宽，本章节以ceph1节点为例进行配置说明。

1. 登录交换机，执行以下命令进入交互模式。
  1 system-view

2. 查看网口信息。
  1 display interface brief

3. 清除需要组bond口的网口配置。
  1 2 3 int 25GE1/0/23 #or interface 25GE1/0/23 clear configuration this q

4. 交换机组bond/trunk。
  1 2 3 4 5 6 int eth-trunk ${id} #or interface ${id} mode lacp-static trunkport 25GE1/0/23 # 替换为对应的网口 trunkport 25GE1/0/26 # 替换为对应的网口 commit q #退出

5. 查看bond信息。
  1 d in eth-trunk32 #or display interface ${id}

6. 重复1~5，配置所有节点需要组bond的网络端口。
