For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

BJ_114988's avatar
BJ_114988
Icon for Nimbostratus rankNimbostratus
Jul 02, 2015

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

  • 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.

     

  • 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.