Page MenuHomeVyOS Platform

Commit error received when modifying the prefix value for segment-routing protocol
Open, NormalPublicBUG

Description

When attempting to modify the prefix value under the segment-routing SRv6 locator configuration, a commit error occurs. However, deleting or re-reading the configuration is successful.
Commands to reproduce:

set protocols segment-routing interface eth0
set protocols segment-routing srv6 locator locl behavior-usid
set protocols segment-routing srv6 locator locl prefix '2001:db8::/64'

Modify line:

set protocols segment-routing srv6 locator locl prefix '2001:db8:1::/64'

Commit error:

vyos@vyos# compare
[protocols segment-routing srv6 locator locl]
- prefix "2001:db8::/64"
+ prefix "2001:db8:1::/64"

[edit]
vyos@vyos# commit
[ protocols segment-routing ]
Failed to execute segment-routing  srv6   no formats  exit exit
"segment-routing --  srv6 --   no formats --  exit -- exit" we failed to
remove this command % Unknown command:   no formats  [4897|zebra]
sending configuration [4896|mgmtd] sending configuration [4898|ripd]
sending configuration [4896|mgmtd] done [4901|ospf6d] sending
configuration [4899|ripngd] sending configuration [4902|ldpd] sending
configuration [4900|ospfd] sending configuration [4903|bgpd] sending
configuration [4901|ospf6d] done [4902|ldpd] done [4904|isisd] sending
configuration [4899|ripngd] done [4906|nhrpd] sending configuration
[4897|zebra] done [4903|bgpd] done [4900|ospfd] done [4904|isisd] done
[4898|ripd] done [4910|fabricd] sending configuration [4908|babeld]
sending configuration [4911|watchfrr] sending configuration [4906|nhrpd]
done [4908|babeld] done [4914|bfdd] sending configuration [4913|staticd]
sending configuration [4911|watchfrr] done [4910|fabricd] done
[4917|pim6d] sending configuration [4914|bfdd] done Waiting for children
to finish applying config... [4917|pim6d] done [4913|staticd] done
[4921|mgmtd] sending configuration [4922|zebra] sending configuration
[4924|ripngd] sending configuration [4923|ripd] sending configuration
[4925|ospfd] sending configuration [4923|ripd] done [4926|ospf6d]
sending configuration [4922|zebra] done [4921|mgmtd] done [4927|ldpd]
sending configuration [4925|ospfd] done [4928|bgpd] sending
configuration [4929|isisd] sending configuration [4924|ripngd] done
[4926|ospf6d] done [4929|isisd] done [4927|ldpd] done [4931|nhrpd]
sending configuration [4928|bgpd] done [4933|babeld] sending
configuration [4935|fabricd] sending configuration [4931|nhrpd] done
[4933|babeld] done [4935|fabricd] done [4936|watchfrr] sending
configuration [4938|staticd] sending configuration [4939|bfdd] sending
configuration [4936|watchfrr] done Waiting for children to finish
applying config... [4942|pim6d] sending configuration [4938|staticd]
done [4942|pim6d] done [4939|bfdd] done
[[protocols segment-routing]] failed
Commit failed
[edit]

Error snippet from 1.4.3 version:

image.png (233×595 px, 72 KB)

Details

Version
2025.10.28-0019-rolling,1.4.3, 1.5-stream-2025-Q1
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

SrividyaA triaged this task as Normal priority.