<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">tag:
type: txt
help: Defines SNMP target for inform or traps for IP
syntax:expression: exec "/opt/vyatta/sbin/valid_address $VAR(@)/20"
commit:expression: $VAR(type/) != ""; "must specify type"
commit:expression: $VAR(auth/) != ""; "must specify auth"
commit:expression: $VAR(protocol/) != ""; "must specify protocol"
commit:expression: $VAR(user/) != ""; "must specify user"
commit:expression: $VAR(port/) != ""; "must specify port"
commit:expression: $VAR(type/@) == "inform" || ( $VAR(type/@) == "trap" &amp;&amp; $VAR(engineid/) != "" ); \
  "must specify engineid if type is 'trap'"

val_help: &lt;x.x.x.x&gt;; IP address of trap target
val_help: &lt;h:h:h:h:h:h:h:h&gt;; IPv6 address of trap target</pre></body></html>