Saturday, February 24, 2007

Cisco Street Commands p1

Basic Cisco IOS Router Management


[ To save the current running configuration to the startup configuration in NVRAM, issue
cisco#copy running-config to startup-config
Alternatively, you can also issue
cisco#write memory
The router's configuration information is stored in a device called the Nonvolatile RAM (NVRAM), and the IOS images are stored in a device called the flash. It's important to keep these names straight because all flash memory is nonvolatile RAM. Most routers use Flash technology for their nonvolatile RAM. So it's easy to get confused by the terms. ]

[ To load a configuration file via TFTP to the Router
cisco#copy tftp://192.168.1.1/myconfig running-config
cisco#end
This will load the configuration file myconfig from TFTP server 192.168.1.1 to the running-config of the Router. ]

[ To backup copy of your router's config file to TFTP server
If you are using a Unix system, please follow the steps below
1. touch /tftpboot/configfilefolder (create a configfilefolder)
2. chmod 666 /tftpboot/router1-confg (change the permission settings to read and write)
3. telnet or ssh into the router
4. enter into the enable mode
5. cisco#copy running-config tftp://192.168.1.1/configfilefolder ]

[ Store files larger than NVRAM. You can compress your router's configuration file before saving it to NVRAM to allow you to save more configuration information. The command service compress-config will compress the configuration information when the router saves the file, and uncompress it when it is required

cisco#configure t
cisco(config)#service compress-config
cisco(config)#end

Turning on compression roughly doubles the size of the configuration file you can store. You have to put the command service compress-config into the configuration with a configure terminal. Then, for this command to take effect, you need to copy the running configuration file to NVRAM.

cisco#copy running-config startup-config

Issue the show version command to check how much total NVRAM storage is available on the router. ]

[ To reset the router to factory default state
cisco#erase nvram:
cisco#reload
or
cisco#erase startup-config
cisco#reload

Issue the show startup-config to check the settings. At this point, the router's configuration has been returned to the factory defaults. ]

[ To download a new IOS version into the router's flash memory
cisco#copy tftp://192.168.1.1/newFlashImage.bin flash:
Once the router had verified the checksum, reboot the router as follow:
cisco# reload
Use the show version command to see the new settings.
Make sure that the router has available free space in the flash before loading the new IOS image. You can use the show flash command to see how much flash memory is available. ]

[ To specify which IOS image the router should load next time it reboots, use the boot system command
cisco#configure terminal
cisco(config)#boot system flash:image1.bin
cisco(config)#boot system flash:image2.bin
cisco(config)#boot system slot0:image3.bin (PCMCIA flash card in slot0)
cisco(config)#boot system rom (Load the image from ROM)
cisco(config)#end

To locate boot system commands, issue:
cisco#show running-config include ^boot ]

[ You can partition a router's flash memory by issueing:
cisco#configure terminal
cisco(config)#partition slot1: 2 8 8
cisco(config)#end ]

[ You can configure your router to act as a tftp server by issueing the following commands:
cisco#configure terminal
cisco(config)#access-list 23 permit 192.168.1.0 0.0.0.255
cisco(config)#access-list 23 deny any
cisco(config)#tftp-server flash:image1.bin 23
Router1(config)#end

The ability to use a router as a TFTP server can be quite useful. We have often used this feature to upgrade several routers that are separated from the TFTP server by slow WAN connections. In situations like this, you can upgrade one of the remote routers by using TFTP over the slow WAN connection. Then you can configure the first router to act as a TFTP server, and use it to upgrade the remaining routers over high-speed local links. ]

[ Using FTP from the router
cisco#configure terminal
cisco(config)#ip ftp username cisco
cisco(config)#ip ftp password cisco123
cisco(config)#end
cisco#copy ftp: running-config ]

[ Reload the router with minimal service interruption, to enable warm reload, issue the command as follows:
cisco#configure terminal
cisco(config)#warm-reboot
cisco(config)#end

To view the configuration status of the warm reboot feature
cisco#show warm-reboot

To perform a manual warm reboot of the router
cisco#reload warm ]

[ To prevent multiple concurrent users from making configuration changes at the same time.
cisco#configure terminal
cisco(config)#configuration mode exclusive auto
cisco(config)#end

Show the status of the configuration lock by issuing the following command
Router1#show configuration lock ]

21 comments:

Anonymous said...

You have a very nice list of usefull commands here. Thanks for the couple of tricks I found here! :)

Anonymous said...

Can anyone recommend the well-priced Remote Management & Monitoring utility for a small IT service company like mine? Does anyone use Kaseya.com or GFI.com? How do they compare to these guys I found recently: N-able N-central endpoint protection
? What is your best take in cost vs performance among those three? I need a good advice please... Thanks in advance!

Anonymous said...

Hmm is anyone else encountering problems
with the images on this blog loading? I'm trying to
determine if its a problem on my end or if it's the blog.

Any feed-back would be greatly appreciated.

my site ... free xbox live codes no survey no download 2013

Anonymous said...

Hi there, just became alert to your blog through Google, and
found that it's really informative. I'm going to
watch out for brussels. I will appreciate if you continue
this in future. Numerous people will be benefited from your writing.
Cheers!

Here is my website :: buy facebook fans

Anonymous said...

you're actually a just right webmaster. The web site loading speed is incredible.
It kind of feels that you are doing any unique trick. Moreover,
The contents are masterwork. you've performed a excellent process on this topic!


Stop by my web blog - summerdrinks.net

Anonymous said...

This retro looking collection, circa 1960s, can slot in with the San Francisco city
young. Truly original might set you back about $250 their Mulberry for Target
Cerise option possibly be as terrific.

My website ...  Briefcases Bags

Anonymous said...

If you would like to grow your familiarity just keep visiting
this site and be updated ith the most recent news update
posted here.

Have a look at my web site - humidor

Anonymous said...

Hi there just wanted to give you a quick heads up. The words in
your content seem to be running off the screen in Internet
explorer. I'm not sure if this is a formatting issue
or something to do with web browser compatibility but I thought I'd post to let
you know. The layout look great though! Hope you get the issue resolved
soon. Many thanks

Here is my homepage ... Mobile Alarm Fitter

Anonymous said...

I am an absolute sucker for those great films that make us
all feel good. Become a Freelance Writer:You don't need any kind of English degree for this method.

If we attending at some of the better companies out there today, they accommodate internet companies such as
e - Bay, Google, Amazon, Yahoo and others.

Look into my web site best way to make money

Anonymous said...

Definitely believe that whicҺ you stated. Yoսг favoгite
reason appeared to be on the net the simplest tҺing to ƅe
aware of. I say to yоu, I definitely get annoyeԁ wɦile ƿeopple consider worries that they ρlainly don't know
about. You manged to hіt the nail upon the top and defineԀ out thе whole
thiing without havіng side effеct , peoρle could take a signal.
Will probably be bback to gget more. Thanks

Feel fee to visit my web site :: muscle building naturally

Anonymous said...

Cammy_ Chaturbate Private Show video 26.05.2014
Download: http://bit.ly/1lMx9aa

Tags:
Cammy_ chaturbate private show 26.05.2014,
Cammy_ dildo show 26.05.2014,
chaturbate Cammy_ video 26.05.2014,

my web-site; chaturbate Cammy_ recorded private show 26.05.2014

Anonymous said...

I read this article completely on the topic of the comparison of most
up-to-date and earlier technologies, it's amazing article.


Take a look at my homepage :: kriokomora producent

Anonymous said...

Hi there! This is my first visit to your blog! We are a collection of volunteers and starting a new initiative in a community in the same niche.
Your blog provided us valuable information to work on. You have
done a wonderful job!

my blog post :: logbook loans

Anonymous said...

When steam starts to rise from the treats quickly tap to
take them out of the oven. Each time you write, focus on creating
the best content you can. In the space of only five minutes my clothes had become
saturated.

Here is my webpage; www.iphone-game-cheats.com

Anonymous said...

Genital hpv warts could be cancerous sometimes and may lead to vaginal as
well as anal cancers in ladies. Conventional treatments (which means
a trip to the doctor or dermatologist) work when it comes to safely removing a plantar wart.
Consult your health care provider for warts that are painful, appear infected or increase in number.


My web page ... http://officialwartrolreviews.com/

Anonymous said...

Great delivery. Great arguments. Keep up the amazing effort.


my webpage; ex factor download

Anonymous said...

You could definitely see your expertise within the article you write.
The sector hopes for more passionate writers like you who aren't afraid to
mention how they believe. Always go after your heart.


My page ... start up loans for small businesses

Anonymous said...

I wanted to thank you for this good read!! I definitely enjoyed every bit
of it. I have got you saved as a favorite to look at new things you post…

Take a look at my website :: quick weight loss tips

Anonymous said...

Gооd day! I coսld have sworn I've been to your blog before but ɑfter looking at some
of the articles I realized it's new to me. Anyhow,
I'm certainly happy I discovered it and I'll be bookmarking
іt and checking back frequently!

Stop by mу page ... Yacon Syrup

Anonymous said...

Great post. I used to be checking continuously this weblog and I'm impressed!
Extremely useful info specially the closing part
:) I take care of such information much. I was looking
for this particular info for a very lengthy time.

Thank you and best of luck.

Here is my blog - aquallure

Anonymous said...

I don't even know how I ended up here, but I thought this post was good.

I don't know who you are but certainly you're going to a famous blogger if you
are not already ;) Cheers!

Also visit my blog consultorseo.co ()