Prime LMS 4.2 to save devices configurations "copy run start"
we need to create a job on LMS to save the configurations on the network devices, like everyday LMS should run "copy run start" on all the devices.
Any one can assist, thanks
You can create a NetConfig job using LMS, which can do this for all LMS managed devices. You can simple select an Adhoc job and use command copy run start and schedule as per you requirement.
Check more details here on NetConfig.
Also, You can generate an Out-of-Sync report for the group of devices for which running configurations are not synchronized with the startup configuration from :
From here you can directly sync the devices which will do the same task of doing copy run start. Unfortunately, it cannot be scheduled and hence needs to be checked manually usually.
Check details on Out-of-Sync here.
-Thanks
Vinod
**Encourage Contributors. RATE them**
Similar Messages
-
Cisco Prime Infrastructure 1.2 config deployment (no copy run start)
I have deployed some CLI templates I have created to configure multiple local accounts on some switches. However the cli templete only appears to accept conf t commands, it will not accept 'write mem' or 'copy run start' at the end to save the altered running config to startup. this results in running and startup being 'out of sync' in the configuration archives, and runs the risk of a power failure causing the config to revert back to startup. Does anyone know how to ensure the altered running config is saved to startup during the config template deployment?
I don't know if this has been fixed in 2.0 or not. By the looks of the bug it hasn't. However, there is a workaround-
https://tools.cisco.com/bugsearch/search?kw=prime%20infrastructure%20copy%20run%20start&pf=prdNm&sb=anfr&srtBy=byRel&bt=custV
BugID
CSCuf89957
Prime Infrastructure - No option to save running config to startup
Conditions:
Prime Infrastructure 1.2/1.3
Workaround:
Create a Configuration Template that runs either:
"do write mem"
Or for devices which no longer support "write mem", use:
"file prompt quiet
do copy run start
no file prompt quiet" -
Cisco Prime 2.1 CLI-Template for Switch configuration Backup
Hello everybody,
I am trying to write a CLI Template in cisco Prime to save the running-configuration of our core switch to the FTP server,
I have already configured the FTP username and Password in the core Switch
ip ftp username cisco
ip ftp password cisco123
in Cisco Prime I have created a template as follow:
copy running-config ftp:
$FTP_IP_addrress >> the FTP Server
$name >> the name of file and the date
After deploying this template on the core switch,
I received Error Msg in Prime as follow:
Error : Command returned an error : copy running-config ftp: 172.16.30.30 Run_Config_Core_19_2_2015 ^ % Invalid input detected at '^' marker. QAF-DC-4507-CORE(config)#
I know that the backup files can be fetched directly from Cisco Prime in the Configuration Archives, But also I need to test if we can take a backup directly to the FTP server using Prime.
Thanks in advance.Thank you Bkennedy for replying,
I changed my template to be as follow:
#MODE_ENABLE
copy running-config ftp:
$Mgmt_IP_addrress
$name
#MODE_END_ENABLE
but still I am receiving Error like :
Error : Exception while sending interactive commands to device, Expect timeout: Failed to match expected device output due to Expect timeout current timeout 60000. Current output : Address or name of remote host []? Current expects : (DC-450.{0,30}|DC-4507-AGG)\([^\)]+\)#\s*\z DC-4507-AGG#
I believe that we have to tell the Prime how to send the variables to Switch, because the switch is waiting for the remote host IP address and the destination file name???
DC-4507-AGG#copy running-config ftp:
Address or name of remote host []? X.Y.Z.W
Destination filename [dc-4507-agg-confg]?
% VRF table-id 0 not active
% VRF table-id 0 not active
Writing dc-4507-agg-confg !
24425 bytes copied in 1.500 secs (16283 bytes/sec)
DC-4507-AGG# -
Changing server for Cisco Prime LMS 4.2 installation
Hi,
I am planning to install Cisco Prime LMS 4.2 with 50 device license on a temporary server. My question is:
Can we install Cisco Prime LMS 4.2 on Server A, applied the license for 50 devices, and then several months later we uninstall LMS on Server A, reinstall it on Server B, and applied the same license for 50 users?
Is it possible and legal to do that? I am worry if the LMS license is binding to the first server's MAC address.
Thanks in advance.also :vmversion 4.1 and 5.1 both checked, hdd 256, scsi , memory 8 gig,
-
Limiting SSH connections on Prime LMS
Hi all!
Is there a way to limit number of concurrent SSH connections that Prime LMS 4.2 makes to devices? Periodically it occupies all of VTY lines. I know I can restrict access to particular VTY lines by 'access-class' command, but I'd rather want to limit number of simultaneous connections on Prime LMS. Is it possible?
Thank you.On Prime it is not possible to limit the number of opened connections. However, there is an issue with Prime 4.2 that some type of jobs are not releasing SSH connections ( "CSCsy22242 ConfigMgmtServer leaves TCP sockets open to security context devices"). You will need to install SP1 for Prime 4.2 (will be available withing 2-3 weeks on cisco.com) to fix this issue.
-
Logging for changing device configuration using cisco prime LMS / PI
Dear All,
How to see / set for
for changing device configuration (routers, switches) using cisco prime LMS / PI ?
and, how to see network topology diagram using PI / LMS?
Thanks,
Jerrianyone can help. thanks.
-
Cisco Prime LMS - Device discovery
How do you configure Cisco Prime LMS Device Discovery, so that you can have two credentials sets for specific "special devices" (host based statement) and one for the of the devices (global subnet statement)?
Thanks in advance.Hi,
Here is the link to the document containing the detailed steps regarding Credential Sets.
After defining your sets then set up Credential Set Policies.
Thanks! -
Cisco Prime LMS device unreachable dont know why
Hi
Currently running Cisco Prime LMS v4.2
I am trying to get some Nexus 7K Switches to work and become reachable.
They are running kickstart: version 6.2(2)
system: version 6.2(2)
Now as far as I can see i have 2 identical switches but one is unreachable and the other is reachable.
When i use my snmp tester they both work with the correct V3 auth/priv passwords and the correct ssh
works on the switches.
When i go to monitor/Troubleshooting Tools/Troubleshooting Workflows
Then for the non working one i get the following fails....
Device Information Device availability x
Collector Status
Data Collection Failure
User Tracking Failure
Fault discovery Failure
On the working one The above all are a Success.
Also
Reachability Details
Both ping and traceroute work fine on both switches
For the life of me I cannot see any difference in the configuration of the two devices.
Has anyone come across this before ?
I have attached a copy of the snmp config.
Thanks
SteveWhat is the server OS? Windows/Linux or Unix?
From the server to ping and poll device for SNMP and see if both device works fine?
SNMP walk is available under :
Windows : NMSROOT/objects/jt/bin
Linux/unnix/: /opt/SCOpx/objects/jt/bin
Example:
NSROOT/objects/jt/bin/snmpwalk -v2c -c public <ip_add> <OID>
Try to configure the problematic device for SNMP v2 and try to add it from there and test if it works fine.
-Thanks
Vinod -
How to Backup configuration using tftp/ftp in Prime LMS?
Hi
how can i backup ASA/PIX configuration using tftp/ftp in Prime LMS 4.2.2?
--I discovered those devices and can managed them in the LMS but in the config file backup the passwords are encrypted,
that's why i want to backup them with tftp/ftp.
thanksWrong service names are set in tnsnames.ora
-
Cisco Work (LMS 2.6) Device Configuration
Hi,
Can anyone tell me where is the default location of device configuration ( Running conf ) saved in Cisco Work (LMS 2.6) Server.
Thanks & Regds,
Lalitif you enable the so called shadow directory feature under: Admin -> Config Mgmt -> Archive Mgmt -> Archive Settings
then the defaut location is \CSCOpx\files\rme\dcma
Cheers,
Michel -
Prime Infrastructure 2.0 Device Configurations
We use PI 2.0 physical appliance.
Is it possible to save a shadow copy of the configs so that you get config in filesystem?
We want to save the configs to an external server.
Actually we are using this feature in LMS.
RegardsHi,
unfotunately this feature is not avaiable so far an Enhancement request is already filed to track this issue:
CSCug82578 Prime Infrastructure should maintain archive shadow directory like LMS
Thanks-
Afroz
[Do rate the useful post] -
Device discovery in Cisco Prime LMS 4.1
Hi,
im using CISCO PRIME LMS 4.1 for manage my network, i ran a device discovery job using a ping sweep on the ip ranges of my network, ie 192.168.1.0/24, 192.168.2.0/24 and so on... the discovery found all my devices, but it discovered duplicate devices with illegal ip Addresses, ie
ip device
192.168.1.255 S1
192.168.2.0 S1
192.168.2.1 S1 (the real address)
all in reachable status.
i dont undestad why the program adds that repeated illegal addresses.. someone can help me with that issue??
how can i run the device discovery to avoid this problem?
Many Thanks.Julio,
Don't let LMS decide on what IP address it will manage the device.
For example, let LMS do a lookup of the sysname in DNS, then it will use the IP address coming back from the DNS as management IP.
This is what I do to avoid this.
But I also feel that LMS should be bright enough to never manage the same device twice. I think Campus DFM or RME will eventually figure out the 2 devices are the same, but they can't "fix" what is wrong in the DCR.
Cheers,
Michel -
Export Wired Device Configuration Archive in Prime 2.1
Hi,
we have prime 2.1 lifecycle with 50 node license. I'm trying export device configuration archive (not controllers), but I couldn't find any solution for this. now I found "controllers configuration backup" in the setting>background task menu, but this is for wireless devices(WLC). please help me where I should find the solution.
Kind Regards,
NedaAnyone ?
./bump -
In Prime LMS 4.2, has anyone seen this issue/bug before?
I've added in all devices indicating their Device Names and Hostnames. However in the Monitor section and only High Severity Faults part, the Device Name is actually showing IP addresses.
In the Syslog report that sent via email, Device Name fields are showing IP addresses as well. Other sections or portlets are totally fine.
Thanks.Hi Bin,
Check the below link:
http://www.cisco.com/en/US/docs/net_mgmt/ciscoworks_device_fault_manager/3.2/user/guide/useDevMg.html#wp1367517
Workaround to get the HOSTNAME in DFM is :
1> Added the Device Name and IP on the DNS Server or /etc/HOSTS file
2> Modified NMSROOT/objects/smarts/conf/discovery/discovery.conf, and changed the DisplayNameFormat from "AUTOASSIGNED" to "MIBIISYSNAME".
That caused DFM to display the sysName as the display name.
Also set the NameFormat to TM_USEAUTONAME, then restarted daemon Manager (net stop crmdmgtd && net start crmdmgtd )
3> Delete and re-add a device in DFM
============
Open name-resolver.conf file and make same changes that we have made in discovery.conf. ie, the following entry should be there in this file also.
#NameFormat = "TM_USESEEDNAME"
NameFormat = "TM_USEAUTONAME"
Thanks-
Afroz
[Do rate the useful post] -
Prime LMS 4.2.1 Netconfig and Template TFTP/SSH issue
I have cisco Prime 4.2.1 installed and am trying to deploy templates and Adhoc Netconfigs. The jobs are failing with the following message:
Command(s) failed on the device TFTP: Failed on the device. SSH: Failed to establish SSH connection to 10.104.114.231 - Cause: Authentication failed on device 3 times.
If I deploy a Netconfig Task, say just adding a Syslog Server to the same switch it succeeds, no problem.
I am using Cisco ACS 5.2 - TACACS and have configured the tacacspromtps.ini file for the username and password prompt. I can log onto the switch with the Prime Account no problem using Telnet. SSH has not been configured on the switch. I can't find where the protocols for connecting to devices are configured within Prime LMS?hi gary,
based on my understanding, its because the device is not configured with SSH.
is the device running SSH enabled (K2 or K9) image? if yes, you can enable the SSH.
if no, then perhaps you want to try find it here to change it to telnet
http://www.cisco.com/en/US/docs/net_mgmt/ciscoworks_lan_management_solution/4.2/user/guide/configuration/appa.html
regards,
Maybe you are looking for
-
Hp 1050 will not print more than one copy at a time
hp 1050 will not print more than one copy at a time
-
iPhoto is refusing to burn DVDs-- it says it can't connect to the drive. But I burned a DVD in finder just fine. What can I do? I just got my macbook back with a new HD and did a TM restore, although I don't see why that would be related.
-
History function no longer works
The Search function of my firefox browsing history doesn't work. I key the combination of CTRL + H to initiate the "History" left side panel. Then, I used to be able to key-in text into the Search feature and have it bring up relevant web sites that
-
Entries & Leaving Report displays data of selected not equal to org unit
Hi, While using the standard report Entries & Leaving; in the selection criteria when I put NOT EQUAl TO(options) in front of the org unit and and mention the corresponding personnel area and entry date, the report still displays the employees with t
-
Not a comforting message to see... Here are the errors just before the above message is emitted and the install ends. Jul 26 05:33:33 localhost OSInstaller[344]: PackageKit: Extracting file://localhost/Volumes/Mac%20OS%20X%20Install%20DVD/Packages/Es