Forum Discussion
ShannonSeverijn
Nimbostratus
May 01, 2014SNAT objects and changing timeout's via tmsh script
Can you edit the objects in the container all at once instead of going one by one? We have tons of objects spanning across numerous nodes and I would hate to have to edit the timeouts on each and ev...
nitass
Employee
May 02, 2014this might not be the best way. Michael has written the following article on bigpipe. bigpipe is no longer available in 11.x but the concept is still applicable using tmsh.
BIG-IP and Merge File Configuration Changes by Michael Yates
https://devcentral.f5.com/articles/big-ip-and-merge-file-configuration-changes.U2MM01dhcdUe.g.
initial configuration
root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm snat-translation all-properties
ltm snat-translation 1.1.1.1 {
address 1.1.1.1
app-service none
arp enabled
connection-limit 0
description none
enabled
inherited-traffic-group true
ip-idle-timeout indefinite
partition Common
tcp-idle-timeout indefinite
traffic-group traffic-group-1
udp-idle-timeout indefinite
unit 1
}
modify by merging
root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) load sys config from-terminal merge
Enter configuration. Press CTRL-D to submit or CTRL-C to cancel.
ltm snat-translation 1.1.1.1 {
address 1.1.1.1
app-service none
arp enabled
connection-limit 0
description none
enabled
inherited-traffic-group true
ip-idle-timeout 300
partition Common
tcp-idle-timeout 300
traffic-group traffic-group-1
udp-idle-timeout 60
unit 1
}
Loading configuration...
root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm snat-translation
ltm snat-translation 1.1.1.1 {
address 1.1.1.1
ip-idle-timeout 300
tcp-idle-timeout 300
traffic-group traffic-group-1
udp-idle-timeout 60
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects