This article provides one of the possible solutions whenever the switch became unreachable after software upgrade.
The switch was upgraded from version 15.1X53 to version 21.2R1-S2 via SSH, and it became unreachable via SSH and does not respond to ping from remote end.
{master:0}[edit] user@switch# commit check [edit system archival] 'configuration' Missing mandatory statement: 'archive-sites' [edit vlans VLAN-NAME l3-interface] 'l3-interface irb.12' Interface must already be defined under [edit interfaces] [edit vlans VLAN-NAME2 l3-interface] 'l3-interface irb.11' Interface must already be defined under [edit interfaces] error: configuration check-out failed: (statements constraint check failed)
{master:0}[edit] user@switch# system archival configuration archive-sites "[email protected]/var/tmp/" {master:0}[edit] user@switch# set interfaces irb.11 family inet address 192.168.0.2/24 {master:0}[edit] user@switch# set interfaces irb.12 family inet address 192.168.0.3/24 {master:0}[edit] user@switch# commit check configuration check succeeds