12.07.2015 Views

Cisco IOS Wide-Area Networking Configuration Guide - Free Books

Cisco IOS Wide-Area Networking Configuration Guide - Free Books

Cisco IOS Wide-Area Networking Configuration Guide - Free Books

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Using the Command-Line Interface in <strong>Cisco</strong> <strong>IOS</strong> and <strong>Cisco</strong> <strong>IOS</strong> XE SoftwareUsing the CLIEXEC commands are not saved when the software reboots. Commands that you issue in a configurationmode can be saved to the startup configuration. If you save the running configuration to the startupconfiguration, these commands will execute when the software is rebooted. Global configuration modeis the highest level of configuration mode. From global configuration mode, you can enter a variety ofother configuration modes, including protocol-specific modes.ROM monitor mode is a separate mode that is used when the software cannot load properly. If a validsoftware image is not found when the software boots or if the configuration file is corrupted at startup,the software might enter ROM monitor mode. Use the question symbol (?) to view the commands thatyou can use while the device is in ROM monitor mode.rommon 1 > ?aliasbootconfregcontcontextcookie...rommon 2 >set and display aliases commandboot up an external processconfiguration register utilitycontinue executing a downloaded imagedisplay the context of a loaded imagedisplay contents of cookie PROM in hexThe following example shows how the command prompt changes to indicate a different command mode:Router> enableRouter# configure terminalRouter(config)# interface ethernet 1/1Router(config-if)# ethernetRouter(config-line)# exitRouter(config)# endRouter#NoteA keyboard alternative to the end command is Ctrl-Z.Using the Interactive Help FeatureThe CLI includes an interactive Help feature. Table 2 describes how to use the Help feature.Table 2CLI Interactive Help CommandsCommandhelpPurposeProvides a brief description of the help feature in any command mode.? Lists all commands available for a particular command mode.partial command?partial commandcommand ?command keyword ?Provides a list of commands that begin with the character string (nospace between the command and the question mark).Completes a partial command name (no space between the commandand ).Lists the keywords, arguments, or both associated with the command(space between the command and the question mark).Lists the arguments that are associated with the keyword (space betweenthe keyword and the question mark).v

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

Saved successfully!

Ooh no, something went wrong!