Forum Discussion
What does replace-all-with command does in tmsh??
What does replace-all-with command does in tmsh??
for example : --
tmsh modify sys snmp traps replace-all-with { b4566b { version 1 community fgfhfkn6 !RR host "hgjghgjj" } }"
4 Replies
- Hannes_Rapp
Nimbostratus
Hi. This will remove all existing snmp traps, and replace with the new one(s) you define inside curly braces. Using the option "add" in place of "replace-all-with" will retain existing snmp traps, and append the ones you define inside curly braces.
- BJ_114988
Nimbostratus
Thanks hanns!!
- Hannes_Rapp_162
Nacreous
Hi. This will remove all existing snmp traps, and replace with the new one(s) you define inside curly braces. Using the option "add" in place of "replace-all-with" will retain existing snmp traps, and append the ones you define inside curly braces.
- BJ_114988
Nimbostratus
Thanks hanns!!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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
