Description

During an upgrade from 22.4R2-S2 -> 22.4R3, below error is observed.

 

Hardware Database regeneration succeeded

Validating against /config/juniper.conf.gz

<output>

[edit forwarding-options port-mirroring family inet6 output interface]

 'gr-0/0/0.0'

  An interface configured as family inet6 only can be configured as output interface

</output>

mgd: error: commit failed: (statements constraint check failed)

Validation failed

ERROR: Failed to add /var/tmp/junos-vmhost-install-mx-x86-64-22.4R3.25.tgz

da0 at vtscsi0 bus 0 scbus2 target 0 lun 0

da0: <QEMU QEMU HARDDISK 2.5+> detached

(da0:vtscsi0:0:0:0): Periph destroyed

warning: Host software installation has failed.

 

Solution

This issue is seen due to incorrect configuration where interface family is "inet" whereas forwarding-options port-mirroring is configured with family inet6.

After fixing the config, no more error is observed.


Ex:

set interfaces gr-0/0/0 unit 0 family inet address 192.168.50.1/30
set forwarding-options port-mirroring family inet6 output interface gr-0/0/0

To fix this issue, configured family inet6 for the interface:

set interfaces gr-0/0/0 unit 0 family inet6 address 2a0b:5f00:0:1::49/127

This error is expected due to enhancement in PR 1729028 which will throw error for invalid CLI.

 

Modification History

2024-05-22 : Article Created