Cannot change BGP peer-group local-role

I am trying to change the local-role in a peer-group but I get the following errors:

vmakris@igoum-gw-01:~$ show configuration commands | grep peer-group
set protocols bgp neighbor 10.88.88.255 peer-group 'FAST'
set protocols bgp peer-group FAST capability dynamic
set protocols bgp peer-group FAST graceful-restart 'enable'
set protocols bgp peer-group FAST local-role rs-client
set protocols bgp peer-group FAST password 'F@st123!'
set protocols bgp peer-group FAST remote-as '211186'
set protocols bgp peer-group FAST update-source '10.88.88.2'
vmakris@igoum-gw-01:~$ configure 
[edit]
vmakris@igoum-gw-01# set protocols bgp peer-group FAST local-role rs-server
[edit]
vmakris@igoum-gw-01# compare 
[protocols bgp peer-group FAST local-role]
+ rs-server

[edit]
vmakris@igoum-gw-01# commit

Only one local role can be specified for peer "FAST"!

[[protocols bgp]] failed
Commit failed
[edit]
vmakris@igoum-gw-01# delete protocols bgp peer-group FAST local-role rs-client
[edit]
vmakris@igoum-gw-01# commit

Failed to execute router bgp 211186  no neighbor 10.88.88.255 local-role
rs-client exit "router bgp 211186 --  no neighbor 10.88.88.255 local-
role rs-client -- exit" we failed to remove this command % External
roles can be set only on eBGP session  [17314|mgmtd] sending
configuration [17315|zebra] sending configuration [17316|ripd] sending
configuration [17318|ospfd] sending configuration [17317|ripngd] sending
configuration [17321|bgpd] sending configuration [17320|ldpd] sending
configuration [17319|ospf6d] sending configuration [17322|isisd] sending
configuration [17326|babeld] sending configuration Waiting for children
to finish applying config... [17331|staticd] sending configuration
[17335|pim6d] sending configuration [17329|watchfrr] sending
configuration [17332|bfdd] sending configuration [17314|mgmtd] done
[17320|ldpd] done [17316|ripd] done [17322|isisd] done [17317|ripngd]
done [17315|zebra] done [17321|bgpd] done [17335|pim6d] done
[17326|babeld] done [17319|ospf6d] done [17331|staticd] done
[17318|ospfd] done [17329|watchfrr] done [17332|bfdd] done [17339|mgmtd]
sending configuration [17340|zebra] sending configuration [17341|ripd]
sending configuration [17343|ospfd] sending configuration [17342|ripngd]
sending configuration [17344|ospf6d] sending configuration [17345|ldpd]
sending configuration [17346|bgpd] sending configuration [17347|isisd]
sending configuration [17351|babeld] sending configuration
[17354|watchfrr] sending configuration Waiting for children to finish
applying config... [17360|pim6d] sending configuration [17339|mgmtd]
done [17356|staticd] sending configuration [17357|bfdd] sending
configuration [17343|ospfd] done [17341|ripd] done [17342|ripngd] done
[17360|pim6d] done [17340|zebra] done [17345|ldpd] done [17344|ospf6d]
done [17347|isisd] done [17354|watchfrr] done [17351|babeld] done
[17356|staticd] done [17357|bfdd] done [17346|bgpd] done

[[protocols bgp]] failed
Commit failed
[edit]
vmakris@igoum-gw-01# 

Thanks in advance!
Vangelis

Did you try delete old role and create a new?
Can you open a bug report?

Hello,
Yes, nothing seems to be working. I had to remove the whole BGP config and reconfigure it in order to manage to change it…

[edit]
vmakris@igoum-gw-01# delete protocols bgp peer-group FAST local-role rs-client
[edit]
vmakris@igoum-gw-01# compare
[protocols bgp peer-group FAST]
- local-role rs-client {
- }

[edit]
vmakris@igoum-gw-01# commit

Failed to execute router bgp 211186  no neighbor 10.88.88.255 local-role
rs-client exit "router bgp 211186 --  no neighbor 10.88.88.255 local-
role rs-client -- exit" we failed to remove this command % External
roles can be set only on eBGP session  [28242|mgmtd] sending
configuration [28243|zebra] sending configuration [28244|ripd] sending
configuration [28246|ospfd] sending configuration [28245|ripngd] sending
configuration [28248|ldpd] sending configuration [28247|ospf6d] sending
configuration [28249|bgpd] sending configuration [28250|isisd] sending
configuration [28257|watchfrr] sending configuration [28254|babeld]
sending configuration [28259|staticd] sending configuration Waiting for
children to finish applying config... [28260|bfdd] sending configuration
[28242|mgmtd] done [28263|pim6d] sending configuration [28245|ripngd]
done [28244|ripd] done [28246|ospfd] done [28249|bgpd] done
[28243|zebra] done [28248|ldpd] done [28257|watchfrr] done
[28254|babeld] done [28247|ospf6d] done [28250|isisd] done [28260|bfdd]
done [28263|pim6d] done [28259|staticd] done [28267|mgmtd] sending
configuration [28268|zebra] sending configuration [28269|ripd] sending
configuration [28271|ospfd] sending configuration [28270|ripngd] sending
configuration [28273|ldpd] sending configuration [28274|bgpd] sending
configuration [28272|ospf6d] sending configuration [28275|isisd] sending
configuration [28279|babeld] sending configuration [28285|bfdd] sending
configuration [28284|staticd] sending configuration [28282|watchfrr]
sending configuration Waiting for children to finish applying config...
[28288|pim6d] sending configuration [28272|ospf6d] done [28268|zebra]
done [28270|ripngd] done [28271|ospfd] done [28267|mgmtd] done
[28269|ripd] done [28274|bgpd] done [28284|staticd] done [28273|ldpd]
done [28275|isisd] done [28288|pim6d] done [28279|babeld] done
[28282|watchfrr] done [28285|bfdd] done

[[protocols bgp]] failed
Commit failed
[edit]
vmakris@igoum-gw-01# 

I will open a bug report.
Thanks!

1 Like