Forum Discussion
VFB
Cirrus
May 23, 2014Adding source address perstince in TMOS
I'm trying to figure out how to add a source address profile to my VS and cannot see a clear cut way to doing it in TMOS. I'm trying to work on my command line skills. Any assistance would be great. ...
nitass
Employee
May 25, 2014e.g.
root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm virtual bar
ltm virtual bar {
destination 172.28.24.10:80
ip-protocol tcp
mask 255.255.255.255
pool foo
profiles {
tcp { }
}
source 0.0.0.0/0
source-address-translation {
type automap
}
vs-index 32
}
root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) modify ltm virtual bar persist replace-all-with { source_addr }
root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm virtual bar
ltm virtual bar {
destination 172.28.24.10:80
ip-protocol tcp
mask 255.255.255.255
persist {
source_addr {
default yes
}
}
pool foo
profiles {
tcp { }
}
source 0.0.0.0/0
source-address-translation {
type automap
}
vs-index 32
}
- VFBMay 25, 2014
Cirrus
thanks for the help. worked like a charm
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