10-25-2012 02:49 PM
Hi,
I have a Cisco Prime LMS 4.1 running on my network, and I am creating Jobs to configure access-list, snmp commands. I can make ping/telnet/ssh from Cisco Prime LMS CLI to the devices (routers or switches), but when a Job is scheduled it fails. What could be the reasons of failures?
Thanks in advance.
10-28-2012 08:05 AM
You do not provide much info. Some questions to clarify this, then maybe someone can help.
When you say "from Cisco Prime LMS CLI", do you mean RME cli?
Or are you saying a immediate job works, a scheduled on fails?
Is it you or LMS that provides the device credentials?
What does the job report say beside failed?
What kind(s) of job fails? What did you (try to) configure on the device?
Also, if one device fails, the whole job fails. Did any ot the devices get configured?
if one of the command sent gives an unexpected response the job fails. The job report shows the commands and the response the device gave.
Cheers,
Michel
10-29-2012 07:29 AM
Hi Michel,
I make Ssh console to Cisco Prime to test telnet/ssh/ping to the devices managed from Cisco Prime. I try to send several commands to the devices (routers and switches):
logging x.y.x.w
access-list 1 permit x.y.x.w
snmp-server host x.y.x.w SNMPComm
I make a job to send these commands via Cisco Prime but the job fail. Credential were imported from a file, I haven´t tryed writing again the credentials.
This is a Job result:
Work Order
Name: NetConfig Job Work Order
Summary: General Info
----------------------------------------------------------------------------------------------
Job ID: 1268
Owner: admin
Description: Job 3 Dia 2 Routers
Schedule Type: Run Once
Schedule Time: Thu Oct 25 23:10:00 VET 2012
Job Policies
----------------------------------------------------------------------------------------------
Failure Policy: Ignore failure and continue
E-mail Notification: Disabled
Execution Policy: Parallel
Fail on Mismatch of Config Versions: Disabled
Copy Running Config to Startup: Enabled
Sync Archive before Job Execution: Disabled
Job Password: Disabled
Job Approval Details
----------------------------------------------------------------------------------------------
Job Approval: Disabled
Approval List: null
Maker E-mail ID: null
Flow Type:
Device Based Flow.
Task Details
----------------------------------------------------------------------------------------------
Task: Adhoc
Commands
-------------
logging x.y.x.w
access-list 1 permit x.y.x.w
snmp-server host x.y.x.w ********
Devices
-----------
CLNS-2811-MBO01
CLNS-2811-CAN01
CLNS-2811-PLC01
CLNS-2811-POZ01
CLNS-2811-CAN02
CLNS-2811-VAL02
CLNS-2811-SNC01
CLNS-2811-MBO02
CLNS-2811-SNC02
CLNS-2811-BTO02
CLNS-2811-VAL01
CLNS-2811-PLC02
-----------------------------
Al the devices were failed.
Regards.
10-31-2012 12:33 AM
If you have imported the devices from a file the credentials used by LMS are known. I guess this rules out that the credentials are bad
What I meant was the status of the job for each device.
It will provide info why the job for that device failed
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide