DX NetOps

  • 1.  Tech Tip:  How to enable debug for Spectrum's telnet daemon (telnetd)

    Broadcom Employee
    Posted Oct 07, 2014 06:18 PM

    Tech Tip:  How to enable debug for Spectrum's telnet daemon (telnetd)

     

    Spectrum Tech Tip posted by Bill Wolforth, Senior Support Engineer on October 17,2014


    Description:


    Debug for the Spectrum telnet daemon was introduced in CA Spectrum version 9.2.1 and above. This debug works in 9.3 and above as well. This tech doc informs you how to enable that debug.


    Solution:


    As of Spectrum 9.2.1 and above the Spectrum telnet daemon has debug settings that can be utilized.

    1. Start SpectroSERVER and ensure that telnetd is running
    2. Navigate to the <SPECROOT>/telnetd directory, and edit the config.xml
    3. Change the debugging to 'on' Ie. change the "off" to "on"

      <debugging type="java.lang.String">off</debugging>
    4. Wait about one minute (a restart of the telnetd process is not required),
    5. Veiw the <SPECROOT>/TELNETD.OUT to verify the configuration changes

      An entry similar to the following will show in the TELNETD.OUT: (Timer-0) [configChanged] - debug set to true
    6. Start a OneClick client and telnet to a device, then verify that the telnet works as normal
    7. Verify that the debug info is displayed in TELNETD.OUT
    8. Edit config.xml and turn off debugging
    9. Wait about one minute, then verify there is a configuration change message in the TELNETD.OUT

      An entry similar to the following will show in the TELNETD.OUT: (Timer-0) [configChanged] - debug set to false
    10. Start a new telnet session and verify that there are no debug outputs to TELNETD.OUT


  • 2.  Re: Tech Tip:  How to enable debug for Spectrum's telnet daemon (telnetd)

    Posted Oct 08, 2014 10:56 AM

    William,

       Why we need this i am not aware ..Can u pls explain in detail, so that it will help me .



  • 3.  Re: Tech Tip:  How to enable debug for Spectrum's telnet daemon (telnetd)

    Broadcom Employee
    Posted Oct 09, 2014 10:08 AM

    Hi Isaac,

    From time to time if there is an NCM related issue with telnet we may need to put telnet in debug.

    Best regards,

    Bill