Page MenuHomeVyOS Platform

SNMPv3 tsm Warning: Unknown token: localCert
Closed, WontfixPublicBUG

Description

While rewriting the SNMPv3 components as XML/Python I stumbled upon this while testing:

Setting in SNMPv3 set service snmp v3 tsm local-key '01:23:45:67:AF:AB:AF:FE:44:44:44:44:55:66:77:88:99:00:22:22' results in:

Jun  3 19:26:27 LR2 snmpd[7144]: /etc/snmp/snmpd.conf: line 22: Warning: Unknown token: localCert.
Jun  3 19:26:27 LR2 snmpd[7144]: /etc/snmp/snmpd.conf: line 32: Error: snmpd: failed to parse this line.
Jun  3 19:26:27 LR2 snmpd[7144]: net-snmp: 1 error(s) in config file(s)
Jun  3 19:26:27 LR2 snmpd[7144]: getaddrinfo: tlstcp Temporary failure in name resolution
Jun  3 19:26:27 LR2 snmpd[7144]: getaddrinfo("tlstcp", NULL, ...): Temporary failure in name resolution
Jun  3 19:26:27 LR2 snmpd[7144]: Error opening specified endpoint "tlstcp:10161"
Jun  3 19:26:27 LR2 snmpd[7144]: Server Exiting with code 1

Details

Difficulty level
Unknown (require assessment)
Version
1.2.0-rolling+201806010337
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Related Objects

Event Timeline

Interesting. Perhaps the config format has changed in newer versions? What do the docs say?

syncer triaged this task as Normal priority.Jun 10 2018, 2:27 AM
pasik added a subscriber: pasik.Mar 12 2019, 6:13 PM

The syntax was changed. VyOS 1.3-rolling-202007270117
I don't find "tsm" option

vyos@r1-roll# set service snmp v3 
Possible completions:
   engineid     Specifies the EngineID that uniquely identify an agent (e.g. 000000000000000000000002)
+> group        Specifies the group with name groupname
+> trap-target  Defines SNMP target for inform or traps for IP
+> user         Specifies the user with name username
+> view         Specifies the view with name viewname
c-po added a comment.Thu, Jul 30, 9:04 PM

TSM support has been droppen in 1.3

c-po closed this task as Wontfix.Thu, Jul 30, 9:04 PM
c-po set Is it a breaking change? to Unspecified (possibly destroys the router).
c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus board.Mon, Aug 3, 2:12 PM