7 Replies Latest reply on Aug 5, 2009 6:00 PM by Wardini

    Backup of Cisco Unity Express on Cisco 2851

      Hi!

      My Cisco Unity Express (CUE) is accessible via session from the Cisco 2851 router (service-module service-engine0/1 session).  I have no problem backing up the Cisco 2851 with CatTools, but am unable to backup CUE using the following settings.  Kindly advice on how to backup CUE.  Greatly appreciated!

      CatTools Device Settings
      Device Type: Cisco.Other.CUE
      Name: CUE
      Host Address: service-module service-engine0/1 session
      Model: AIM-CUE
      Connect via: Cisco2851
      Method: Session
      Port: 23

      Info Log
      Priority: 2-Warning
      Device: CUE
      Details: LoginCV Unknown connection method: Session

      Debug Log
      <NEWSESSION Kiwi CatTools 3.3.17 7/14/2009 11:21:32 AM>
      <PROTOCOL=Telnet>
      <DEVICE TYPE=Cisco.Router.noenable>
      <ACTIVITY TYPE=Device.Backup.Running Config>
      <ACTIVITY SCRIPT=C:\Program Files\CatTools3\Scripts\Client.Device.Backup.Running Config.txt>
      <USERS NAME FOR DEVICE=Cisco2851>
      <C OK 11:21:32 AM><R-11:21:32 AM>[13][10][13][10]User Access Verification[13][10][13][10]Username: <W-11:21:32 AM>user1[13]<R-11:21:32 AM>user<R-11:21:32 AM>1[13][10]Password: <W-11:21:32 AM>password[13]<R-11:21:32 AM>[13][10]Cisco2851#<W-11:21:32 AM>[13]<R-11:21:32 AM>[13][10]Cisco2851#

      This is the example of how I access CUE from Cisco2851 CLI via SSH.
      login as: user1
      Using keyboard-interactive authentication.
      Password:
      Cisco2851#service-module service-engine0/1 session
      Trying 10.189.1.2, 2258 ... Open
      CiscoCUE> enable
      Password:
      CiscoCUE#

      1. Input username then press Enter.
      2. Input password then press Enter.
      3. Input "service-module service-engine0/1 session" then press Enter.
      4. Input enable then press Enter.
      5. Press Enter (blank Enable password).

        • Re: Backup of Cisco Unity Express on Cisco 2851
          Wardini

          Hi Danny,

          Have you looked at this thwack post;

          ?? Backing up Cisco CUE ??

          regards,

          Wardini

            • Re: Backup of Cisco Unity Express on Cisco 2851

              Hi!  Wardini,

              I tried to follow that post previously but the problem is that I can't even get CatTools to initiate session from Cisco2851.  Log shows "LoginCV Unknown connection method: Session".  Kindly advise.  Thanks!

                • Re: Backup of Cisco Unity Express on Cisco 2851
                  Wardini

                  Hi Danny,

                  My apologies. I didn't spot that you are using the Cisco.Router.noenable script on the Cisco2851 device. The Cisco.Router.noenable script does not support the connect via session method. Does the Cisco.Router.General script not work for the Cisco2851 device?

                  Regards,

                  Wardini

                    • Re: Backup of Cisco Unity Express on Cisco 2851


                      Hi!  Wardini,

                      I'm now able to establish session to CUE through Cisco.Router.General, but it won't proceed further after.  I believe the problem is that after the session is established, CatTools needs to send a couple line breaks to get to the prompt.  Info Log shows "1-Error: Did not receive VTY entry prompt from Cisco Other CUE".  How can I make CatTools to send these line breaks?  Thanks!

                       

                      This is how I access CUE from Cisco2851 CLI via SSH.  Note step 4.
                      login as: user1
                      Using keyboard-interactive authentication.
                      Password:
                      Cisco2851#service-module service-engine0/1 session
                      Trying 10.189.1.2, 2258 ... Open
                      CiscoCUE> enable
                      Password:
                      CiscoCUE#

                      1. Input username then press Enter.
                      2. Input password then press Enter.
                      3. Input "service-module service-engine0/1 session" then press Enter.
                      4. Press Enter couple times until prompt appears.
                      5. Input enable then press Enter.
                      6. Press Enter (blank Enable password).

                       

                       This is the debug output.  Note how it kept waiting for the prompt.
                      <CONNECTVIA SESSION   7/31/2009 9:00:57 AM>
                      <CONNECT-FROM DEVICE FILENAME="2851_for_CUE_Session">
                      <PROTOCOL=Session>
                      <DEVICE TYPE=Cisco.Other.CUE>
                      <ACTIVITY TYPE=Device.Backup.Running Config>
                      <ACTIVITY SCRIPT=C:\Program Files\CatTools3\Scripts\Client.Device.Backup.Running Config.txt>
                      <USERS NAME FOR DEVICE=CUE>

                      ================================================================================
                      WFMDRetVal=1 Waiting for: "Username:"
                      WFMDRetVal=2 Waiting for: "Password:"
                      WFMDRetVal=3 Waiting for: "Password required, but none set"
                      WFMDRetVal=4 Waiting for: ">"
                      WFMDRetVal=5 Waiting for: "#"
                      WFMDBuffer="service-module service-engine0/1 session[13][10]trying 10.189.1.2, 2258 ... open[13][10]"
                      ================================================================================

                • Re: Backup of Cisco Unity Express on Cisco 2851
                  Wardini

                  Hi Danny,

                  It looks like the script should send a cr if no response is gained.

                  Could you also post the relevant section of the infolog for this please.

                  thanks,

                  Wardini

                    • Re: Backup of Cisco Unity Express on Cisco 2851

                      Hi!  Wardini,

                      Here's the Info Log.  Thanks!

                      CUE: Did not receive VTY entry prompt from Cisco Other CUE
                      Kiwi CatTools Service: Stopping Activity.
                      Kiwi CatTools Service: All threads have finished.  Now processing results...
                      Kiwi CatTools Service: No devices have changed.  Not sending report via e-mail.
                      Kiwi CatTools Service: Error notification e-mail has been sent to: xxx@xxx.xxx
                      Kiwi CatTools Service: Run Now activity has completed
                      CUE: Login Cisco Other CUE: CUE 
                      CUE: ConnectViaDo - getting all fields CUE 
                      CUE: Login to 2851 for CUE Session was successful 
                      CUE: DeviceHostnameID: Cisco2851
                      CUE: ConnectViaDo - Connecting to CUE 
                      CUE: Issuing commands to connect from 2851 for CUE to CUE via Session 
                      CUE: Connected to xxx.xxx.xxx.xxx 
                      CUE: Login CiscoRouter: 2851 for CUE Session 
                      CUE: ConnectViaDo - getting all fields 2851 for CUE Session 
                      CUE: ConnectViaDo - Connecting directly to: 2851 for CUE Session 
                      Kiwi CatTools Service: Marshaller - Running script.  Device: CUE 
                      CUE: ConnectViaGet - Device: CUE says to connect via device: 2851 for CUE Session 
                      Kiwi CatTools Service: Performing activity - Run Now 
                      CUE: Loading activity: CUE Backup.  Schd: 1

                    • Re: Backup of Cisco Unity Express on Cisco 2851
                      Wardini

                      Hi Danny,

                      Thanks for the infolog. The script should send a cr if it doesn't get a prompt but because you have connected via a session the buffer contains the session connection response which is preventing this from happening.

                      I have attached an updated script to try and resolve this. Backup your existing script first then copy the one attached into your scripts folder and please try again.

                      Please let me know how you get on and if you still have problems please post the debug and infolog again (** out anything sensitive)

                      Thanks,

                      Wardini