09.12.2012 Views

Understanding the network.pdf - Back to Home

Understanding the network.pdf - Back to Home

Understanding the network.pdf - Back to Home

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

• Router(config)#hostname test-router<br />

• test-router(config)#no hostname test-router<br />

• Router(config)#^Z<br />

• Router#<br />

•<br />

NOTE<br />

On Cisco routers, all configuration changes are active changes, so<br />

when you make <strong>the</strong>m <strong>the</strong>y are in effect. When changes occur, <strong>the</strong>y<br />

are made <strong>to</strong> <strong>the</strong> running configuration, but <strong>the</strong>y leave <strong>the</strong> startup<br />

un<strong>to</strong>uched. If you make a major configuration mistake, just reboot<br />

<strong>the</strong> router.<br />

Notice how <strong>the</strong> router's hostname changed as soon as <strong>the</strong> command<br />

was executed.<br />

• —Reloads <strong>the</strong> startup-config in<strong>to</strong> DRAM,<br />

overwriting any changes made <strong>to</strong> <strong>the</strong> running-config that are<br />

contained in <strong>the</strong> original startup-config (just in case you made a<br />

mistake). Additional changes made <strong>to</strong> <strong>the</strong> running-config,<br />

which are not contained in <strong>the</strong> startup-config, will not be<br />

altered.<br />

• —Erases <strong>the</strong> running-config before<br />

NOTE<br />

reloading <strong>the</strong> startup-config. This returns configuration <strong>to</strong> <strong>the</strong><br />

router <strong>to</strong> its boot or last saved state.<br />

In early versions of <strong>the</strong> IOS, <strong>the</strong> command was used <strong>to</strong><br />

manipulate <strong>the</strong> router's configuration, and <strong>the</strong> command was<br />

used <strong>to</strong> save and display <strong>the</strong> configuration. In IOS version 12.x, <strong>the</strong><br />

and commands have replaced or duplicated certain<br />

operations. Here are <strong>the</strong> command equivalents:<br />

• To print <strong>the</strong> running configuration <strong>to</strong> <strong>the</strong> terminal window,<br />

use ei<strong>the</strong>r:

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!