To avoid upgrading failure due to freebsd version difference from target Junos release, "no-validate" option selected .
This will bypass configuration validation, if there is configuration is not compatible with the target release, will result as partial configuration activated after upgrading reboot.
Creating initial configuration: ...
<output>
[edit services flow-monitoring version-ipfix template mpls tunnel-observation]
'ipv4'
Tunnel observation must be set to ipv4 only for mpls template
'ipv6'
Tunnel observation must be set to ipv6 only for mpls template
[edit services flow-monitoring version-ipfix template mpls]
'tunnel-observation'
Tunnel observation must be configured only for ipv4,mpls and mpls-ipvx templates
</output>
mgd: error: commit failed: (statements constraint check failed)
Warning: Failed to commit active configuration.
Warning: Trying to commit recovery mode configuration.
mgd: error: Unable to find the rescue configuration file: /config/rescue.conf
Warning: Commit failed, activating partial configuration.
Warning: Edit the router configuration to fix these errors.
lab@router# show services flow-monitoring
flow-monitoring {
version-ipfix {
template mpls {
nexthop-learning {
enable;
}
template-refresh-rate {
seconds 600;
mpls-ipv4-template; <<<<<<<<<<<<<<< replace mpls-ipv4-template with mpls-template
##
## Warning: Tunnel observation must be configured only for ipv4,mpls and mpls-ipvx templates
tunnel-observation {
## Warning: Tunnel observation must be set to ipv4 only for mpls template
ipv4;
## Warning: Tunnel observation must be set to ipv6 only for mpls template
ipv6;
Configuration modified as:
lab@router# show services
template ipv4 {
ipv4-template;
mpls-template;
Then commit.