Description

For Juniper Networks EX2300/EX3400 Series Switches, the CLI might not be accessible after doing a switch reset such as deleting the entire configuration and a subsequent reboot. This problem might occur for some new, out-of-the-box devices as well. 

Symptoms

The following issue will be observed for the affected units:

The switch will be in Linecard (LC) mode, (this is not expected for a standalone device, only for Virtual Chassis participating devices) and every time there is an attempt to enter the CLI, a core dump will be generated as shown below:
root@:LC:0% cli
Mar 11 07:07:40 login: login_getclass: unknown class 'junos-login-defaults'
Segmentation fault (core dumped)
root@: LC:0%

Solution

As a workaround, delete the render.db file and then do a mgd -I and reboot as shown below:
% rm -f /var/rundb/render.db
% mgd -I
% reboot
Note: The outputs above are from the device shell prompt since it is expected to be at this prompt.

The steps above fixed the issue.

Modification History

2023-04-10: Modified visibility.