Difference between revisions of "Changing LACP timeout"
From Lsdf
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: |
|
+ | Whis this change both all HPSS Hosts and SCC-Switches do have the same timeout. |
||
<pre> |
<pre> |
||
+ | 1. Backup ifcfg-bond0 file |
||
− | 1. [root@hpssmvr04 ]# cd /etc/sysconfig/network-scripts/ |
||
+ | ssh_all "cp /etc/sysconfig/network-scripts/ifcfg-bond0 /etc/sysconfig/network-scripts/ifcfg-bond0.20141105" |
||
+ | 2. set lacp_rate=0 |
||
− | 2. [root@hpssmvr04 network-scripts]# grep -i lacp ifcfg-bond0 |
||
+ | ssh_all "sed -i 's/lacp_rate=1/lacp_rate=0/' /etc/sysconfig/network-scripts/ifcfg-bond0" |
||
− | |||
− | BONDING_OPTS="mode=802.3ad xmit_hash_policy=layer3+4 lacp_rate=1 miimon=100 |
||
+ | 3. restart network Interface |
||
− | 3. set lacp_rate=0 |
||
+ | ssh_all "ip l s dev bond0 down" |
||
− | |||
+ | ssh_all "ip l s dev bond0 up" |
||
− | 4. Restart Netzwerk-Interface. |
||
</pre> |
</pre> |
Revision as of 12:35, 5 November 2014
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: Whis this change both all HPSS Hosts and SCC-Switches do have the same timeout.
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"