我要评分
获取效率
正确性
完整性
易理解

(Optional) Canceling Bond4 Configuration

After all tests are complete, cancel bond4 configuration and restore the environment.

Canceling Bond4 Configuration on the Switch

  1. Log in to the switch.
  2. Delete the eth-trunk 12 interface.
     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
    

Canceling Bond4 Configuration on the Server

  1. Log in to the server.
  2. Disable the bound connections.
    1
    2
    3
    nmcli con down bond-slave-eth1 
    nmcli con down bond-slave-eth2 
    nmcli con down bond4
    
  3. Removes physical interfaces from the bond.
    1
    2
    nmcli con delete bond-slave-eth1 
    nmcli con delete bond-slave-eth2
    
  4. Delete the bond4 connection.
    1
    nmcli con delete bond4
    
  5. Restore the backup configuration files of the eth1 and eth2 NICs.
    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