鲲鹏社区首页
中文
注册
我要评分
文档获取效率
文档正确性
内容完整性
文档易理解
在线提单
论坛求助

(可选)恢复环境

在所有测试结束后,取消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
    rmmod oenetcls