getting error when trying to set primary interface for existing bond :-
vyos@vyos:~$ show configuration commands | grep bond
set interfaces bonding bond2 hash-policy 'layer2'
set interfaces bonding bond2 mode '802.3ad'
set interfaces bonding bond3 hash-policy 'layer2+3'
set interfaces bonding bond3 mode '802.3ad'
set interfaces ethernet eth1 bond-group 'bond2'
set interfaces ethernet eth2 bond-group 'bond2'
set interfaces ethernet eth3 bond-group 'bond3'
vyos@vyos# set interfaces bonding bond2 primary 'eth1'
[
[ interfaces bonding bond2 primary eth1 ]
eth1 eth2
[ interfaces bonding bond2 primary eth1 ]
sh: line 0: echo: write error: Permission denied
interfaces bonding bond2 primary failed
Commit failed
[edit]
vyos@vyos:~$ show version
Version: VyOS 1.2.0-rolling+201905140337
Built by: [email protected]
Built on: Tue 14 May 2019 03:37 UTC
Build ID:
Architecture: x86_64