Yep. You can reset the whole config using this method including setting new passwords and login/passwd's on the vty's if you wish.
So get the config:
snmpset -c <write community string> <switchIP/name> .1.3.6.1.4.1.9.2.1.55.ipaddress.of.tftpserver octetstring <filename on server>"
then edit...
You can use my FAQ for snmp passowrd recovery to add login for the vty lines in much the same way.
http://www.tek-tips.com/faqs.cfm?fid=862
Hope it helps.
If everything is coming your way then you're in the wrong lane.
have you configured your PC with an IP Address, or are you using DHCP? I cannot see any DHCP entries in your config.
If everything is coming your way then you're in the wrong lane.
I don't think that will work for your installation... a secondary IP address on an interface or an address on a subinterface will only route traffice on two different IP subnets which exist on the same L2 VLAN. If you have two subnets and two vlans you will either have to use the 802.1q trunking...
Take a look at my FAQ, lets you recover the current `config and reset the passwords using SNMP.
Good luck,
If everything is coming your way then you're in the wrong lane.
Have a think about enabling the unidirectional link detection feature on your switches interlink interfaces.
In interface config mode: udld enable
Unidirectional links are often a cause of relearning MAC addresses. Also, make sure you know the STP configuration of your network. Draw it out...
Read my FAQ to retrieve the config using snmp...
http://www.tek-tips.com/faqs.cfm?fid=1160
If everything is coming your way then you're in the wrong lane.
Hi,
cfgmaker is a PERL script which creates the [ROUTERNAME] using the hostname of the device and the interface name. If you pick your way through the script you can change the way cfgmaker creates the name to the way you want it.
What is it you are trying to achieve? there may be a much...
sorry, didn't type that correctly... should read:-
cat config.cfg | sed 's/ROUTERNAME/NEWNAME/' > newconfig.cfg
If everything is coming your way then you're in the wrong lane.
You can parse the file and replace each instance of one word with another...
e.g.
cat config.cfg 's/ROUTERNAME/NEWNAME/' > newconfig.cfg
If everything is coming your way then you're in the wrong lane.
BRI Dial up is usually pretty quick, and wouldn't normally cause FTP timeouts. But if it does then the command you have there "dialer hold-queue 50" (conf'd on the BRI interface) will buffer 50 packets (maximum is 100). You can also specify a timeout (how long it will hold those packets for)...
In order for the router to act as a Proxy DNS, enter the following in global config mode
ip dns server
then in your dhcp pool, include the option
dns-server <ip address of router internal interface>
As long as your router is getting the DNS server IP addresses from your ISP, name lookups will...
There are options to the cfgmaker command.
The one you are interested in (I think) is:
cfgmaker --output <mrtg config directory>/<filename>.cfg <hostname>
e.g:
cfgmaker --output /usr/local/mrtg-2/bin/ABC.cfg ROUTERNAME
if thats not what your looking for let me know.
If everything is coming...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.