In recent time, we had encountered an issue with not able to remote login into the Juniper Switch. While diagnosing EX Series Switch (one of the malfunctioning switch), we found there could be two things that would require re-configuration.
- No empty folder under /var:-
Create empty folder under /var directory. ( if not there)
- Check whether empty folder is there or not:-
{master:0}
user@switch> file list /var
/var:
crash/
cron/
db /
empty/>>>>>>>>>>>>>If not there,then create empty folder.
etc/
home/
log/
lost+found/
run/
rundb/
tmp/
- Enter shell with root login privileges
- Type below command to enter shell:-
{master:0}
user@switch> start shell user root
Password:
- Make a Folder Empty under var directory .
# mkdir /var/empty 1.5.Enter the “>” prompt by issuing below command:-
{master:0}
user@switch> start shell
%
% cli
{master:0}
user@switch>
1.6.Now, you shall be able to remote login into switch.