Changing LACP timeout: Difference between revisions

From Lsdf
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
How to change the LACP Timeout?
How to change the LACP Timeout?


Here the Step how to change the the LACP timeout from 3 sec to 30 sec as requested by the NET department at KIT-SCC:
Here are Steps how to change the the LACP timeout from 3 sec to 30 sec as requested by the NET department at KIT-SCC.

Whis this change both all HPSS Hosts and SCC-Switches do have the same timeout.
With this change now all-HPSS Hosts have the same timeout setting as the SCC-Switches.


<pre>
<pre>
Line 8: Line 9:
1. Backup ifcfg-bond0 file
1. Backup ifcfg-bond0 file
ssh_all "cp /etc/sysconfig/network-scripts/ifcfg-bond0 /etc/sysconfig/network-scripts/ifcfg-bond0.20141105"
ssh_all "cp /etc/sysconfig/network-scripts/ifcfg-bond0 /etc/sysconfig/network-scripts/ifcfg-bond0.20141105"



2. set lacp_rate=0
2. set lacp_rate=0

ssh_all "sed -i 's/lacp_rate=1/lacp_rate=0/' /etc/sysconfig/network-scripts/ifcfg-bond0"
ssh_all "sed -i 's/lacp_rate=1/lacp_rate=0/' /etc/sysconfig/network-scripts/ifcfg-bond0"


3. restart network Interface
3. restart network Interface

ssh_all "ip l s dev bond0 down"
ssh_all "ip l s dev bond0 down"
ssh_all "ip l s dev bond0 up"
ssh_all "ip l s dev bond0 up"

Revision as of 12:38, 5 November 2014

How to change the LACP Timeout?

Here are Steps how to change the the LACP timeout from 3 sec to 30 sec as requested by the NET department at KIT-SCC.

With this change now all-HPSS Hosts have the same timeout setting as the SCC-Switches.


1. Backup ifcfg-bond0 file   
ssh_all "cp /etc/sysconfig/network-scripts/ifcfg-bond0 /etc/sysconfig/network-scripts/ifcfg-bond0.20141105"


2. set lacp_rate=0

ssh_all "sed -i 's/lacp_rate=1/lacp_rate=0/' /etc/sysconfig/network-scripts/ifcfg-bond0"

3. restart network Interface

ssh_all "ip l s dev bond0 down"
ssh_all "ip l s dev bond0 up"