Different Modes in Command Line
- > : User Mode , very restricted can only troubleshoot but cannot change configurations in this mode
- #: Priviledge Mode, can do more than troubleshooting than just reading configurations
- To go from User Mode to Priviledge type >enable and drop to #
Enchanced Editing Features
Enhanced Editing features: CTRL-A returns to the beginning of a line, CTRL-B is a backspace, CTRL H, is a destructive backspace, CTRL-P cycles through the command history, CTRL-L reloads the previous line, CTRL-K clears the line, ESC-B moves back one word at a time. Enhanced Editing is enabled by default.
ROM used by the router to store the bootstrap startup, the OS and the POST.
FLASH is an erasable ROM that holds the OS image and the microcode. Retained even if the router is turned off and is the default load.
RAM provides caching and packet buffering. Cleared when the router is turned off.
NVRAM stores the routers startup configuration file. Retains info if router is turned off.
Interfaces are located on either the motherboard or as separate modules for upgrades. If no NVRAM, the router enters the “question driven config dialog.” know as the setup mode
Executive Command Interpreter
1. User mode > is for ordinary tasks like checking status and viewing system info.
2. Privileged Mode #has both user mode commands and allows access to test, debug, and access global configurations. Enter using “en” or “enable”
CTRL+A beginning of command line.
CTRL+E end of command line.
Tab completes the entry for you.
2 Basic Configurations for each router:
1. Startup – held in NVRAM and accessed when the router is started and places config into DRAM. Type “sh startup-config” or “sh star”
2. Running – type in “config t” and you can make changes to the running configuration. When you have it set the way you want, type “copy running-config startup-config” and this new edit of the config will be the new startup config.
Erase startup-config will kill everything in NVRAM and return to the initial configuration dialog.
Virtual Terminal Password “line vty 0 4, login, password
Aux Port Password “line aux 0, login, password
Console Password “line con 0, login, password
Banner “banner motd #,
“Hostname router A, ^Z”
Change the administrative state of the router's interfaces use shutdown, and no shut.
“write erase” or “erase startup-config” then can run reload.
By default Cisco router are DTE devices, yet without a CSU/DSU to control the clocking, we can set another router to run as a DCE device and set clock rate.
What is the syntax to add a banner to a Cisco router configuration?
Banner motd #. Type in message and end with #.
What command do you use to change your enable password?
In config mode, “enable password
How do you change your enable secret password?
In config mode, “enable secret
Which of the following will change your Telnet password?
In config mode, line vty 0 4
What command can you use to copy the configuration from NVRAM into running RAM?
“copy star run” to put the config into RAM. Move new config to startup with “copy running-config startup-config”.
What is the syntax for changing the name of a Cisco router?
Hostname
To exit from privileged mode back to user mode, what do you type at the privileged mode prompt (#)?
Type disable to exit privileged mode.
What is the AUX port used for?
Modem connections for a console or a dialup connection for temporary Dial on Demand Routing (DDR).
When attaching a console cable to your router, how do you log in to user mode?
Press return, type password if prompted.
If the advanced editing feature has been disabled, how do you then enable the advance editing features?
Type “terminal editing”. However advanced editing is enabled by default. Turn off using “terminal no editing”.
CTRL+A will provide what function?
Takes the cursor to the beginning of the line for editing.
What key do you use to view the last command that was entered into a Cisco router?
CTRL-P or the up arrow will allow you to scan recent commands entered.
What key do you press to have the Cisco IOS finish typing a command for you?
TAB will complete a command word.
What does the erase startup-config command do?
Erases the startup-config. Same as wr erase. This will erase the config in the router’s NVRAM and land back into the initial config dialog.
0 Comments:
Post a Comment
<< Home