---
title: （可选）恢复环境
description: "在所有测试结束后，取消Bond4和已使能的特性，恢复环境。"
url: https://www.hikunpeng.com/document/detail/zh/boostdb/systemcollaborativeoptimization/dso/kunpeng_redis_dlj_zn_64_011.html
sourcePath: /source/zh/boostdb/systemcollaborativeoptimization/dso/kunpeng_redis_dlj_zn_64_011.html
indexId: e6d8c8757e93caf2aa7e34583a9f06989146ab575e8134cf23b8ae29a309dd2187
---
# （可选）恢复环境

在所有测试结束后，取消Bond4和已使能的特性，恢复环境。

#### 交换机侧取消Bond4

1. 登录交换机。
2. 删除interface eth-trunk 12。
  1 2 3 4 5 6 7 8 9 10 system-view interface eth-trunk 12 undo trunkport 25GE 1/0/33 undo trunkport 25GE 1/0/34 commit quit undo interface eth-trunk 12 commit quit


#### Server端取消Bond4

1. 登录Server端。
2. 停用绑定的连接。
  1 2 3 nmcli con down bond-slave-eth1 nmcli con down bond-slave-eth2 nmcli con down bond4

3. 从Bond中移除物理接口。
  1 2 nmcli con delete bond-slave-eth1 nmcli con delete bond-slave-eth2

4. 删除Bond4连接。
  1 nmcli con delete bond4

5. 恢复备份的eth1网卡和eth2网卡的配置文件。
  1 2 3 4 5 cd /etc/sysconfig/network-scripts mv ifcfg-eth1.bak ifcfg-eth1 mv ifcfg-eth2.bak ifcfg-eth2 ifup eth1 ifup eth2


#### Server端取消分域调度特性

1. 登录Server端。
2. 关闭分域调度特性功能。
  1 echo NO_SOFT_DOMAIN > /sys/kernel/debug/sched_features
