QoS policy shaper-hfsc class does not have a bandwidth node but requires one in the check.
set qos policy shaper-hfsc SHAPE-10mbit bandwidth '10mbit' set qos policy shaper-hfsc SHAPE-10mbit class 10 match MARK mark '10' set qos policy shaper-hfsc SHAPE-10mbit class 10 upperlimit m1 '10mbit' set qos interface eth0 egress SHAPE-10mbit
Commit:
vyos@r4# commit Bandwidth must be defined for policy "SHAPE-10mbit" class "10"! [[qos]] failed Commit failed [edit] vyos@r4# vyos@r4# set qos policy shaper-hfsc SHAPE-10mbit class 10 Possible completions: description Description > linkshare Linkshare class settings +> match Class matching rule name > realtime Realtime class settings > upperlimit Upperlimit class settings [edit] vyos@r4#