Page MenuHomeVyOS Platform

Copy SNMP configuration from node to node raises exception
Closed, ResolvedPublicBUG

Description

When configuring a node with SNMPv3 and copying the same configuration to another node an error is thrown:

Extract config from node A

show configuration commands | grep snmp

Apply configuration to node B

vyos@vyos# set service snmp v3 group default mode 'ro'
vyos@vyos# set service snmp v3 group default seclevel 'priv'
vyos@vyos# set service snmp v3 group default view 'default'
vyos@vyos# set service snmp v3 user snmpadmin auth encrypted-key '0x00aabbccddee'
vyos@vyos# set service snmp v3 user snmpadmin auth type 'sha'
vyos@vyos# set service snmp v3 user snmpadmin privacy encrypted-key '0x00aabbccddee'
vyos@vyos# set service snmp v3 user snmpadmin privacy type 'aes'
vyos@vyos# set service snmp v3 view default oid 1
vyos@vyos# commit
[ service snmp ]
Can not have "encrypted-key" without engineid

Details

Difficulty level
Normal (likely a few hours)
Version
1.2.3
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)