Junos OS

last person joined: 3 days ago 

Ask questions and share experiences about Junos OS.
  • 1.  the m7i ssh and ntp issue

    Posted 05-27-2011 17:17

    Hi,all,I want to config ssh on my m7i,however,there is a warning,as:

         [edit system services ssh]

      'ssh'   

    warning: daemon binary /usr/sbin/sshd not foundcommit complete

    what happen?

    and I want to check the ntp status,junos said "time out",as:

    M7-1# run show ntp status        

     localhost: timed out, nothing received

    ***Request timed out

    however,I can upgrade the ntp status by the command:

    M7-1# run set date ntp 10.44.2.81 source-address 10.44.2.243 26

    May 17:48:14 ntpdate[28176]: step time server 10.44.2.81 offset -0.000603 sec

     

    M7-1# show system ntp   

    server 10.44.2.81 version 4;

    source-address 10.44.2.243;

    Anything wrong with my ntp server and the config of ntp?

     

    Thank you very much!

     




  • 2.  RE: the m7i ssh and ntp issue

    Posted 05-27-2011 23:11

    Are you using JUNOS-WW?  Might try using the domestic version.



  • 3.  RE: the m7i ssh and ntp issue

    Posted 05-29-2011 04:10

    Hi,the JUNOS is not the " domestic version",however,the other one M7i can use the SSH,can I do anything make me use the SSH?thank you.



  • 4.  RE: the m7i ssh and ntp issue

    Posted 05-29-2011 22:08

    Hi,I have checked it again,I found that you are right.However,why the ntp request time out?thank you.



  • 5.  RE: the m7i ssh and ntp issue

     
    Posted 05-29-2011 23:22

    Hi,

     

    ntp always seems to have some fun with localhost: We came across an issue where:

     

    # show system static-host-mapping

    localhost inet 127.0.0.1;

     

    was needed to get around another one like this, maybe worth giving it a shot here too?!

     

    Or do you happen to have a FWF configured on lo0.x that would prevent local communication (for ntp)? If possible try to deactive this briefly.

     

    Best Regards

     

    Ulf



  • 6.  RE: the m7i ssh and ntp issue

    Posted 05-30-2011 20:09
      |   view attached

    hi,Ulf,

    I checked the config,I am not found the localhost inet 127.0.0.1,and there is a firewall filter on lo0,you can see it in file.

    thank you.

     

    Attachment(s)

    txt
    NTP.txt   2 KB 1 version


  • 7.  RE: the m7i ssh and ntp issue
    Best Answer

     
    Posted 05-31-2011 05:20