NTC/362: Fundamentals of Networking
- Get link
- X
- Other Apps
Q: An engineer logs in to a device and wants to ensure that all of the commands that he enters are temporarily recorded in the history buffer. He is configuring a number of repetitive commands and wants to reduce the number of times these commands need to be typed. Which command would be used to ensure this behavior?
A: R1(config-line)#history size num-of-lines, R1#terminal history size num-of-lines
Explanation: Two main commands are used to configure the command history on a Cisco IOS device: terminal history size num-of-lines and history size num-of-lines. The terminal history size num-of-lines command is used in enable (EXEC) mode and configures the size of the command history buffer for the current session only. The history size num-of-lines command is used in line configuration mode (all line types) to configure the size of the command history buffer for all sessions connecting through that line.
- Get link
- X
- Other Apps
Comments
Post a Comment