Routing

last person joined: 2 days ago 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  How to know login name and password for telnet?

    Posted 01-20-2017 19:11

    Hi

    I can access router in vurtual lab via console, but when i try to access the router via telnet, it requests login name and password. how can I know both? or how to access it via telnet?  thank you



  • 2.  RE: How to know login name and password for telnet?
    Best Answer

    Posted 01-20-2017 19:28

    Hi,

     

    Can you please share more details, on which virtual lab you are referring to? Normally if you have the console access, what you can do is, just configure a new user account for telnet access and try using that account for telnet.

     

    For example:

    configure

    set system login user <username> class super-user authentication plain-text-password:

    New password: <enter the password here>

    commit

     

    Hope this helps

     

    Thanks

     

     



  • 3.  RE: How to know login name and password for telnet?

    Posted 01-20-2017 19:38

    Great! Thank you



  • 4.  RE: How to know login name and password for telnet?

     
    Posted 01-20-2017 20:29

    Hi Folks,

    That is true as Sarathi mentioned. Please find few more inserting tips!

     

    Minimum Configuration

    ---------------------

    set system login user lab uid 2001

    set system login user lab class super-user

    set system login user lab authentication encrypted-password <>

    set system services telnet

     

    Commands To verify

    ------------------

    lab> show system users  <<< to know the the user who logged in

     4:22AM  up 8 days, 23:25, 2 users, load averages: 0.00, 0.00, 0.00

    USER     TTY      FROM                              LOGIN@  IDLE WHAT

    root     u0       -                                12Jan17 8days cli          

    lab      p0       172.29.245.92                    4:22AM      - -cli (cli)   

     

    lab> show system connections inet | match 23 | match tcp

    tcp4       0      0  10.219.38.21.23                               172.29.245.92.52890                           ESTABLISHED <<<< the ip on which the telnet is sourced

    tcp4   65700      0  128.0.0.1.62885                               128.0.0.50.6023                               ESTABLISHED

    tcp4       0      0  *.23                                          *.*                                           LISTEN

    tcp4       0      0  128.0.0.1.6234                                128.0.0.50.40965                              ESTABLISHED

    tcp4       0      0  *.6234                                        *.*                                           LISTEN

     

    lab>