Page MenuHomePhabricator

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?
Perfectly compatible

Event Timeline

c-po created this task.Oct 16 2019, 8:47 AM
pasik added a subscriber: pasik.Wed, Oct 16, 9:00 PM
c-po changed the status of subtask T818: SNMP v3 - remove required engineid from user node from Open to In progress.Tue, Oct 22, 1:21 PM
c-po claimed this task.Sat, Oct 26, 10:59 PM
c-po changed the task status from Open to Backport pending.Sun, Oct 27, 3:08 AM
c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus board.
c-po changed the status of subtask T818: SNMP v3 - remove required engineid from user node from In progress to Backport pending.
c-po closed this task as Resolved.Mon, Oct 28, 4:36 AM