Batch File To Change IP Config On The Fly?
Jan 16, 2011want to be able to change LAN IPs on the fly for telneting into different equipment
View 1 Replieswant to be able to change LAN IPs on the fly for telneting into different equipment
View 1 RepliesI have a project in java. there are some batch files. i am not able to run those files. it just blinks and disappears immediately. should i change some settings in my windows xp?
View 5 Replies View Related i'm trying to write a simple batch file to make my life easier. We have a few dozen Aix Boses that we telnet into and about 70 as400 Swift systems we telnet into. i was starting on a batch file like the one below where i could run it, type in the system and it log me over.What I want to add is for it to put in my user name. (if i could draw a password from a excel file that would be fantastic but id settle for just my user name). I have tried - l (username) at the end of telent and it didn't work. also tried -a. i keep getting the box with user name/password and there both blank. how i can get it to type in my user name?
here is my script.
@echo off
set /p name= What system are you logging into?
telnet %name%
i tried start script.vbs as another attempt using this info
Set cloner = CreateObject("WScript.Shell")
cloner.run"cmd"
WScript.Sleep 500
cloner.SendKeys"telnet %name%"
cloner.SendKeys("{Enter}")
WScript.Sleep 500
[code]....
I have a domain server and its has 100 users. some time my users PC Net session Jam. So that time i need to delete the Net session.
View 1 Replies View RelatedMy computer will sometimes be connected to the router but internet access isn't available.This is easily fixed by resetting the router, but I was thinking that it would be good to just write a batch file to do it when needed.How would a write a batch file that will restart the router based of the result of pinging an internet site/server.
View 2 Replies View RelatedIf i connected the latop to brand new out of the box ASA 5505 through consloe cable and i have a config file on this laptop from other ASA5505, is there anyway i can upload that config file into startup-config of this new ASA5505 through console cable, without using TFTP or FTP?
View 5 Replies View RelatedI keep getting this error every few days and I have to restart my router in order to gain access back to the web utility. I reflashed the fw a second time with no success. I have read about this trip 30 reset but have had no luck finding a post which describes how to go about that method.
View 5 Replies View RelatedI need some info on how to open an RV042 config backup (.exp) file. I recently had an RV042 that got very wet and it is now dead, and I do not have another on hand. BUT I do have the config Backup that includes the user MAC authentication list that I really need. Is there a way to get this information other than loading into another RV042.
View 4 Replies View RelatedMy 1140 doesn't write to the config.txt file. I'm not sure why. I have three of these access points that we changed the firmware to make them autonomous. The other two worked fine.
View 1 Replies View RelatedHow can we restore ACS config from an existing backup file, in an ACS cluster deployment? is it through CLI? with"restore"or"acs restore" command? and should I restore only the ACS config or both ACS and ADE-OS config?
View 4 Replies View RelatedI uploaded a new config file via TFTP to a 3560 switch. What are the order of commands to get it to boot from this new config file instead of the file listed in 'sh boot': [code]
View 7 Replies View RelatedI have about 1400 devices in LMS for this one customer.
They have 1200+ IOS devices
200 + catos devices
My problem is we use 2 differnt change scripts in Config Editor for IOS and CATOS. I have a list of all of the IOS and CATOS devises in txt format.
Is there some magical way to just upload the txt files into Cisco works instead of searching for them during the Config Editor batch job creator? I find it takes hours to sort this batch job out
We have a new 4507R-E Switch which RME keeps reporting as "CONFIG_CHANGE" each evening. When you click to see the change, the only thing that has changes is the "ntp clock-period".
However, we have configured "ntp clock-period" as an exclude command in RME Config Managment.
my environment:
IE-3000-8TC industry-switch
ios: ies-ipservicesk9-mz.150-2.SE2
if i do
vlan 12
name NextVLAN
state active
in putty, everything is ok. but if i set this lines in a config-file and use them by config net or copy tftp: running-config, then this commands are completely ignored.how to setup VLAN so that this are funktional. i dont need a "interface vlan xx"! in addition manually configured vlan are shown in show vlan command but there are no entries inside a sh running-config output even i user show running-config all.
I have a problem with the router Linksys RV042, I made a backup of it that contains a file with the extention .exp Now we have buy a new Rv042 made by cisco and the backup file is .config the question is how I convert the .exp file to a .config file so I can Restore the backup in to the new router?
View 1 Replies View RelatedFirst is it possible to change the length that new files will be created? Right now it creates 1 minute chunks which becomes a pain in the butt to manage. I would really like to set the length to 10min or even 60min chunks as one minute is just to short. I use the camera for constant recording and do not plan on puttin in a computer to record to due to logistics.
Secondly, is there software that will manage these files? That is pull down from the cameras SD and archive then allow you to simply play from any location via mouse or time picker?
I have used professional security systems in the past and know that this is just an entry home consumer camera but was hoping it had a little more functionality, as it stands the built in SD recording is almost useless without some sort of management software.
About to apply a patch for the first time on the ACS 5.3 tonight. Ihave tftp'd it onto a directory i have created on the server. However my support hints i may havre to rename the file ? copy the latest patch file you got from Cisco – you may need to rename as gpg) Current filename is 5-3-0-40-7.tar.tar
So would i need to rename this as 5-3-0-40-7.tar.gpz . If so i will rename it on my pc and redownload it on tftp
I was changing some settings on the router, disabled the WMM QoS, and I can no longer see either the 2.4 or 5GHz networks. I power cycled, tried resetting to defaults but the wireless seems to be dead. I can manage it wired, but that does me no good.
View 2 Replies View RelatedI'm using ASDM 6.2 with a FWSM on a 6500.
At the moment everytime I want to make a change to firewall rules I click apply and the rules are applied Immediately. I have to make multiple changes during the working day which I don't like to do.
What I would like to do is make changes during the day but not apply them until out of hours (some sort of batch mode). Like I can do in my check point firewalls.
I have a Cisco 2811 router and when I turn of the router the running config is lost. I have to the following to get the router running of the start-up config settings.
router#copy start-up running-config
I am working on a Drupal site which is on a virtual server (the way it's been explained to me). I've been told I need to work with it through webdev. So I can copy a file off the server and onto my local machine. I make my edits and then try to upload it to the server. I get locked out with the message: Error 0x80070021: The process cannot access the file because another process has locked a portion of the file. I have tried shutting down my code editor, opening and closing the connection, tried different methods of reaching the server (Cyberduck and through Window's map network feature) to no avail. What can I do?
View 1 Replies View RelatedI'm running into and interesting issue concerning a twice NAT config.
We have a remote site that needs to connect to a server cluster on our end. Using ASDM I have created a NAT rule that uses PAT to map our server addresses to a single IP (this is due to constraints placed on us by the remote site). This in and of itself shouldn't be a problem. The issue is that the VPN tunnel won't come up unless I also map an address to the remote site's sever.
Example:
Appliance: ASA 5510
ASA Version: 8.4(2)
ASDM Version: 6.4(5)
Original Packet:
Source Interface: inside
Destination Interface: outside
Source Address: Server_Cluster
Destination Address: Remote_Server
Service: any
Translated Packet:
Source NAT Type: Dynamic PAT (Hide)
Source Address: Mapped_Server_Cluster_Address
Destination Address: Mapped_Remote_Server_Address
Service: -- Original --
Within the Translated Packet section, if I set Destination Address to the actual remote server address nothing happens when I attempt to bring up the tunnel. However, if I map an address to the remote server, the tunnel begins to come up and then fails during phase two (as the mapped address doesn't match the addressing that has been defined in the remote end's connection profile).
Initially I thought the issue may be due to an IP addressing overlap since both sites are running similar numbers, but the default route statement on our ASA, should contend with this issue. Also, each time I change the NAT rule, I change the connection profile to match those changes.
So, ultimately, what I wish to accomplish is to allow connectivity between my site and the remote site without having to map another address to their remote server. How may I do this?
I have 2 office buildings using Cisco 800 series routers with a L2L VPN between both. I'm upgrading the router to an ASA5505 at one of the offices but can't figure out the L2L VPN on the ASA. Specifically, can't figure out how to set the pre-shared key. On the Cisco 800 it's:That doesn't seem to work on the ASA. Here is my current config on the Cisco 800. [code]
View 9 Replies View RelatedI am converting one PIX config (in 6.2) format to 8.4 format manually.I am stuck at the following statements.
---------------------------
global (outside) 1 192.168.21.100-192.168.21.150 netmask 255.255.255.0
global (outside) 1 192.168.21.44 netmask 255.255.255.255
nat (inside) 0 access-list 101
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
access-list 101 permit ip host 10.130.101.2 10.132.102.0 255.255.255.0
-----------------------------
My understanding from the old config file was that any traffic coming from source 10.130.101.2 to destination 10.132.102.0 would NOT be translated and this shall remain the same in 8.4.How can I rewrote the NAT commands?
How do I turn off "logging esm config"? I tried conft no logging esm config and that worked for the moment, but when the switch reboots, or I run reload, it comes back.What does that do anyway? This switch was giving an out of memory error and seemed to be flooded with messages, so I trying to turn logging off/lower the log level.
View 5 Replies View Relatedmy config and all the show's ive run sofar tryign to figure this out, but the policy map isnt matching the traffic for some reason
View 9 Replies View RelatedI've tried all IP's that could be... 192.168.1.1 ,etc. , etc.Of course I am behind a router but even though I tried the same with connecting directly, it showed my gateway to be 78.56.191.254 which didn't work at all ( but was ping-able ).I restarted router and computer several times as well as switched form router to direct connection which brought no luck as well.
View 9 Replies View RelatedI have tried the config-register command and it is not available. Here is part of the show ver command. I want to change the config-reg from 0xF to 0x2102.I have run into this before but don't remember how to correct it.....I think I have to use the boot command but not sure. Here it the output show ver Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(25)FX, RELEASE SOFTWARE (fc1)
ROM: Bootstrap program is C2960 boot loader
BOOTLDR: C2960 Boot Loader (C2960-HBOOT-M) Version 12.2(25r)FX, RELEASE SOFTWARE (fc4)
System returned to ROM by power-on?System image file is "flash:c2960-lanbase-mz.122-25.FX/c2960-lanbase-mz.122-25.FX.bin"cisco WS-C2960-24TT-L (PowerPC405) processor (revision A0) with 61440K/4088K bytes of memory.last reset from power-on
4 Virtual Ethernet interfaces
24 FastEthernet interfaces
2 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.64K bytes of flash-simulated non-volatile configuration memory.
Model number : WS-C2960-24TT-L
Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
* 1 26 WS-C2960-24TT-L 12.2(25)FX C2960-LANBASE-M
Configuration register is 0xF
We have two offices in the US and one in Mexico. Our site in Mexico connects to our headquarters in the US over an AVPN/ MPLS circuit .Mexico has a separate Internet connection through TelMex. There is an ASA 5510 at headquarters and an ASA 5505 in Mexico. We have a fail over VPN set up in the ASAs for times when the MPLS circuit goes down. All Internet traffic in Mexico is supposed to be routed to the TelMex connection. All company traffic is supposed to be routed to the Cisco router. ASA is supposed to be last resort route. We have a fail over VPN set up in the ASAs for times when the MPLS circuit goes down. (Or at least we did until I had someone work on the configuration) Everything had been working fine for the last 4 years.
Yesterday when the MPLS went down, so did their Internet connection. I realized the Internet traffic is now coming through the MPLs circuit to head quarters and out our ASA. Obviously there is a problem with the configuration. I do not have enough experience to figure this out. I have attached the configs and the routes for both the ASA and the router.
I tried to deploy configuration templates with Cisco LMS Template Center, due to the 10 Cool LMS Tricks to better manage your network i am able to do it now.Just i don't know why, after deploying these templates the configuration is not save to the startup-config.another problem i have with the snmp-server location configuration. It seems my template does not support spaces in the textbox. Any way to put spaces in the snmp location?
<parameter name="snmp-location">
<description>SNMP Server Location</description>
I have run a netconfig jobs in LMS 4.2.1 with these settings: [code] After running the job the "Device Details" of the jobs say "Successful Devices" for all three switches:"Deploy successful (Primary Login Succeeded / Primary Enable Succeeded )" For the devices switch-1 and switch-2 I get the desired output: [code]. Why there is no output although the job is successful?
View 3 Replies View RelatedI’m currently training to take my CCNA, So for the reason I’m here, I have just been asked to take over the company network.And I need to know how I go about configuring some base level routers.I have 3 remote sites and 1 main site, all these routers are using 857’s, with a VPN tunnel between them, this is running all OK and working fine,But my boss has decided to have a second ADSL line installed in the main site for failover.How do I go about configuring this, ie how do the VPN’s terminate on the other router when the main one goes down?
View 1 Replies View RelatedIf I have a PI 1.2 system that has multiple interfaces configured I can upgrade to PI 1.3 and both interfaces remain and I can see both under the admin webpage under appliance interfaces. But if I do a fresh install of PI 1.3 I can only configure one interface. The commands fail from the cli to configure anything but gigabitethernet 0. Are multiple interfaces not supported in PI?
View 2 Replies View Related