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” } }"

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.

Thanks hanns!!

Thanks hanns!!